Cleanup: make things a little clearer.
[dcpomatic.git] / src / lib / video_filter_graph.h
index fb6c7eba1162ef6b597d287843a6af880e596526..1fb322282ec9195e34da463228c231f5b17c1744 100644 (file)
@@ -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<std::pair<std::shared_ptr<Image>, int64_t>> process (AVFrame * frame);
+       std::list<std::pair<std::shared_ptr<const Image>, int64_t>> process (AVFrame * frame);
+       std::list<std::shared_ptr<const Image>> process(std::shared_ptr<const Image> 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