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
5f0ebe86
Commit
5f0ebe86
authored
May 07, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffprobe: Use av_packet_side_data_name() to find the side data name
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
a7dd933b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
ffprobe.c
ffprobe.c
+5
-4
No files found.
ffprobe.c
View file @
5f0ebe86
...
...
@@ -1765,9 +1765,9 @@ static void show_packet(WriterContext *w, AVFormatContext *fmt_ctx, AVPacket *pk
writer_print_section_header
(
w
,
SECTION_ID_PACKET_SIDE_DATA_LIST
);
for
(
i
=
0
;
i
<
pkt
->
side_data_elems
;
i
++
)
{
AVPacketSideData
*
sd
=
&
pkt
->
side_data
[
i
];
const
char
*
name
;
const
char
*
name
=
av_packet_side_data_name
(
sd
->
type
)
;
writer_print_section_header
(
w
,
SECTION_ID_PACKET_SIDE_DATA
);
print_str
(
"side_data_type"
,
"unknown"
);
print_str
(
"side_data_type"
,
name
?
name
:
"unknown"
);
print_int
(
"side_data_size"
,
sd
->
size
);
if
(
sd
->
type
==
AV_PKT_DATA_DISPLAYMATRIX
&&
sd
->
size
>=
9
*
4
)
{
writer_print_integers
(
w
,
"displaymatrix"
,
sd
->
data
,
9
,
" %11d"
,
3
,
4
,
1
);
...
...
@@ -2306,9 +2306,10 @@ static int show_stream(WriterContext *w, AVFormatContext *fmt_ctx, int stream_id
writer_print_section_header
(
w
,
SECTION_ID_STREAM_SIDE_DATA_LIST
);
for
(
i
=
0
;
i
<
stream
->
nb_side_data
;
i
++
)
{
AVPacketSideData
*
sd
=
&
stream
->
side_data
[
i
];
const
char
*
name
;
const
char
*
name
=
av_packet_side_data_name
(
sd
->
type
);
writer_print_section_header
(
w
,
SECTION_ID_STREAM_SIDE_DATA
);
print_str
(
"side_data_type"
,
"unknown"
);
print_str
(
"side_data_type"
,
name
?
name
:
"unknown"
);
print_int
(
"side_data_size"
,
sd
->
size
);
if
(
sd
->
type
==
AV_PKT_DATA_DISPLAYMATRIX
&&
sd
->
size
>=
9
*
4
)
{
writer_print_integers
(
w
,
"displaymatrix"
,
sd
->
data
,
9
,
" %11d"
,
3
,
4
,
1
);
...
...
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