X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fvideo_filter_graph.h;h=19cb24e363c4b34c540fa6b8df5dcc2129bcf633;hb=5eb8b5c3a1566aef638e9d9df03b88d320735092;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..19cb24e36 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,7 +23,7 @@ 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); @@ -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; };