diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-09-04 23:14:46 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-09-05 00:25:14 +0100 |
| commit | 253c72987b333a747eeaf25509eb1ec32f484467 (patch) | |
| tree | 2918796879f83a74952a2fe6a9f07037d6d88be3 /src/lib/audio_decoder.h | |
| parent | f227d182fa5a829fdeabf9eca8f33da5ce7f4e0d (diff) | |
Don't bother with audio in the film viewer.
Diffstat (limited to 'src/lib/audio_decoder.h')
| -rw-r--r-- | src/lib/audio_decoder.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/audio_decoder.h b/src/lib/audio_decoder.h index 6cdaeeecf..d5e7c6f55 100644 --- a/src/lib/audio_decoder.h +++ b/src/lib/audio_decoder.h @@ -53,6 +53,8 @@ public: */ ContentAudio get_audio (AudioStreamPtr stream, Frame time, Frame length, bool accurate); + void set_ignore_audio (); + protected: void audio (AudioStreamPtr stream, boost::shared_ptr<const AudioBuffers>, ContentTime); void flush (); @@ -62,6 +64,7 @@ private: boost::shared_ptr<const AudioContent> _audio_content; /** An AudioDecoderStream object to manage each stream in _audio_content */ std::map<AudioStreamPtr, boost::shared_ptr<AudioDecoderStream> > _streams; + bool _ignore_audio; }; #endif |
