Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
external
ffmpeg
Commits
89a4465b
Commit
89a4465b
authored
Nov 30, 2012
by
Janne Grunau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avprobe: report per stream bit rate if set by the decoder
parent
e32bea8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
avprobe.c
avprobe.c
+4
-0
No files found.
avprobe.c
View file @
89a4465b
...
...
@@ -654,6 +654,10 @@ static void show_stream(AVFormatContext *fmt_ctx, int stream_idx)
probe_str
(
"avg_frame_rate"
,
rational_string
(
val_str
,
sizeof
(
val_str
),
"/"
,
&
stream
->
avg_frame_rate
));
if
(
dec_ctx
->
bit_rate
)
probe_str
(
"bit_rate"
,
value_string
(
val_str
,
sizeof
(
val_str
),
dec_ctx
->
bit_rate
,
unit_bit_per_second_str
));
probe_str
(
"time_base"
,
rational_string
(
val_str
,
sizeof
(
val_str
),
"/"
,
&
stream
->
time_base
));
...
...
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