1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-08 02:22:47 +00:00

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
This commit is contained in:
michael 2006-06-21 20:29:45 +00:00
parent b2d9b8a9df
commit 5dc55f21c1

View File

@ -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;