buffersrc: deprecate flat options syntax.

This commit is contained in:
Nicolas George 2012-06-07 20:10:10 +02:00
parent 9ca440679d
commit 0f62125643
1 changed files with 1 additions and 0 deletions

View File

@ -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;