diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/player.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc index 1a008eebb..328920549 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -449,6 +449,11 @@ Player::get_audio (DCPTime time, DCPTime length, bool accurate) BOOST_FOREACH (AudioStreamPtr j, content->audio_streams ()) { + if (j->channels() == 0) { + /* Some content (e.g. DCPs) can have streams with no channels */ + continue; + } + /* Audio from this piece's decoder stream (which might be more or less than what we asked for) */ ContentAudio all = decoder->get_audio (j, content_frame, request_frames, accurate); |
