[MPlayer-cvslog] r35301 - trunk/command.c
reimar
subversion at mplayerhq.hu
Tue Oct 30 19:23:01 CET 2012
Author: reimar
Date: Tue Oct 30 19:23:01 2012
New Revision: 35301
Log:
Actually make use of max_sub_pos_for_source.
Modified:
trunk/command.c
Modified: trunk/command.c
==============================================================================
--- trunk/command.c Tue Oct 30 19:16:54 2012 (r35300)
+++ trunk/command.c Tue Oct 30 19:23:01 2012 (r35301)
@@ -1769,6 +1769,8 @@ static int mp_property_sub_by_type(m_opt
while (new_pos >= 0
&& sub_source(mpctx) != source)
new_pos--;
+ // cache for next time
+ max_sub_pos_for_source = new_pos;
}
else
new_pos = max_sub_pos_for_source;
More information about the MPlayer-cvslog
mailing list