summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_dlopen.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_dlopen.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_dlopen.c')
-rw-r--r--libmpcodecs/vf_dlopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/vf_dlopen.c b/libmpcodecs/vf_dlopen.c
index 71da4f1636..183b31be84 100644
--- a/libmpcodecs/vf_dlopen.c
+++ b/libmpcodecs/vf_dlopen.c
@@ -281,7 +281,7 @@ static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts)
static int query_format(struct vf_instance *vf, unsigned int fmt)
{
- if (IMGFMT_IS_HWACCEL(fmt) || fmt == IMGFMT_MJPEG || fmt == IMGFMT_MPEGPES)
+ if (IMGFMT_IS_HWACCEL(fmt))
return 0; // these can't really be filtered
if (fmt == IMGFMT_RGB8 || fmt == IMGFMT_BGR8)
return 0; // we don't have palette support, sorry