diff options
Diffstat (limited to 'src/lib/player_video.h')
| -rw-r--r-- | src/lib/player_video.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/player_video.h b/src/lib/player_video.h index e2968749c..e27975932 100644 --- a/src/lib/player_video.h +++ b/src/lib/player_video.h @@ -75,6 +75,7 @@ public: return _text; } + bool have_image() const; void prepare (std::function<AVPixelFormat (AVPixelFormat)> pixel_format, VideoRange video_range, Image::Alignment alignment, bool fast, bool proxy_only); std::shared_ptr<Image> image (std::function<AVPixelFormat (AVPixelFormat)> pixel_format, VideoRange video_range, bool fast) const; std::shared_ptr<const Image> raw_image () const; @@ -128,6 +129,7 @@ public: private: void make_image (std::function<AVPixelFormat (AVPixelFormat)> pixel_format, VideoRange video_range, bool fast) const; + bool have_image_unlocked() const; std::shared_ptr<const ImageProxy> _in; Crop _crop; |
