mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 19:58:59 +00:00
libavfilter/buffersrc: Do not fail hard on changes of input parameters.
Several filters support this already. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3e0b29ccd0
commit
6cbb8a450f
@ -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)\
|
||||
|
Loading…
Reference in New Issue
Block a user