summaryrefslogtreecommitdiffstats
path: root/mencoder.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-14 10:47:34 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-14 10:47:34 +0000
commitbc4ed379352cf114f51ebd0cc63726108a79ffdc (patch)
treeb48c54c71583b15e1bb19d867824589ceb00ddfb /mencoder.c
parentfda754a0bbd20da2da3f6c6158f0971e7c671315 (diff)
downloadmpv-bc4ed379352cf114f51ebd0cc63726108a79ffdc.tar.bz2
mpv-bc4ed379352cf114f51ebd0cc63726108a79ffdc.tar.xz
reversed -ss behaviour (you have to use teh same -ss for all passes)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7395 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mencoder.c')
-rw-r--r--mencoder.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mencoder.c b/mencoder.c
index 21cf3ae57c..6b71265ae5 100644
--- a/mencoder.c
+++ b/mencoder.c
@@ -842,7 +842,11 @@ if (seek_to_sec) {
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)