[MPlayer-cvslog] r31985 - trunk/command.c

reimar subversion at mplayerhq.hu
Fri Aug 20 17:48:09 CEST 2010


Author: reimar
Date: Fri Aug 20 17:48:09 2010
New Revision: 31985

Log:
100l, re-add vobsub_get_id_by_index call accidentally removed in
r31678.
Patch by ubitux [ubitux gmail com].

Modified:
   trunk/command.c

Modified: trunk/command.c
==============================================================================
--- trunk/command.c	Fri Aug 20 01:48:19 2010	(r31984)
+++ trunk/command.c	Fri Aug 20 17:48:09 2010	(r31985)
@@ -1543,7 +1543,7 @@ static int mp_property_sub(m_option_t *p
 #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-cvslog mailing list