You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Actually fail when colorspaces don't match
Commited in SoC by Bobby Bingham on 2007-07-08 17:58:45 Originally committed as revision 11984 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user