Ticket #4976: bug4976.diff
File bug4976.diff, 1.1 KB (added by , 16 years ago) |
---|
-
libs/libmythtv/avformatdecoder.cpp
2824 2824 if ((ctrack >= 0) && (ctrack < (int)numStreams)) 2825 2825 return ctrack; // audio already selected 2826 2826 2827 #if 02827 #if 1 2828 2828 // enable this to print streams 2829 2829 for (uint i = 0; i < atracks.size(); i++) 2830 2830 { … … 2839 2839 AudioInfo item(codec_ctx->codec_id, 2840 2840 codec_ctx->sample_rate, codec_ctx->channels, 2841 2841 do_ac3_passthru || do_dts_passthru); 2842 VERBOSE(VB_AUDIO, LOC + " * " + item.toString() );2842 VERBOSE(VB_AUDIO, LOC + " * " + item.toString() + QString("langid=%1 lang_idx=%2").arg(atracks[i].language).arg(atracks[i].language_index)); 2843 2843 } 2844 2844 #endif 2845 2845 … … 2876 2876 if (wlang == atracks[i].language) 2877 2877 selTrack = i; 2878 2878 2879 if (windx == atracks[i].language_index)2880 break;2879 // if (windx == atracks[i].language_index) 2880 // break; 2881 2881 } 2882 2882 } 2883 2883