[Mplayer-cvslog] CVS: main mencoder.c,1.158,1.159

Arpi of Ize arpi at mplayerhq.hu
Sat Sep 14 12:47:51 CEST 2002


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv6410

Modified Files:
	mencoder.c 
Log Message:
reversed -ss behaviour (you have to use teh same -ss for all passes)


Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -r1.158 -r1.159
--- mencoder.c	10 Sep 2002 23:19:20 -0000	1.158
+++ mencoder.c	14 Sep 2002 10:47:34 -0000	1.159
@@ -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) 




More information about the MPlayer-cvslog mailing list