[FFmpeg-cvslog] buffersrc: deprecate flat options syntax.

Nicolas George git at videolan.org
Sat Jun 9 09:28:35 CEST 2012


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Thu Jun  7 20:10:10 2012 +0200| [0f621256439f0dbe77ea1b01293dfb8711fa93c2] | committer: Nicolas George

buffersrc: deprecate flat options syntax.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0f621256439f0dbe77ea1b01293dfb8711fa93c2
---

 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;



More information about the ffmpeg-cvslog mailing list