summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-01-21 00:45:28 +0100
committerUoti Urpala <uau@glyph.nonexistent.invalid>2011-01-25 02:29:31 +0200
commit83f37b54dedcfdb07684010571137697b3955b09 (patch)
tree31fcfbf1d582c64de3e607525e5a8a241d240771 /libmpcodecs
parent23ba934ec8ff9472ea09c0668351d3384a027aae (diff)
downloadmpv-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')
-rw-r--r--libmpcodecs/vd_xvid4.c2
-rw-r--r--libmpcodecs/vf_framestep.c5
-rw-r--r--libmpcodecs/vf_tfields.c11
-rw-r--r--libmpcodecs/vf_yadif.c7
4 files changed, 8 insertions, 17 deletions
diff --git a/libmpcodecs/vd_xvid4.c b/libmpcodecs/vd_xvid4.c
index 62eab8c3ed..ee4ad93f58 100644
--- a/libmpcodecs/vd_xvid4.c
+++ b/libmpcodecs/vd_xvid4.c
@@ -1,5 +1,5 @@
/*
- * - XviD 1.x decoder module for mplayer/mencoder -
+ * - XviD 1.x decoder module for mplayer -
*
* Copyright(C) 2003 Marco Belli <elcabesa@inwind.it>
* 2003-2004 Edouard Gomez <ed.gomez@free.fr>
diff --git a/libmpcodecs/vf_framestep.c b/libmpcodecs/vf_framestep.c
index f4ded017ae..d6aad9a90a 100644
--- a/libmpcodecs/vf_framestep.c
+++ b/libmpcodecs/vf_framestep.c
@@ -14,9 +14,8 @@
* if you call the filter with the i (lowercase)
* ... -vf framestep=i ...
* then a I! followed by a cr is printed when a key frame (eg Intra frame) is
- * found, leaving the current line of mplayer/mencoder, where you got the
- * time, in seconds, and frame of the key. Use this information to split the
- * AVI.
+ * found, leaving the current line of mplayer, where you got the time, in
+ * seconds, and frame of the key. Use this information to split the AVI.
*
* After the i or alone you can put a positive number and only one frame every
* x (the number you set) is passed on the filter chain, limiting the output
diff --git a/libmpcodecs/vf_tfields.c b/libmpcodecs/vf_tfields.c
index ee50d4f6ca..52cd0b5684 100644
--- a/libmpcodecs/vf_tfields.c
+++ b/libmpcodecs/vf_tfields.c
@@ -336,8 +336,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)
{
int i=vf->priv->buffered_i;
@@ -390,8 +388,7 @@ static int continue_buffered_image(struct vf_instance *vf)
dmpi->stride[2] = 2*mpi->stride[2];
}
ret |= vf_next_put_image(vf, dmpi, pts);
- if (!under_mencoder)
- break;
+ break;
}
break;
case 1:
@@ -418,8 +415,7 @@ static int continue_buffered_image(struct vf_instance *vf)
mpi->chroma_width, mpi->chroma_height, (i^!tff));
}
ret |= vf_next_put_image(vf, dmpi, pts);
- if (!under_mencoder)
- break;
+ break;
}
break;
case 2:
@@ -442,8 +438,7 @@ static int continue_buffered_image(struct vf_instance *vf)
dmpi->stride[2], mpi->stride[2]*2, (i^!tff));
}
ret |= vf_next_put_image(vf, dmpi, pts);
- if (!under_mencoder)
- break;
+ break;
}
break;
}
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;