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
8e757716
Commit
8e757716
authored
Apr 21, 2016
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avprobe: Print stereo3d information
parent
0c4468dc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
avprobe.c
avprobe.c
+12
-0
No files found.
avprobe.c
View file @
8e757716
...
...
@@ -27,6 +27,7 @@
#include "libavutil/display.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libavutil/stereo3d.h"
#include "libavutil/dict.h"
#include "libavutil/libm.h"
#include "libavdevice/avdevice.h"
...
...
@@ -723,9 +724,12 @@ static void show_stream(InputFile *ifile, InputStream *ist)
if
(
stream
->
nb_side_data
)
{
int
i
,
j
;
probe_object_header
(
"sidedata"
);
for
(
i
=
0
;
i
<
stream
->
nb_side_data
;
i
++
)
{
const
AVPacketSideData
*
sd
=
&
stream
->
side_data
[
i
];
AVStereo3D
*
stereo
;
switch
(
sd
->
type
)
{
case
AV_PKT_DATA_DISPLAYMATRIX
:
probe_object_header
(
"displaymatrix"
);
...
...
@@ -737,6 +741,14 @@ static void show_stream(InputFile *ifile, InputStream *ist)
av_display_rotation_get
((
int32_t
*
)
sd
->
data
));
probe_object_footer
(
"displaymatrix"
);
break
;
case
AV_PKT_DATA_STEREO3D
:
stereo
=
(
AVStereo3D
*
)
sd
->
data
;
probe_object_header
(
"stereo3d"
);
probe_str
(
"type"
,
av_stereo3d_type_name
(
stereo
->
type
));
probe_int
(
"inverted"
,
!!
(
stereo
->
flags
&
AV_STEREO3D_FLAG_INVERT
));
probe_object_footer
(
"stereo3d"
);
break
;
}
}
probe_object_footer
(
"sidedata"
);
...
...
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