Before we would stop if there was one audio stream and the first packet
was from that stream; we would not carry on to find the video.
* and a string seems a reasonably neat way to do that.
*/
string temporal_reference;
- bool carry_on_video = false;
- std::vector<bool> carry_on_audio(_audio_streams.size());
+ bool carry_on_video = has_video();
+ std::vector<bool> carry_on_audio(_audio_streams.size(), true);
while (true) {
auto packet = av_packet_alloc ();
DCPOMATIC_ASSERT (packet);