Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
498864fe
Commit
498864fe
authored
Apr 04, 2017
by
James Almer
Committed by
Vittorio Giovara
Apr 27, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dump: use av_spherical_projection_name() to print spherical projection names
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
ad52eef9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
dump.c
libavformat/dump.c
+1
-10
No files found.
libavformat/dump.c
View file @
498864fe
...
@@ -317,16 +317,7 @@ static void dump_spherical(void *ctx, AVCodecParameters *par, AVPacketSideData *
...
@@ -317,16 +317,7 @@ static void dump_spherical(void *ctx, AVCodecParameters *par, AVPacketSideData *
return
;
return
;
}
}
if
(
spherical
->
projection
==
AV_SPHERICAL_EQUIRECTANGULAR
)
av_log
(
ctx
,
AV_LOG_INFO
,
"%s "
,
av_spherical_projection_name
(
spherical
->
projection
));
av_log
(
ctx
,
AV_LOG_INFO
,
"equirectangular "
);
else
if
(
spherical
->
projection
==
AV_SPHERICAL_CUBEMAP
)
av_log
(
ctx
,
AV_LOG_INFO
,
"cubemap "
);
else
if
(
spherical
->
projection
==
AV_SPHERICAL_EQUIRECTANGULAR_TILE
)
av_log
(
ctx
,
AV_LOG_INFO
,
"tiled equirectangular "
);
else
{
av_log
(
ctx
,
AV_LOG_WARNING
,
"unknown"
);
return
;
}
yaw
=
((
double
)
spherical
->
yaw
)
/
(
1
<<
16
);
yaw
=
((
double
)
spherical
->
yaw
)
/
(
1
<<
16
);
pitch
=
((
double
)
spherical
->
pitch
)
/
(
1
<<
16
);
pitch
=
((
double
)
spherical
->
pitch
)
/
(
1
<<
16
);
...
...
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