diff command.c @ 31904:f8af1068e397

100l, re-add vobsub_get_id_by_index call accidentally removed in r31678. Patch by ubitux [ubitux gmail com].
author reimar
date Fri, 20 Aug 2010 15:48:09 +0000
parents e30fe0cb79cd
children 49848f9a8f30
line wrap: on
line diff
--- a/command.c	Thu Aug 19 23:48:19 2010 +0000
+++ b/command.c	Fri Aug 20 15:48:09 2010 +0000
@@ -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