]> git.sesse.net Git - ffmpeg/commit
lavfi: fix filter format negotiation loop.
authorNicolas George <nicolas.george@normalesup.org>
Mon, 6 May 2013 11:46:23 +0000 (13:46 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Tue, 7 May 2013 16:40:51 +0000 (18:40 +0200)
commit78d16b6a51095cde231524dd394ac200b7bddde9
treeea1660722f9e800aff03a6fb89e9045ccef2ba04
parent449704b47500bbd3530c584e50a5d76f02d90113
lavfi: fix filter format negotiation loop.

query_formats() returning EAGAIN is not considered a progress
in the format negotiation.

If the filter returns EAGAIN but did set some of its formats
lists, it could be considered a partial success and counted
as progress in the negotiation. Not counting it is not a
problem because it currently only happens in the first round,
where there will always be some progress on the other filters.
libavfilter/avfiltergraph.c