diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-01-21 00:45:28 +0100 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2011-01-25 02:29:31 +0200 |
commit | 83f37b54dedcfdb07684010571137697b3955b09 (patch) | |
tree | 31fcfbf1d582c64de3e607525e5a8a241d240771 /libmpcodecs/vf_yadif.c | |
parent | 23ba934ec8ff9472ea09c0668351d3384a027aae (diff) | |
download | mpv-83f37b54dedcfdb07684010571137697b3955b09.tar.bz2 mpv-83f37b54dedcfdb07684010571137697b3955b09.tar.xz |
cleanup: remove unused MEncoder-related code
Remove some code and variables that were no longer used after MEncoder
removal. Also remove some MEncoder references in comments.
Diffstat (limited to 'libmpcodecs/vf_yadif.c')
-rw-r--r-- | libmpcodecs/vf_yadif.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libmpcodecs/vf_yadif.c b/libmpcodecs/vf_yadif.c index 25a84ba0e7..2b2c180405 100644 --- a/libmpcodecs/vf_yadif.c +++ b/libmpcodecs/vf_yadif.c @@ -411,8 +411,6 @@ static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts){ return continue_buffered_image(vf); } -extern const int under_mencoder; - static int continue_buffered_image(struct vf_instance *vf) { mp_image_t *mpi = vf->priv->buffered_mpi; @@ -431,11 +429,10 @@ static int continue_buffered_image(struct vf_instance *vf) mpi->width,mpi->height); vf_clone_mpi_attributes(dmpi, mpi); filter(vf->priv, dmpi->planes, dmpi->stride, mpi->w, mpi->h, i ^ tff ^ 1, tff); - if (i < (vf->priv->mode & 1) && !under_mencoder) + if (i < (vf->priv->mode & 1)) vf_queue_frame(vf, continue_buffered_image); ret |= vf_next_put_image(vf, dmpi, pts /*FIXME*/); - if (!under_mencoder) - break; + break; } vf->priv->buffered_i = 1; return ret; |