aboutsummaryrefslogtreecommitdiffhomepage
path: root/filters
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2018-02-18 16:21:56 +0100
committerGravatar wm4 <wm4@nowhere>2018-02-18 16:21:56 +0100
commit13b90bcf9172f4e550c2114ec7c02425441625ce (patch)
treebdf6a6bf8d11b44cb7109dc9c4d6b437ed47ee96 /filters
parent4a579ad16694da158c641514b39a1547fe6c7449 (diff)
video: fix --video-rotate in some cases
Which idiot wrote this code? [Yeah, me.]
Diffstat (limited to 'filters')
-rw-r--r--filters/f_auto_filters.c2
1 files changed, 1 insertions, 1 deletions
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;