diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-17 01:52:53 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-17 02:06:12 +0400 |
commit | 6cbb8a450f16309b3d7a5260cfe3ac4bce00f93d (patch) | |
tree | edce3d97a538c28212631a75a3a7d2b0deb815f4 /libavfilter/buffersrc.c | |
parent | 3e0b29ccd075039d4494cafd4738bdf8322068b0 (diff) |
libavfilter/buffersrc: Do not fail hard on changes of input parameters.
Several filters support this already.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/buffersrc.c')
-rw-r--r-- | libavfilter/buffersrc.c | 3 |
1 files changed, 1 insertions, 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)\ |