X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fplayer_video.h;fp=src%2Flib%2Fplayer_video.h;h=553d3c5bc756f52b10e4806b31bc6b742fac2f8f;hb=4bbcf55dc0e644c20b1eaabee2da3219c4e7635f;hp=8134c8d4e564715dc1f296cac4f6334bedd24806;hpb=6cac49dc50dae6b173135df101d532f20031ca70;p=dcpomatic.git diff --git a/src/lib/player_video.h b/src/lib/player_video.h index 8134c8d4e..553d3c5bc 100644 --- a/src/lib/player_video.h +++ b/src/lib/player_video.h @@ -70,6 +70,9 @@ public: std::shared_ptr shallow_copy () const; void set_text (PositionImage); + boost::optional text () const { + return _text; + } void prepare (std::function pixel_format, VideoRange video_range, bool aligned, bool fast, bool proxy_only); std::shared_ptr image (std::function pixel_format, VideoRange video_range, bool aligned, bool fast) const;