changeset 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 2ab48a4978d4
children 6c914242277b
files subreader.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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;
 		}