Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
24d4eea9
Commit
24d4eea9
authored
Sep 12, 2019
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_v360: fix setting default height for stereographic
parent
801fd6e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vf_v360.c
libavfilter/vf_v360.c
+3
-3
No files found.
libavfilter/vf_v360.c
View file @
24d4eea9
...
...
@@ -2240,7 +2240,7 @@ static int config_output(AVFilterLink *outlink)
in_transform
=
xyz_to_stereographic
;
err
=
0
;
wf
=
inlink
->
w
;
hf
=
inlink
->
h
;
hf
=
inlink
->
h
/
2
.
f
;
break
;
default
:
av_log
(
ctx
,
AV_LOG_ERROR
,
"Specified input format is not handled.
\n
"
);
...
...
@@ -2300,8 +2300,8 @@ static int config_output(AVFilterLink *outlink)
case
STEREOGRAPHIC
:
out_transform
=
stereographic_to_xyz
;
err
=
prepare_stereographic_out
(
ctx
);
w
=
FFMAX
(
roundf
(
wf
),
roundf
(
hf
)
);
h
=
w
;
w
=
roundf
(
wf
);
h
=
roundf
(
hf
*
2
.
f
)
;
break
;
default
:
av_log
(
ctx
,
AV_LOG_ERROR
,
"Specified output format is not handled.
\n
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment