[FFmpeg-devel] [PATCH 06/10] buffersrc: deprecate flat options syntax.

Nicolas George nicolas.george at normalesup.org
Thu Jun 7 21:16:27 CEST 2012


Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
---
 libavfilter/buffersrc.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c
index 6b78f81..b339dd7 100644
--- a/libavfilter/buffersrc.c
+++ b/libavfilter/buffersrc.c
@@ -267,6 +267,7 @@ static av_cold int init_video(AVFilterContext *ctx, const char *args, void *opaq
         ret = AVERROR(EINVAL);
         goto fail;
     }
+    av_log(ctx, AV_LOG_WARNING, "Flat options syntax is deprecated, use key=value pairs.\n");
 
     if ((ret = ff_parse_pixel_format(&c->pix_fmt, pix_fmt_str, ctx)) < 0)
         goto fail;
-- 
1.7.10



More information about the ffmpeg-devel mailing list