Commit 89a4465b authored by Janne Grunau's avatar Janne Grunau
Browse files

avprobe: report per stream bit rate if set by the decoder

parent e32bea8e
......@@ -654,6 +654,10 @@ static void show_stream(AVFormatContext *fmt_ctx, int stream_idx)
rational_string(val_str, sizeof(val_str), "/",
if (dec_ctx->bit_rate)
value_string(val_str, sizeof(val_str),
dec_ctx->bit_rate, unit_bit_per_second_str));
rational_string(val_str, sizeof(val_str), "/",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment