diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-21 10:25:46 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-21 10:25:46 +0100 |
| commit | 81915d4db00c333da2debd2f8e9a0c02f7a316a3 (patch) | |
| tree | 68062af342d2ef6c7a3b5aebbe7cb761bbab5372 /src/lib/player_video.h | |
| parent | 4c905330c2052cd77be09d9deb301f1fcf4b81f2 (diff) | |
wipopt-hacx
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; |
