[FFmpeg-devel] [PATCH 5/5] ffprobe: Fix direct use of r_frame_rate

Michael Niedermayer michael at niedermayer.cc
Wed Jun 29 21:36:43 CEST 2016


Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 ffprobe.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffprobe.c b/ffprobe.c
index b9c3760..e8da344 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -2324,7 +2324,7 @@ static int show_stream(WriterContext *w, AVFormatContext *fmt_ctx, int stream_id
 
     if (fmt_ctx->iformat->flags & AVFMT_SHOW_IDS) print_fmt    ("id", "0x%x", stream->id);
     else                                          print_str_opt("id", "N/A");
-    print_q("r_frame_rate",   stream->r_frame_rate,   '/');
+    print_q("r_frame_rate",   av_stream_get_r_frame_rate(stream),   '/');
     print_q("avg_frame_rate", stream->avg_frame_rate, '/');
     print_q("time_base",      stream->time_base,      '/');
     print_ts  ("start_pts",   stream->start_time);
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list