diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-17 21:12:27 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-17 21:12:27 +0000 |
commit | 6683b20b627967a9cf9fb8b97ce69cba2bcc44c5 (patch) | |
tree | c1fc7a42599b968b46994459ea8ee27b4fe54a55 /mplayer.c | |
parent | 4b774aacd1c1afd62cddb8dc29710a605012fdb3 (diff) | |
download | mpv-6683b20b627967a9cf9fb8b97ce69cba2bcc44c5.tar.bz2 mpv-6683b20b627967a9cf9fb8b97ce69cba2bcc44c5.tar.xz |
Make sure that -sid works even if the number of subtitles initially detected
by the demuxer is smaller. Should improve a bit problems with non-selectable
DVD/VOB subtitles.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22252 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4252,6 +4252,7 @@ if (stream->type != STREAMTYPE_DVD && stream->type != STREAMTYPE_DVDNAV) { if (demuxer->s_streams[i]) global_sub_size++; } +if (global_sub_size <= dvdsub_id) global_sub_size = dvdsub_id + 1; current_module="demux_open2"; |