Commit cd212817 authored by vitor's avatar vitor

Actually fail when colorspaces don't match

Commited in SoC by Bobby Bingham on 2007-07-08 17:58:45


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11984 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent dc81f382
......@@ -142,6 +142,7 @@ int avfilter_link(AVFilterContext *src, unsigned srcpad,
link->cur_pic = NULL;
/* find a format both filters support - TODO: auto-insert conversion filter */
link->format = -1;
if(src->filter->outputs[srcpad].query_formats)
fmts[0] = src->filter->outputs[srcpad].query_formats(link);
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment