summaryrefslogtreecommitdiff
path: root/src/lib/audio_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-09-09 22:00:09 +0100
committerCarl Hetherington <cth@carlh.net>2015-09-09 22:00:09 +0100
commit43494601da412259814fdb1345950329cc4aa849 (patch)
tree4c7d5fb8038998753862bab0b7192109786996de /src/lib/audio_decoder.cc
parent70aaee5bb3fd57ae749357b72f7afb655fd643e6 (diff)
parentcb3d1d6eda4c798263e86c60c571fbfbeb025acd (diff)
Merge branch '2.0' of ssh://git.carlh.net/home/carl/git/dcpomatic2 into 2.0
Diffstat (limited to 'src/lib/audio_decoder.cc')
-rw-r--r--src/lib/audio_decoder.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/audio_decoder.cc b/src/lib/audio_decoder.cc
index 268a9d296..2944357ba 100644
--- a/src/lib/audio_decoder.cc
+++ b/src/lib/audio_decoder.cc
@@ -30,9 +30,10 @@ using std::cout;
using std::map;
using boost::shared_ptr;
-AudioDecoder::AudioDecoder (shared_ptr<const AudioContent> content)
+AudioDecoder::AudioDecoder (shared_ptr<const AudioContent> content, bool fast)
: _audio_content (content)
, _ignore_audio (false)
+ , _fast (fast)
{
BOOST_FOREACH (AudioStreamPtr i, content->audio_streams ()) {
_streams[i] = shared_ptr<AudioDecoderStream> (new AudioDecoderStream (_audio_content, i, this));