Several filters support this already.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
... | ... |
@@ -64,8 +64,7 @@ typedef struct { |
64 | 64 |
|
65 | 65 |
#define CHECK_VIDEO_PARAM_CHANGE(s, c, width, height, format)\ |
66 | 66 |
if (c->w != width || c->h != height || c->pix_fmt != format) {\ |
67 |
- av_log(s, AV_LOG_ERROR, "Changing frame properties on the fly is not supported.\n");\ |
|
68 |
- return AVERROR(EINVAL);\ |
|
67 |
+ av_log(s, AV_LOG_INFO, "Changing frame properties on the fly is not supported by all filters.\n");\ |
|
69 | 68 |
} |
70 | 69 |
|
71 | 70 |
#define CHECK_AUDIO_PARAM_CHANGE(s, c, srate, ch_layout, format)\ |