changeset 22365:baeb54a9c3e9

Seek to -ss position, not 0, in per-file loop. Fixes -ss combined with per-file loop after r22356.
author uau
date Thu, 01 Mar 2007 00:22:03 +0000
parents 522954b26e17
children ce25d75021e8
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Wed Feb 28 23:58:03 2007 +0000
+++ b/mplayer.c	Thu Mar 01 00:22:03 2007 +0000
@@ -3528,7 +3528,7 @@
     if(loop_times==1) loop_times=-1;
     play_n_frames=play_n_frames_mf;
     mpctx->eof=0;
-    abs_seek_pos=3; rel_seek_secs=0; // seek to start of movie (0%)
+    abs_seek_pos=1; rel_seek_secs=seek_to_sec;
     loop_seek = 1;
   }