Ticket #8900: mythtv_default.patch
File mythtv_default.patch, 783 bytes (added by , 15 years ago) |
---|
-
libs/libmythtv/avformatdecoder.cpp
3666 3666 int selTrack = (1 == numStreams) ? 0 : -1; 3667 3667 int wlang = wtrack.language; 3668 3668 3669 if (selTrack < 0 && numStreams) 3670 { 3671 VERBOSE(VB_AUDIO, LOC + "Trying to select default track"); 3672 for (uint i = 0; i < atracks.size(); i++) { 3673 int idx = atracks[i].av_stream_index; 3674 if (ic->streams[idx]->disposition & AV_DISPOSITION_DEFAULT) { 3675 selTrack = i; 3676 break; 3677 } 3678 } 3679 } 3680 3669 3681 if ((selTrack < 0) && (wtrack.av_substream_index >= 0)) 3670 3682 { 3671 3683 VERBOSE(VB_AUDIO, LOC + "Trying to reselect audio sub-stream");