summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_examiner.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-12-10 16:20:20 +0100
committerCarl Hetherington <cth@carlh.net>2023-12-12 15:03:23 +0100
commit9e142b4410f9b1c703f3f12ced07c45dc2a0db24 (patch)
treefb4d29912c058768119e83eab5f92917478864db /src/lib/ffmpeg_examiner.h
parent37b29fdf9028e6848470a19d189697fc58278990 (diff)
Add FFmpegExaminer::has_alpha().
Diffstat (limited to 'src/lib/ffmpeg_examiner.h')
-rw-r--r--src/lib/ffmpeg_examiner.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_examiner.h b/src/lib/ffmpeg_examiner.h
index 10d060707..4747929b5 100644
--- a/src/lib/ffmpeg_examiner.h
+++ b/src/lib/ffmpeg_examiner.h
@@ -77,6 +77,8 @@ public:
boost::optional<int> bits_per_pixel () const;
+ bool has_alpha() const;
+
boost::optional<double> rotation () const {
return _rotation;
}