Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol authored on 2016/03/05 06:58:45... | ... |
@@ -148,8 +148,10 @@ static int query_formats(AVFilterContext *ctx) |
148 | 148 |
out_pix_fmts = levels_out_yuv8_pix_fmts; |
149 | 149 |
else if (bits == 9) |
150 | 150 |
out_pix_fmts = levels_out_yuv9_pix_fmts; |
151 |
- else // if (bits == 10) |
|
151 |
+ else if (bits == 10) |
|
152 | 152 |
out_pix_fmts = levels_out_yuv10_pix_fmts; |
153 |
+ else |
|
154 |
+ return AVERROR(EAGAIN); |
|
153 | 155 |
if ((ret = ff_formats_ref(ff_make_format_list(out_pix_fmts), &ctx->outputs[0]->in_formats)) < 0) |
154 | 156 |
return ret; |
155 | 157 |
|