#define DCPOMATIC_PLAYER_VIDEO_H
#include "types.h"
+#include "piece.h"
#include "position.h"
#include "dcpomatic_time.h"
#include "colour_conversion.h"
Part,
boost::optional<ColourConversion>,
VideoRange video_range,
- boost::weak_ptr<Content>,
+ boost::weak_ptr<Piece>,
boost::optional<Frame>,
bool error
);
size_t memory_used () const;
- boost::weak_ptr<Content> content () const {
- return _content;
+ boost::weak_ptr<Piece> piece () const {
+ return _piece;
}
bool error () const {
boost::optional<ColourConversion> _colour_conversion;
VideoRange _video_range;
boost::optional<PositionImage> _text;
- /** Content that we came from. This is so that reset_metadata() can work. */
- boost::weak_ptr<Content> _content;
+ /** Piece that we came from. This is so that reset_metadata() can work. */
+ */
+ boost::weak_ptr<Piece> _piece;
/** Video frame that we came from. Again, this is for reset_metadata() */
boost::optional<Frame> _video_frame;