[MPlayer-cvslog] r20329 - trunk/mplayer.c
ptt
subversion at mplayerhq.hu
Sat Oct 21 11:32:59 CEST 2006
Author: ptt
Date: Sat Oct 21 11:32:58 2006
New Revision: 20329
Modified:
trunk/mplayer.c
Log:
applied patch for -endpos, to work without a blit_frame, pointed out by Andrew Savchenko
Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c (original)
+++ trunk/mplayer.c Sat Oct 21 11:32:58 2006
@@ -4351,6 +4351,11 @@
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;
@@ -4365,10 +4370,6 @@
too_slow_frame_cnt++;
/* printf ("PANIC: too slow frame (%.3f)!\n", j); */
- // 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(vo_config_count) video_out->flip_page();
if (play_n_frames >= 0) {
--play_n_frames;
More information about the MPlayer-cvslog
mailing list