diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-19 00:26:27 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-19 00:26:27 +0000 |
| commit | 54c0378137091de604b8c0d6d98959b55b0cddb6 (patch) | |
| tree | bc591c0e59c5cc2ba1054c1fcc612bf73e8d6eaf /src/lib/video_decoder.h | |
| parent | 5282bd42dbe7f9c114abc6f648cb65ef52c35cf4 (diff) | |
Fix audio analysis; make sure we don't decode video and let it pile up unwanted.
Diffstat (limited to 'src/lib/video_decoder.h')
| -rw-r--r-- | src/lib/video_decoder.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/video_decoder.h b/src/lib/video_decoder.h index 4948cd8a0..5381fb21e 100644 --- a/src/lib/video_decoder.h +++ b/src/lib/video_decoder.h @@ -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 |
