diff mp_core.h @ 31612:7fc1f051a19f

Change global subtitle numbering scheme so that demuxers can "asynchronously" add subtitles during playback.
author reimar
date Sat, 10 Jul 2010 20:48:50 +0000
parents c593c72884bb
children 55dacfca4a43
line wrap: on
line diff
--- a/mp_core.h	Sat Jul 10 18:53:08 2010 +0000
+++ b/mp_core.h	Sat Jul 10 20:48:50 2010 +0000
@@ -110,7 +110,7 @@
     int global_sub_pos; // this encompasses all subtitle sources
     int set_of_sub_pos;
     int set_of_sub_size;
-    int global_sub_indices[SUB_SOURCES];
+    int sub_counts[SUB_SOURCES];
 #ifdef CONFIG_ASS
     // set_of_ass_tracks[i] contains subtitles from set_of_subtitles[i]
     // parsed by libass or NULL if format unsupported