diff options
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -4458,11 +4458,6 @@ if(time_frame>0.001 && !(vo_flags&256)) current_module="flip_page"; if (!frame_time_remaining) { - - // FIXME: add size based support for -endpos - if ( end_at.type == END_AT_TIME && end_at.pos < sh_video->pts ) - eof = PT_NEXT_ENTRY; - if(blit_frame){ unsigned int t2=GetTimer(); double tt; @@ -4513,6 +4508,11 @@ if(auto_quality>0){ set_video_quality(sh_video,output_quality); } +// FIXME: add size based support for -endpos + if (end_at.type == END_AT_TIME && + !frame_time_remaining && end_at.pos <= sh_video->pts) + eof = PT_NEXT_ENTRY; + } // end if(sh_video) //============================ Handle PAUSE =============================== |