diff --git a/libmpcodecs/vf.h b/libmpcodecs/vf.h index 099135c5da..d0e3c1cba4 100644 --- a/libmpcodecs/vf.h +++ b/libmpcodecs/vf.h @@ -81,7 +81,6 @@ typedef struct vf_seteq_s #define VFCTRL_GET_EQUALIZER 8 /* gset color options (brightness,contrast etc) */ #define VFCTRL_DRAW_OSD 7 #define VFCTRL_CHANGE_RECTANGLE 9 /* Change the rectangle boundaries */ -#define VFCTRL_FLIP_PAGE 10 /* Tell the vo to flip pages */ #define VFCTRL_DUPLICATE_FRAME 11 /* For encoding - encode zero-change frame */ #define VFCTRL_SKIP_NEXT_FRAME 12 /* For encoding - drop the next frame that passes thru */ #define VFCTRL_FLUSH_FRAMES 13 /* For encoding - flush delayed frames */ diff --git a/libmpcodecs/vf_tfields.c b/libmpcodecs/vf_tfields.c index 395e55a323..28529d319b 100644 --- a/libmpcodecs/vf_tfields.c +++ b/libmpcodecs/vf_tfields.c @@ -368,8 +368,6 @@ static int continue_buffered_image(struct vf_instance *vf) ret |= vf_next_put_image(vf, dmpi, pts); if (!under_mencoder) break; - else - if (!i) vf_next_control(vf, VFCTRL_FLIP_PAGE, NULL); } break; case 1: @@ -398,8 +396,6 @@ static int continue_buffered_image(struct vf_instance *vf) ret |= vf_next_put_image(vf, dmpi, pts); if (!under_mencoder) break; - else - if (!i) vf_next_control(vf, VFCTRL_FLIP_PAGE, NULL); } break; case 2: @@ -424,8 +420,6 @@ static int continue_buffered_image(struct vf_instance *vf) ret |= vf_next_put_image(vf, dmpi, pts); if (!under_mencoder) break; - else - if (!i) vf_next_control(vf, VFCTRL_FLIP_PAGE, NULL); } break; } diff --git a/libmpcodecs/vf_vo.c b/libmpcodecs/vf_vo.c index c782a5517b..7416e5f1d4 100644 --- a/libmpcodecs/vf_vo.c +++ b/libmpcodecs/vf_vo.c @@ -94,12 +94,6 @@ static int control(struct vf_instance* vf, int request, void* data) return CONTROL_TRUE; case VFCTRL_REDRAW_OSD: return vo_control(video_out, VOCTRL_REDRAW_OSD, data) == true; - case VFCTRL_FLIP_PAGE: - { - if(!video_out->config_ok) return CONTROL_FALSE; // vo not configured? - vo_flip_page(video_out); - return CONTROL_TRUE; - } case VFCTRL_SET_EQUALIZER: { vf_equalizer_t *eq=data; diff --git a/libmpcodecs/vf_yadif.c b/libmpcodecs/vf_yadif.c index 8c73ebacef..477ea03c9b 100644 --- a/libmpcodecs/vf_yadif.c +++ b/libmpcodecs/vf_yadif.c @@ -436,8 +436,6 @@ static int continue_buffered_image(struct vf_instance *vf) ret |= vf_next_put_image(vf, dmpi, pts /*FIXME*/); if (!under_mencoder) break; - if(i<(vf->priv->mode&1)) - vf_next_control(vf, VFCTRL_FLIP_PAGE, NULL); } vf->priv->buffered_i = 1; return ret;