[MPlayer-dev-eng] [PATCH] Fix vobsub_id issue
ubitux
ubitux at gmail.com
Sat Aug 14 20:28:36 CEST 2010
Hi,
Someone (under the nick of Pio) noticed an issue a while ago on #mplayer
about some VOB subtitles not appearing. He sent a mail on the m-l, but
without being registered to it, so I suppose it never arrived.
Here are the samples:
http://pio.longstair.com/misc/TheStoryOfRicky.idx
http://pio.longstair.com/misc/TheStoryOfRicky.sub
So I just had a look to it, and it seems to be introduced by the revision
31678.
I attached to this mail a small patch in order to fix that issue.
Regards,
--
ubitux
-------------- next part --------------
Index: command.c
===================================================================
--- command.c (revision 31961)
+++ command.c (working copy)
@@ -1543,7 +1543,7 @@
#endif
if (source == SUB_SOURCE_VOBSUB) {
- vobsub_id = source_pos;
+ vobsub_id = vobsub_get_id_by_index(vo_vobsub, source_pos);
} else if (source == SUB_SOURCE_SUBS) {
mpctx->set_of_sub_pos = source_pos;
#ifdef CONFIG_ASS
More information about the MPlayer-dev-eng
mailing list