Also downgrade the error to a warning.
Nicolas George authored on 2013/02/22 04:15:32... | ... |
@@ -82,9 +82,9 @@ static int query_formats(AVFilterContext *ctx) |
82 | 82 |
for (i = 0; i < am->nb_inputs; i++) { |
83 | 83 |
if (!ctx->inputs[i]->in_channel_layouts || |
84 | 84 |
!ctx->inputs[i]->in_channel_layouts->nb_channel_layouts) { |
85 |
- av_log(ctx, AV_LOG_ERROR, |
|
85 |
+ av_log(ctx, AV_LOG_WARNING, |
|
86 | 86 |
"No channel layout for input %d\n", i + 1); |
87 |
- return AVERROR(EINVAL); |
|
87 |
+ return AVERROR(EAGAIN); |
|
88 | 88 |
} |
89 | 89 |
inlayout[i] = ctx->inputs[i]->in_channel_layouts->channel_layouts[0]; |
90 | 90 |
if (ctx->inputs[i]->in_channel_layouts->nb_channel_layouts > 1) { |