1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

avfilter/vf_v360: mark another hemisphere not visible for flat input format

This commit is contained in:
Paul B Mahol 2020-01-25 13:26:51 +01:00
parent 8d861cd850
commit 9990cb16d3

View File

@ -1766,7 +1766,7 @@ static int xyz_to_flat(const V360Context *s,
ui = floorf(uf);
vi = floorf(vf);
visible = vi >= 0 && vi < height && ui >= 0 && ui < width;
visible = vi >= 0 && vi < height && ui >= 0 && ui < width && zf >= 0.f;
*du = uf - ui;
*dv = vf - vi;