mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 15:52:25 +00:00
video: fix --video-rotate in some cases
Which idiot wrote this code? [Yeah, me.]
This commit is contained in:
parent
4a579ad166
commit
13b90bcf91
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user