changeset 7394:e5e2243a3adb

reversed -ss behaviour (you have to use teh same -ss for all passes)
author arpi
date Sat, 14 Sep 2002 10:47:34 +0000
parents 52b29760fe95
children b82a3eb66d60
files mencoder.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mencoder.c	Fri Sep 13 22:39:48 2002 +0000
+++ b/mencoder.c	Sat Sep 14 10:47:34 2002 +0000
@@ -842,7 +842,11 @@
         sscanf(seek_to_sec, "%f", &d);
 
     demux_seek(demuxer, d, 1);
-    if(demuxer2) demux_seek(demuxer2, d, 1);
+//  there is 2 way to handle the -ss option in 3-pass mode:
+// > 1. do the first pass for the whole file, and use -ss for 2nd/3rd pases only
+// > 2. do all the 3 passes with the same -ss value
+//  this line enables behaviour 1. (and kills 2. at the same time):
+//    if(demuxer2) demux_seek(demuxer2, d, 1);
 }
 
 if(tv_param_on == 1)