Commit 9990cb16 authored by Paul B Mahol's avatar Paul B Mahol

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

parent 8d861cd8
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment