X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fvideo_filter_graph.h;h=1fb322282ec9195e34da463228c231f5b17c1744;hb=213afdc4e9399e3f2aaea3df54ab79535d43045e;hp=fb6c7eba1162ef6b597d287843a6af880e596526;hpb=7bc2134d658778e04f1756c255e604b4ab5a5831;p=dcpomatic.git diff --git a/src/lib/video_filter_graph.h b/src/lib/video_filter_graph.h index fb6c7eba1..1fb322282 100644 --- a/src/lib/video_filter_graph.h +++ b/src/lib/video_filter_graph.h @@ -28,13 +28,14 @@ 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); + std::list> process(std::shared_ptr image); 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