Skip to content

Commit

Permalink
vf_vapoursynth: fix inverted sign and restore 10 bit support
Browse files Browse the repository at this point in the history
Fixes #4720, I think.
  • Loading branch information
wm4 committed Aug 7, 2017
1 parent 168ffba commit bbb5769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion video/filter/vf_vapoursynth.c
Expand Up @@ -128,7 +128,7 @@ static bool compare_fmt(int imgfmt, const struct mpvs_fmt *vs)
return false;
if (rfmt.chroma_w != vs->cw || rfmt.chroma_h != vs->ch)
return false;
if (rfmt.component_size * 8 - rfmt.component_pad != vs->bits)
if (rfmt.component_size * 8 + rfmt.component_pad != vs->bits)
return false;
if (rfmt.num_planes != 3)
return false;
Expand Down

0 comments on commit bbb5769

Please sign in to comment.