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:
parent
8d861cd850
commit
9990cb16d3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user