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
16f79357
Commit
16f79357
authored
Nov 03, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffprobe: Print format specific variables of codecs.
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
5cd1580f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
ffprobe.c
ffprobe.c
+11
-0
No files found.
ffprobe.c
View file @
16f79357
...
...
@@ -709,6 +709,17 @@ static void show_stream(WriterContext *w, AVFormatContext *fmt_ctx, int stream_i
}
else
{
print_str
(
"codec_type"
,
"unknown"
);
}
if
(
dec_ctx
->
codec
&&
dec_ctx
->
codec
->
priv_class
)
{
AVOption
*
opt
=
NULL
;
while
(
opt
=
av_opt_next
(
dec_ctx
->
priv_data
,
opt
))
{
uint8_t
*
str
;
if
(
opt
->
flags
)
continue
;
if
(
av_opt_get
(
dec_ctx
->
priv_data
,
opt
->
name
,
0
,
&
str
)
>=
0
)
{
print_str
(
opt
->
name
,
str
);
av_free
(
str
);
}
}
}
if
(
fmt_ctx
->
iformat
->
flags
&
AVFMT_SHOW_IDS
)
print_fmt
(
"id"
,
"0x%x"
,
stream
->
id
);
...
...
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