Seek to -ss position, not 0, in per-file loop.

Fixes -ss combined with per-file loop after r22356.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22383 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
uau 2007-03-01 00:22:03 +00:00
parent 744c75ee7f
commit b07b695aa0
1 changed files with 1 additions and 1 deletions

View File

@ -3528,7 +3528,7 @@ if(step_sec>0) {
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;
}