1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 08:12:17 +00:00

video: fix --video-rotate in some cases

Which idiot wrote this code? [Yeah, me.]
This commit is contained in:
wm4 2018-02-18 16:21:56 +01:00
parent 4a579ad166
commit 13b90bcf91

View File

@ -181,7 +181,7 @@ static void rotate_process(struct mp_filter *f)
return; 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_ERR(f, "Video rotation with this format not supported\n");
mp_subfilter_continue(&p->sub); mp_subfilter_continue(&p->sub);
return; return;