mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 23:02:37 +00:00
vf_vapoursynth: fix inverted sign and restore 10 bit support
Fixes #4720, I think.
This commit is contained in:
parent
168ffbaf23
commit
bbb57694b0
@ -128,7 +128,7 @@ static bool compare_fmt(int imgfmt, const struct mpvs_fmt *vs)
|
|||||||
return false;
|
return false;
|
||||||
if (rfmt.chroma_w != vs->cw || rfmt.chroma_h != vs->ch)
|
if (rfmt.chroma_w != vs->cw || rfmt.chroma_h != vs->ch)
|
||||||
return false;
|
return false;
|
||||||
if (rfmt.component_size * 8 - rfmt.component_pad != vs->bits)
|
if (rfmt.component_size * 8 + rfmt.component_pad != vs->bits)
|
||||||
return false;
|
return false;
|
||||||
if (rfmt.num_planes != 3)
|
if (rfmt.num_planes != 3)
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user