summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/player_video.h3
1 files changed, 3 insertions, 0 deletions
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<PlayerVideo> shallow_copy () const;
void set_text (PositionImage);
+ boost::optional<PositionImage> text () const {
+ return _text;
+ }
void prepare (std::function<AVPixelFormat (AVPixelFormat)> pixel_format, VideoRange video_range, bool aligned, bool fast, bool proxy_only);
std::shared_ptr<Image> image (std::function<AVPixelFormat (AVPixelFormat)> pixel_format, VideoRange video_range, bool aligned, bool fast) const;