diff subreader.c @ 24571:402b68e1a3bb

Revert r24103, it was nonsense and add a comment that explains the code
author reimar
date Sat, 22 Sep 2007 13:24:58 +0000
parents a2e0a85cdf71
children e36efda34616
line wrap: on
line diff
--- a/subreader.c	Sat Sep 22 08:40:02 2007 +0000
+++ b/subreader.c	Sat Sep 22 13:24:58 2007 +0000
@@ -1255,7 +1255,9 @@
 		 */
 
 		/* 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;
 		}