[FFmpeg-devel] [PATCH 5/6] Add an informational trace in init().

Stefano Sabatini stefano.sabatini-lala
Wed Jul 21 19:15:38 CEST 2010


On date Tuesday 2010-07-20 02:12:21 +0200, Stefano Sabatini encoded:
> ---
>  libavfilter/vsrc_buffer.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/libavfilter/vsrc_buffer.c b/libavfilter/vsrc_buffer.c
> index 8809589..cb53d34 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;
>  }

Applied.
-- 
FFmpeg = Frenzy and Fascinating Mind-dumbing Proud Extended Goblin



More information about the ffmpeg-devel mailing list