X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fvideo_filter_graph.h;h=ba0284fb83e7233143e08306030c14e486fedda5;hb=2d10f2ed6596cae02a6ed7321c5c79ffef4ef75b;hp=5eff1d5c4e24296319c0517f074954e48cec1a7a;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/lib/video_filter_graph.h b/src/lib/video_filter_graph.h index 5eff1d5c4..ba0284fb8 100644 --- a/src/lib/video_filter_graph.h +++ b/src/lib/video_filter_graph.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2015 Carl Hetherington + Copyright (C) 2012-2018 Carl Hetherington This file is part of DCP-o-matic. @@ -23,10 +23,10 @@ class VideoFilterGraph : public FilterGraph { public: - VideoFilterGraph (dcp::Size s, AVPixelFormat p); + VideoFilterGraph (dcp::Size s, AVPixelFormat p, dcp::Fraction r); bool can_process (dcp::Size s, AVPixelFormat p) const; - std::list, int64_t> > process (AVFrame * frame); + std::list, int64_t> > process (AVFrame * frame); protected: std::string src_parameters () const; @@ -37,4 +37,5 @@ protected: private: dcp::Size _size; ///< size of the images that this chain can process AVPixelFormat _pixel_format; ///< pixel format of the images that this chain can process + dcp::Fraction _frame_rate; };