OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e0b29c
)
libavfilter/buffersrc: Do not fail hard on changes of input parameters.
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 16 Oct 2012 21:52:53 +0000
(23:52 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 16 Oct 2012 22:06:12 +0000
(
00:06
+0200)
Several filters support this already.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/buffersrc.c
patch
|
blob
|
history
diff --git
a/libavfilter/buffersrc.c
b/libavfilter/buffersrc.c
index
b4b502a
..
a88cc46
100644
(file)
--- 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)\