From e2f48c05e9a88f39579d331a48851726a9c46a57 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Wed, 21 Jul 2010 17:14:15 +0000 Subject: [PATCH] Add an informational trace in init(). Originally committed as revision 24386 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavfilter/vsrc_buffer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavfilter/vsrc_buffer.c b/libavfilter/vsrc_buffer.c index c48f04af58..bb3c210d83 100644 --- a/libavfilter/vsrc_buffer.c +++ b/libavfilter/vsrc_buffer.c @@ -25,6 +25,7 @@ #include "avfilter.h" #include "vsrc_buffer.h" +#include "libavutil/pixdesc.h" typedef struct { int64_t pts; @@ -69,6 +70,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque) return AVERROR(EINVAL); } + av_log(ctx, AV_LOG_INFO, "w:%d h:%d pixfmt:%s\n", c->w, c->h, av_pix_fmt_descriptors[c->pix_fmt].name); return 0; }