mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-18 21:45:10 +00:00
avprobe: report per stream bit rate if set by the decoder
This commit is contained in:
parent
e32bea8eb4
commit
89a4465bd9
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user