You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/vf_v360: mark another hemisphere not visible for flat input format
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user