mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avfilter/vf_v360: adjust h for mercator input/output
This commit is contained in:
parent
043038ea56
commit
4ba45a95df
@ -2598,7 +2598,7 @@ static int config_output(AVFilterLink *outlink)
|
||||
s->in_transform = xyz_to_mercator;
|
||||
err = 0;
|
||||
wf = w;
|
||||
hf = h;
|
||||
hf = h / 2.f;
|
||||
break;
|
||||
case BALL:
|
||||
s->in_transform = xyz_to_ball;
|
||||
@ -2680,7 +2680,7 @@ static int config_output(AVFilterLink *outlink)
|
||||
s->out_transform = mercator_to_xyz;
|
||||
prepare_out = NULL;
|
||||
w = roundf(wf);
|
||||
h = roundf(hf);
|
||||
h = roundf(hf * 2.f);
|
||||
break;
|
||||
case BALL:
|
||||
s->out_transform = ball_to_xyz;
|
||||
|
Loading…
Reference in New Issue
Block a user