/*
- Copyright (C) 2012-2017 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
*/
+
#ifndef DCPOMATIC_ENCODER_H
#define DCPOMATIC_ENCODER_H
-#include "types.h"
+
#include "player_text.h"
+#include "types.h"
#include <boost/signals2.hpp>
+
class Film;
class Encoder;
class Player;
class PlayerVideo;
class AudioBuffers;
+
/** @class Encoder
* @brief Parent class for something that can encode a film into some format
*/
/** @return the current frame rate over the last short while */
virtual boost::optional<float> current_rate () const {
- return boost::optional<float>();
+ return {};
}
/** @return the number of frames that are done */
std::shared_ptr<Player> _player;
};
+
#endif