Add bits per pixel to video content properties.
[dcpomatic.git] / src / lib / ffmpeg_examiner.h
index f2bdea0c29374495107a14103e10066c0defa64d..795a9c6ff7aa189ff1982ebaaa2dd56dbf559a30 100644 (file)
@@ -21,6 +21,8 @@
 #include "video_examiner.h"
 #include <boost/optional.hpp>
 
+class AVStream;
+
 class FFmpegAudioStream;
 class FFmpegSubtitleStream;
 
@@ -62,6 +64,8 @@ public:
                return video_codec_context()->colorspace;
        }
 
+       int bits_per_pixel () const;
+
 private:
        void video_packet (AVCodecContext *);
        void audio_packet (AVCodecContext *, boost::shared_ptr<FFmpegAudioStream>);