From 13b90bcf9172f4e550c2114ec7c02425441625ce Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 18 Feb 2018 16:21:56 +0100 Subject: video: fix --video-rotate in some cases Which idiot wrote this code? [Yeah, me.] --- filters/f_auto_filters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filters/f_auto_filters.c b/filters/f_auto_filters.c index 08a0320560..8071cb3712 100644 --- a/filters/f_auto_filters.c +++ b/filters/f_auto_filters.c @@ -181,7 +181,7 @@ static void rotate_process(struct mp_filter *f) return; } - if (mp_sws_supports_input(img->imgfmt)) { + if (!mp_sws_supports_input(img->imgfmt)) { MP_ERR(f, "Video rotation with this format not supported\n"); mp_subfilter_continue(&p->sub); return; -- cgit v1.2.3