2015-07-09 c.hetherington <cth@carlh.net>
+ * Fix error when using DCP content with no audio channels.
+
* Stop Ctrl+A working when the content tab is not visible (#577).
2015-07-08 c.hetherington <cth@carlh.net>
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);