Mercurial > mplayer.hg
diff mplayer.c @ 18777:886095ad9c0f
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 ...
author | michael |
---|---|
date | Wed, 21 Jun 2006 20:29:45 +0000 |
parents | 93dd2847bcdc |
children | d3b0e55b0c90 |
line wrap: on
line diff
--- a/mplayer.c Wed Jun 21 19:25:45 2006 +0000 +++ b/mplayer.c Wed Jun 21 20:29:45 2006 +0000 @@ -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;