Author: stefano Date: Mon Feb 16 22:11:25 2009 New Revision: 4061 Log: Print in the error message the name of the unknown pixel format, make the message more helpful. Modified: libavfilter/vf_format.c Modified: libavfilter/vf_format.c ============================================================================== --- libavfilter/vf_format.c Mon Feb 16 22:08:44 2009 (r4060) +++ libavfilter/vf_format.c Mon Feb 16 22:11:25 2009 (r4061) @@ -53,7 +53,7 @@ static av_cold int init(AVFilterContext fmt = avcodec_get_pix_fmt(name); if(fmt == PIX_FMT_NONE) { - av_log(ctx, AV_LOG_ERROR, "Unknown pixel format\n"); + av_log(ctx, AV_LOG_ERROR, "Unknown pixel format: %s\n", name); return -1; }
participants (1)
-
stefano