X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fplayer_video.h;h=347d10667de69d97584a4dccb0ec9ddc1d194970;hb=23aa3071850761144798112a5aaea61304de8586;hp=8134c8d4e564715dc1f296cac4f6334bedd24806;hpb=7245e46453a82886739a45bd78fcdf9e8401367c;p=dcpomatic.git diff --git a/src/lib/player_video.h b/src/lib/player_video.h index 8134c8d4e..347d10667 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; @@ -106,6 +109,10 @@ public: return _inter_size; } + dcp::Size out_size () const { + return _out_size; + } + bool same (std::shared_ptr other) const; size_t memory_used () const;