[MPlayer-cvslog] r18780 - trunk/mplayer.c

michael subversion at mplayerhq.hu
Wed Jun 21 22:29:45 CEST 2006


Author: michael
Date: Wed Jun 21 22:29:45 2006
New Revision: 18780

Modified:
   trunk/mplayer.c

Log:
send flip_page() through the filter chain
ignoring the filter chain cannot and does not work with frame skip / insertion filters
if this breaks something then just reverse it, ive not exhaustively tested it ...


Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Wed Jun 21 22:29:45 2006
@@ -3940,7 +3940,11 @@
 		too_slow_frame_cnt++;
 		/* printf ("PANIC: too slow frame (%.3f)!\n", j); */
 
-	   if(vo_config_count) video_out->flip_page();
+	   if(vo_config_count){
+                if(CONTROL_OK!=((vf_instance_t *)sh_video->vfilter)->control(sh_video->vfilter, VFCTRL_FLIP_PAGE, 0))
+                    video_out->flip_page();
+           }
+
 	   if (play_n_frames >= 0) {
 	     --play_n_frames;
 	     if (play_n_frames <= 0) eof = PT_NEXT_ENTRY;



More information about the MPlayer-cvslog mailing list