comparison 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
comparison
equal deleted inserted replaced
18776:4fe83f5212fe 18777:886095ad9c0f
3938 /* printf ("PANIC: too fast frame (%.3f)!\n", j); */ 3938 /* printf ("PANIC: too fast frame (%.3f)!\n", j); */
3939 else if (j > frame_time + frame_time * FRAME_LAG_WARN) 3939 else if (j > frame_time + frame_time * FRAME_LAG_WARN)
3940 too_slow_frame_cnt++; 3940 too_slow_frame_cnt++;
3941 /* printf ("PANIC: too slow frame (%.3f)!\n", j); */ 3941 /* printf ("PANIC: too slow frame (%.3f)!\n", j); */
3942 3942
3943 if(vo_config_count) video_out->flip_page(); 3943 if(vo_config_count){
3944 if(CONTROL_OK!=((vf_instance_t *)sh_video->vfilter)->control(sh_video->vfilter, VFCTRL_FLIP_PAGE, 0))
3945 video_out->flip_page();
3946 }
3947
3944 if (play_n_frames >= 0) { 3948 if (play_n_frames >= 0) {
3945 --play_n_frames; 3949 --play_n_frames;
3946 if (play_n_frames <= 0) eof = PT_NEXT_ENTRY; 3950 if (play_n_frames <= 0) eof = PT_NEXT_ENTRY;
3947 } 3951 }
3948 3952