diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-04-12 11:32:55 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-04-12 11:32:55 +0200 |
| commit | 3dcabe8d9c7d82f6be4790fd68db62188ce64710 (patch) | |
| tree | e23124f9d4faab4abaa2d532f2fff0d7afd1d327 /src/lib/ffmpeg_examiner.h | |
| parent | 401821e667cd4c719dc0e6e84a1fa662c8d30c86 (diff) | |
Add has_alpha() flag to VideoContent.
Diffstat (limited to 'src/lib/ffmpeg_examiner.h')
| -rw-r--r-- | src/lib/ffmpeg_examiner.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_examiner.h b/src/lib/ffmpeg_examiner.h index ad64f349d..c85a76d40 100644 --- a/src/lib/ffmpeg_examiner.h +++ b/src/lib/ffmpeg_examiner.h @@ -59,6 +59,8 @@ public: PixelQuanta pixel_quanta () const override; + bool has_alpha() const override; + AVColorRange color_range () const { return video_codec_context()->color_range; } @@ -77,7 +79,6 @@ public: boost::optional<int> bits_per_pixel () const; - bool has_alpha() const; boost::optional<double> rotation () const { return _rotation; |
