summaryrefslogtreecommitdiff
path: root/src/lib/player_video.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-11-06 00:01:26 +0000
committerCarl Hetherington <cth@carlh.net>2018-11-06 00:01:26 +0000
commitd759f6003067e8376899b50e5692b2bbb4e870cc (patch)
treed6c5846b2c391a663a2e096016070712f721192a /src/lib/player_video.h
parent0b3264bb9a4be0870c1f1491b54c2e0931a8f7af (diff)
Add some code to help with profiling the player.
Diffstat (limited to 'src/lib/player_video.h')
-rw-r--r--src/lib/player_video.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/player_video.h b/src/lib/player_video.h
index 11b2c8833..55a3566f0 100644
--- a/src/lib/player_video.h
+++ b/src/lib/player_video.h
@@ -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);