From 65b331d32c383f3a9049f29bf03ab3fe3193b31a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 14 Apr 2016 01:01:28 +0100 Subject: Split audio; builds. --- src/lib/audio_decoder.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lib/audio_decoder.cc') diff --git a/src/lib/audio_decoder.cc b/src/lib/audio_decoder.cc index 2944357ba..705fdbef1 100644 --- a/src/lib/audio_decoder.cc +++ b/src/lib/audio_decoder.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2015 Carl Hetherington + Copyright (C) 2012-2016 Carl Hetherington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,13 +30,13 @@ using std::cout; using std::map; using boost::shared_ptr; -AudioDecoder::AudioDecoder (shared_ptr content, bool fast) +AudioDecoder::AudioDecoder (shared_ptr content, bool fast, shared_ptr log) : _audio_content (content) , _ignore_audio (false) , _fast (fast) { - BOOST_FOREACH (AudioStreamPtr i, content->audio_streams ()) { - _streams[i] = shared_ptr (new AudioDecoderStream (_audio_content, i, this)); + BOOST_FOREACH (AudioStreamPtr i, content->streams ()) { + _streams[i] = shared_ptr (new AudioDecoderStream (_audio_content, i, this, log)); } } -- cgit v1.2.3