avfilter_graph_parse frees inputs and outputs passed in, so we should not.
[dcpomatic.git] / src / lib / player_video.h
index 1468b78637e23f1fd753a51c4eccec7baf16dc45..c4537f713432907376756669fff488d813152b8f 100644 (file)
@@ -28,7 +28,6 @@ extern "C" {
 
 class Image;
 class ImageProxy;
-class Scaler;
 class Socket;
 class EncodedData;
 
@@ -46,7 +45,6 @@ public:
                boost::optional<float>,
                dcp::Size,
                dcp::Size,
-               Scaler const *,
                Eyes,
                Part,
                boost::optional<ColourConversion>
@@ -56,7 +54,7 @@ public:
 
        void set_subtitle (PositionImage);
        
-       boost::shared_ptr<Image> image (AVPixelFormat pix_fmt, bool burn_subtitle) const;
+       boost::shared_ptr<Image> image (AVPixelFormat pix_fmt, bool burn_subtitle, dcp::NoteHandler note) const;
 
        void add_metadata (xmlpp::Node* node, bool send_subtitles) const;
        void send_binary (boost::shared_ptr<Socket> socket, bool send_subtitles) const;
@@ -93,7 +91,6 @@ private:
        boost::optional<float> _fade;
        dcp::Size _inter_size;
        dcp::Size _out_size;
-       Scaler const * _scaler;
        Eyes _eyes;
        Part _part;
        boost::optional<ColourConversion> _colour_conversion;