summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_dlopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/filter/vf_dlopen.c')
-rw-r--r--video/filter/vf_dlopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf_dlopen.c b/video/filter/vf_dlopen.c
index 323f5231ee..81d924ca40 100644
--- a/video/filter/vf_dlopen.c
+++ b/video/filter/vf_dlopen.c
@@ -240,7 +240,7 @@ static int query_format(struct vf_instance *vf, unsigned int fmt)
{
if (IMGFMT_IS_HWACCEL(fmt))
return 0; // these can't really be filtered
- if (fmt == IMGFMT_RGB8 || fmt == IMGFMT_BGR8)
+ if (fmt == IMGFMT_PAL8)
return 0; // we don't have palette support, sorry
const char *fmtname = mp_imgfmt_to_name(fmt);
if (!fmtname)