From 5dc55f21c176b37c94fb2e12a9b846df94e0188f Mon Sep 17 00:00:00 2001 From: michael Date: Wed, 21 Jun 2006 20:29:45 +0000 Subject: 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 ... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18780 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mplayer.c b/mplayer.c index fd5ceef487..35cb51cfc0 100644 --- a/mplayer.c +++ b/mplayer.c @@ -3940,7 +3940,11 @@ if(time_frame>0.001 && !(vo_flags&256)){ 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; -- cgit v1.2.3