diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-06-22 01:47:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-06-22 01:47:28 +0100 |
| commit | 76f83b97c401c24b3c93baee0665e84be05f43ea (patch) | |
| tree | 75e7f3e87f3721c8ac4c55ac6bc9559556954987 /src/lib/dcp_content.cc | |
| parent | 5e9e59e044fe3b51352d5dccad7f11882c6a571c (diff) | |
Set AudioDecoder::fast a different way.
Diffstat (limited to 'src/lib/dcp_content.cc')
| -rw-r--r-- | src/lib/dcp_content.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc index 295f33b3c..ca809df61 100644 --- a/src/lib/dcp_content.cc +++ b/src/lib/dcp_content.cc @@ -332,7 +332,7 @@ DCPContent::reels () const list<DCPTimePeriod> p; scoped_ptr<DCPDecoder> decoder; try { - decoder.reset (new DCPDecoder (shared_from_this(), film()->log(), false)); + decoder.reset (new DCPDecoder (shared_from_this(), film()->log())); } catch (...) { /* Could not load the DCP; guess reels */ list<DCPTimePeriod> p; @@ -403,7 +403,7 @@ DCPContent::can_reference_video (list<string>& why_not) const bool DCPContent::can_reference_audio (list<string>& why_not) const { - DCPDecoder decoder (shared_from_this(), film()->log(), false); + DCPDecoder decoder (shared_from_this(), film()->log()); BOOST_FOREACH (shared_ptr<dcp::Reel> i, decoder.reels()) { if (!i->main_sound()) { why_not.push_back (_("The DCP does not have sound in all reels.")); @@ -417,7 +417,7 @@ DCPContent::can_reference_audio (list<string>& why_not) const bool DCPContent::can_reference_subtitle (list<string>& why_not) const { - DCPDecoder decoder (shared_from_this(), film()->log(), false); + DCPDecoder decoder (shared_from_this(), film()->log()); BOOST_FOREACH (shared_ptr<dcp::Reel> i, decoder.reels()) { if (!i->main_subtitle()) { why_not.push_back (_("The DCP does not have subtitles in all reels.")); |
