Improve ratings dialog to allow only valid values (#2199).
[dcpomatic.git] / src / lib / ffmpeg_examiner.h
index 793460f9b11b7dfc777e502914ee5f976c64f2cf..36efc92b1b6e1090aa1db490404795cf028bca2f 100644 (file)
@@ -57,6 +57,8 @@ public:
 
        VideoRange range () const;
 
+       PixelQuanta pixel_quanta () const;
+
        AVColorRange color_range () const {
                return video_codec_context()->color_range;
        }
@@ -89,7 +91,7 @@ private:
 
        std::string stream_name (AVStream* s) const;
        std::string subtitle_stream_name (AVStream* s) const;
-       boost::optional<dcpomatic::ContentTime> frame_time (AVStream* s) const;
+       boost::optional<dcpomatic::ContentTime> frame_time (AVFrame* frame, AVStream* stream) const;
 
        std::vector<std::shared_ptr<FFmpegSubtitleStream>> _subtitle_streams;
        std::vector<std::shared_ptr<FFmpegAudioStream>> _audio_streams;