X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ffilter_graph.h;h=8a8dd9a30e4da857fc46ccff6f649ad53aa8669f;hb=bdbe925a467f9b7149322ad8d1c090d4c1e6d5c3;hp=45ad5d99874a0ef5c95b21c045a8fd6dd9520a24;hpb=4616b19fb5241a54c9d57f7a91bb975f41aed14b;p=dcpomatic.git diff --git a/src/lib/filter_graph.h b/src/lib/filter_graph.h index 45ad5d998..8a8dd9a30 100644 --- a/src/lib/filter_graph.h +++ b/src/lib/filter_graph.h @@ -26,8 +26,9 @@ #include "util.h" +struct AVFilterContext; +struct AVFrame; class Image; -class VideoFilter; class FFmpegContent; /** @class FilterGraph @@ -43,6 +44,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