Hand-apply c7ce6fcf9bc6b5b1f6d823b7df256f43fefd660c; add a note to the
[dcpomatic.git] / src / lib / video_decoder.h
index 4948cd8a0bc5afde2a250ea273e3187f110b0886..5381fb21ec72a83717ca9b6f7e3368532cb3d48b 100644 (file)
@@ -49,6 +49,8 @@ public:
                return _video_content;
        }
 
+       void set_ignore_video ();
+
 #ifdef DCPOMATIC_DEBUG
        int test_gaps;
 #endif
@@ -68,6 +70,9 @@ protected:
        boost::shared_ptr<Image> _black_image;
        boost::optional<ContentTime> _last_seek_time;
        bool _last_seek_accurate;
+
+       /** true if this decoder should ignore all video; i.e. never produce any */
+       bool _ignore_video;
 };
 
 #endif