summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-10-22 22:52:22 +0200
committerwm4 <wm4@nowhere>2012-10-22 22:52:22 +0200
commit8bf4a60bbee3878e7e6b1366bf296cf8d3eedc8f (patch)
treebd578354d85cd66cf86de112bf11b9f2c78e0ae0 /libmpcodecs/vf.c
parent022517bdf5a1fc484096217bac8c7d7fbc78fa7b (diff)
downloadmpv-8bf4a60bbee3878e7e6b1366bf296cf8d3eedc8f.tar.bz2
mpv-8bf4a60bbee3878e7e6b1366bf296cf8d3eedc8f.tar.xz
VF: remove IMGFMT_MPEGPES
This wasn't used anymore. Remove the reference to IMGFMT_MJPEG in vf_dlopen as well. Thus format is used as FourCC in the TV code (i.e. it's on the demuxer level, just like raw formats), and never appears in the video filter chain. For starters, vd_ffmpeg can never produce this format.
Diffstat (limited to 'libmpcodecs/vf.c')
-rw-r--r--libmpcodecs/vf.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libmpcodecs/vf.c b/libmpcodecs/vf.c
index 8cf6002246..6ec932445a 100644
--- a/libmpcodecs/vf.c
+++ b/libmpcodecs/vf.c
@@ -363,11 +363,8 @@ mp_image_t *vf_get_image(vf_instance_t *vf, unsigned int outfmt,
//============================================================================
-// By default vf doesn't accept MPEGPES
static int vf_default_query_format(struct vf_instance *vf, unsigned int fmt)
{
- if (fmt == IMGFMT_MPEGPES)
- return 0;
return vf_next_query_format(vf, fmt);
}