X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ffilter_graph.h;h=6a520300b22af2c23b891dde36eb09b56a36b551;hb=14e4bc18e65378332604016bd6239861a083d5bf;hp=45ad5d99874a0ef5c95b21c045a8fd6dd9520a24;hpb=f0edd6ab35c3c2b7800a26ec8206adab75e5f633;p=dcpomatic.git diff --git a/src/lib/filter_graph.h b/src/lib/filter_graph.h index 45ad5d998..6a520300b 100644 --- a/src/lib/filter_graph.h +++ b/src/lib/filter_graph.h @@ -26,8 +26,8 @@ #include "util.h" +struct AVFilterContext; class Image; -class VideoFilter; class FFmpegContent; /** @class FilterGraph @@ -43,6 +43,8 @@ public: std::list, int64_t> > process (AVFrame * frame); private: + /** true if this graph has no filters in, so it just copies stuff straight through */ + bool _copy; AVFilterContext* _buffer_src_context; AVFilterContext* _buffer_sink_context; dcp::Size _size; ///< size of the images that this chain can process