mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 23:00:41 +00:00
Fix r26032: wrong sub stream id assigned to dvdsub_id.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26046 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c864f4de9e
commit
0a168fb8e0
@ -438,7 +438,7 @@ static void handle_stream(demuxer_t *demuxer, AVFormatContext *avfc, int i) {
|
||||
if (demuxer->sub->id == -1
|
||||
|| (demuxer->sub->id == -2 && (dvdsub_lang && st->language[0] && !strncmp(dvdsub_lang, st->language, 3)))
|
||||
|| demuxer->sub->id == priv->sub_streams) {
|
||||
dvdsub_id = i;
|
||||
dvdsub_id = priv->sub_streams;
|
||||
demuxer->sub->id = priv->sub_streams;
|
||||
demuxer->sub->sh = sh_sub;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user