Reapply "avfilter/avfiltergraph: always retry format negotiation after auto-filters"

This reverts commit cd9d265344.
This commit is contained in:
Timo Rothenpieler
2026-07-27 15:39:12 +02:00
parent 298f67fa2a
commit 7e1f4dc318
3 changed files with 23 additions and 4 deletions

View File

@@ -701,10 +701,11 @@ retry:
}
}
/* if there is more than one auto filter, we may need another round
* to fully settle formats due to possible cross-incompatibilities
* between the auto filters themselves */
if (num_conv > 1)
/* if there is an auto filter, we may need another round to fully
* settle formats due to possible cross-incompatibilities between
* the auto filters themselves, or between the auto filters and
* a different attribute of the filter they are modifying */
if (num_conv)
goto retry;
}
}