aboutsummaryrefslogtreecommitdiffstats
path: root/ffprobe.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-12-29 12:23:02 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-12-30 17:55:20 +0100
commiteee9b7a673de597b04de5df9ef837815e879938c (patch)
tree79c2e4d12c6413df09d289099ce58fe5ccda41de /ffprobe.c
parenteb465b8c56d455fddf0f4f9f2625e2fe3ff7ea06 (diff)
downloadffmpeg-eee9b7a673de597b04de5df9ef837815e879938c.tar.gz
ffprobe: Support extracting the number of reference frames
Fixes Ticket3141 Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffprobe.c')
-rw-r--r--ffprobe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffprobe.c b/ffprobe.c
index 24ecafd2ec..faddc16b62 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -2141,6 +2141,7 @@ static int show_stream(WriterContext *w, AVFormatContext *fmt_ctx, int stream_id
} else {
print_str_opt("timecode", "N/A");
}
+ print_int("refs", dec_ctx->refs);
break;
case AVMEDIA_TYPE_AUDIO: