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:
parent
4a579ad166
commit
13b90bcf91
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user