From 3dcabe8d9c7d82f6be4790fd68db62188ce64710 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 12 Apr 2025 11:32:55 +0200 Subject: Add has_alpha() flag to VideoContent. --- src/lib/ffmpeg_examiner.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/ffmpeg_examiner.h') 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 bits_per_pixel () const; - bool has_alpha() const; boost::optional rotation () const { return _rotation; -- cgit v1.2.3