mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 22:37:28 +01:00
Fix for bugzilla #835
1) set audio language preferences (on command line or in ~/.mplayer/config). (say, alang = Japanese[jpn],ja,jp,jpn,English[eng],en,eng,ko,ru,rus) 2) play a transport stream whose audio streams are not labeled -> no audio Patch by Sergey Svishchev >>> svs - ropnet ru <<< on bugzilla Blessed by nicodvb git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23855 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
cdbbd50565
commit
4b2b42adfa
@ -698,7 +698,7 @@ static off_t ts_detect_streams(demuxer_t *demuxer, tsdemux_init_t *param)
|
||||
if(! chosen_pid)
|
||||
continue;
|
||||
}
|
||||
else if(param->alang[0] > 0)
|
||||
else if(param->alang[0] > 0 && es.lang[0] > 0)
|
||||
{
|
||||
if(pid_match_lang(priv, es.pid, param->alang) == -1)
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user