aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-04-23 19:55:59 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-04-27 11:03:52 +0200
commitf7bdffb09da597c5d6afff5359523370470ad072 (patch)
treec95f6bc0b4fd20c14e20da78ce0b682f95e04d50
parent191e08d113ef1d089c45c5fb6c95491e16dde86e (diff)
downloadffmpeg-f7bdffb09da597c5d6afff5359523370470ad072.tar.gz
lavfi: print key-frame and picture type information in ff_dlog_ref()
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
-rw-r--r--libavfilter/avfilter.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 039e04bf64..443562b2f4 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -237,11 +237,13 @@ static void ff_dlog_ref(void *ctx, AVFilterBufferRef *ref, int end)
ref->pts, ref->pos);
if (ref->video) {
- av_dlog(ctx, " a:%d/%d s:%dx%d i:%c",
+ av_dlog(ctx, " a:%d/%d s:%dx%d i:%c iskey:%d type:%c",
ref->video->pixel_aspect.num, ref->video->pixel_aspect.den,
ref->video->w, ref->video->h,
!ref->video->interlaced ? 'P' : /* Progressive */
- ref->video->top_field_first ? 'T' : 'B'); /* Top / Bottom */
+ ref->video->top_field_first ? 'T' : 'B', /* Top / Bottom */
+ ref->video->key_frame,
+ av_get_picture_type_char(ref->video->pict_type));
}
if (ref->audio) {
av_dlog(ctx, " cl:%"PRId64"d sn:%d s:%d sr:%d p:%d",