From 6cbb8a450f16309b3d7a5260cfe3ac4bce00f93d Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 16 Oct 2012 23:52:53 +0200 Subject: [PATCH] libavfilter/buffersrc: Do not fail hard on changes of input parameters. Several filters support this already. Signed-off-by: Michael Niedermayer --- libavfilter/buffersrc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c index b4b502aa6c..a88cc463da 100644 --- a/libavfilter/buffersrc.c +++ b/libavfilter/buffersrc.c @@ -64,8 +64,7 @@ typedef struct { #define CHECK_VIDEO_PARAM_CHANGE(s, c, width, height, format)\ if (c->w != width || c->h != height || c->pix_fmt != format) {\ - av_log(s, AV_LOG_ERROR, "Changing frame properties on the fly is not supported.\n");\ - return AVERROR(EINVAL);\ + av_log(s, AV_LOG_INFO, "Changing frame properties on the fly is not supported by all filters.\n");\ } #define CHECK_AUDIO_PARAM_CHANGE(s, c, srate, ch_layout, format)\