X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fvideo_filter_graph.h;h=d887e551bda8e586b5bcedd67137048b0ca6a019;hb=2e2f11b29651cffe37c64275dbd45c7563310020;hp=19cb24e363c4b34c540fa6b8df5dcc2129bcf633;hpb=255562e13056c967ca969d6762024166500d8038;p=dcpomatic.git diff --git a/src/lib/video_filter_graph.h b/src/lib/video_filter_graph.h index 19cb24e36..d887e551b 100644 --- a/src/lib/video_filter_graph.h +++ b/src/lib/video_filter_graph.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2018 Carl Hetherington + Copyright (C) 2012-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,21 +18,23 @@ */ + #include "filter_graph.h" + class VideoFilterGraph : public FilterGraph { public: 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; - std::string src_name () const; - void* sink_parameters () const; - std::string sink_name () const; + std::string src_parameters () const override; + std::string src_name () const override; + void set_parameters (AVFilterContext* context) const override; + std::string sink_name () const override; private: dcp::Size _size; ///< size of the images that this chain can process