[MPlayer-cvslog] r24591 - trunk/subreader.c

reimar subversion at mplayerhq.hu
Sat Sep 22 15:24:58 CEST 2007


Author: reimar
Date: Sat Sep 22 15:24:58 2007
New Revision: 24591

Log:
Revert r24103, it was nonsense and add a comment that explains the code


Modified:
   trunk/subreader.c

Modified: trunk/subreader.c
==============================================================================
--- trunk/subreader.c	(original)
+++ trunk/subreader.c	Sat Sep 22 15:24:58 2007
@@ -1255,7 +1255,9 @@ static void adjust_subs_time(subtitle* s
 		 */
 
 		/* timed sub fps correction ::atmos */
-		if(sub_fps) {	
+		/* the frame-based case is handled in mpcommon.c
+		 * where find_sub is called */
+		if(sub_uses_time && sub_fps) {	
 			sub->start *= sub_fps/fps;
 			sub->end   *= sub_fps/fps;
 		}



More information about the MPlayer-cvslog mailing list