summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-06-21 20:29:45 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-06-21 20:29:45 +0000
commit5dc55f21c176b37c94fb2e12a9b846df94e0188f (patch)
tree180689983947c562bbb09448cb5440715b27003e /mplayer.c
parentb2d9b8a9dfb37d21d948aacd0815bf7e90faaf69 (diff)
downloadmpv-5dc55f21c176b37c94fb2e12a9b846df94e0188f.tar.bz2
mpv-5dc55f21c176b37c94fb2e12a9b846df94e0188f.tar.xz
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
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c6
1 files changed, 5 insertions, 1 deletions
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;