AVBitStreamFilter structures are const, so we can't set its capabilities based on the filters added to the list. Set the delay cap to ensure correct behavior if any bsf in the list sets it.
Signed-off-by: James Almer <[email protected]> --- libavcodec/bsf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/bsf.c b/libavcodec/bsf.c index 8ba021cb47..a784aaaa95 100644 --- a/libavcodec/bsf.c +++ b/libavcodec/bsf.c @@ -406,6 +406,7 @@ static const AVBitStreamFilter list_bsf = { .filter = bsf_list_filter, .flush = bsf_list_flush, .close = bsf_list_close, + .capabilities = AV_BSF_CAP_DELAY, }; struct AVBSFList { -- 2.35.1 _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
