diff options
author | wm4 <wm4@nowhere> | 2017-06-29 21:30:10 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-06-29 21:30:10 +0200 |
commit | 300f6a334498059f28ec63406112348c7e00fa64 (patch) | |
tree | 955e8139ad77c0423c4db6780f35524c961664c9 /video/filter/vf_eq.c | |
parent | af5a71f52ec9191aa20b602e3764d225b5d5029d (diff) | |
download | mpv-300f6a334498059f28ec63406112348c7e00fa64.tar.bz2 mpv-300f6a334498059f28ec63406112348c7e00fa64.tar.xz |
video: drop some more IMGFMT aliases
For vo_opengl and vo_direct3d, these are supported in a generic way.
For vf_vapoursynth, we could probably map its VSFormat struct in a
generic way, but for now do some bullshit.
vf_eq.c actually loses support for these formats. We could add generic
support too (anything that has 8 bit planes will work), but why bother.
The filter is deprecated anyway.
Diffstat (limited to 'video/filter/vf_eq.c')
-rw-r--r-- | video/filter/vf_eq.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/video/filter/vf_eq.c b/video/filter/vf_eq.c index 9be749a1de..6344cef0e0 100644 --- a/video/filter/vf_eq.c +++ b/video/filter/vf_eq.c @@ -364,11 +364,7 @@ int query_format (vf_instance_t *vf, unsigned fmt) switch (fmt) { case IMGFMT_Y8: case IMGFMT_444P: - case IMGFMT_422P: - case IMGFMT_440P: case IMGFMT_420P: - case IMGFMT_411P: - case IMGFMT_410P: return vf_next_query_format (vf, fmt); } |