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
291ad12e
Commit
291ad12e
authored
Aug 28, 2013
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffprobe: show probe_score in the format section
Should address trac ticket #2621.
parent
51b01573
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
ffprobe.xsd
doc/ffprobe.xsd
+1
-0
ffprobe.c
ffprobe.c
+1
-0
No files found.
doc/ffprobe.xsd
View file @
291ad12e
...
...
@@ -185,6 +185,7 @@
<xsd:attribute
name=
"duration"
type=
"xsd:float"
/>
<xsd:attribute
name=
"size"
type=
"xsd:long"
/>
<xsd:attribute
name=
"bit_rate"
type=
"xsd:long"
/>
<xsd:attribute
name=
"probe_score"
type=
"xsd:int"
/>
</xsd:complexType>
<xsd:complexType
name=
"tagType"
>
...
...
ffprobe.c
View file @
291ad12e
...
...
@@ -1867,6 +1867,7 @@ static void show_format(WriterContext *w, AVFormatContext *fmt_ctx)
else
print_str_opt
(
"size"
,
"N/A"
);
if
(
fmt_ctx
->
bit_rate
>
0
)
print_val
(
"bit_rate"
,
fmt_ctx
->
bit_rate
,
unit_bit_per_second_str
);
else
print_str_opt
(
"bit_rate"
,
"N/A"
);
print_int
(
"probe_score"
,
av_format_get_probe_score
(
fmt_ctx
));
show_tags
(
w
,
fmt_ctx
->
metadata
,
SECTION_ID_FORMAT_TAGS
);
writer_print_section_footer
(
w
);
...
...
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