Add some code to help with profiling the player.
[dcpomatic.git] / src / lib / player_video.h
index 11b2c88330512b96ddc205ee104fc87237eab5cc..55a3566f0ae8e4e3e9449858a2f94c300581b380 100644 (file)
@@ -63,7 +63,7 @@ public:
        void set_text (PositionImage);
 
        void prepare ();
-       boost::shared_ptr<Image> image (dcp::NoteHandler note, boost::function<AVPixelFormat (AVPixelFormat)> pixel_format, bool aligned, bool fast) const;
+       boost::shared_ptr<Image> image (boost::optional<dcp::NoteHandler> note, boost::function<AVPixelFormat (AVPixelFormat)> pixel_format, bool aligned, bool fast) const;
 
        static AVPixelFormat always_rgb (AVPixelFormat);
        static AVPixelFormat keep_xyz_or_rgb (AVPixelFormat);