Hi!

Attached patch fixes ticket #3919 for me.

Please comment, Carl Eugen
diff --git a/ffprobe.c b/ffprobe.c
index 2d48070..34c7f1e 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -2170,6 +2170,7 @@ static int show_stream(WriterContext *w, AVFormatContext 
*fmt_ctx, int stream_id
     else                       print_str_opt("bit_rate", "N/A");
     if (dec_ctx->rc_max_rate > 0) print_val ("max_bit_rate", 
dec_ctx->rc_max_rate, unit_bit_per_second_str);
     else                       print_str_opt("max_bit_rate", "N/A");
+    if (dec_ctx->bits_per_raw_sample > 0) print_fmt("bits_per_raw_sample", 
"%d", dec_ctx->bits_per_raw_sample);
     if (stream->nb_frames) print_fmt    ("nb_frames", "%"PRId64, 
stream->nb_frames);
     else                   print_str_opt("nb_frames", "N/A");
     if (nb_streams_frames[stream_idx])  print_fmt    ("nb_read_frames", 
"%"PRIu64, nb_streams_frames[stream_idx]);
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to