bsf: add a flushing mechanism to AVBSFContext

Meant to reset the internal bsf state without the need to reinitialize it.

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2018-07-27 13:18:29 -03:00
parent 6a9c00c09d
commit e1e1e8dbb2
4 changed files with 20 additions and 1 deletions

View File

@@ -13,6 +13,9 @@ libavutil: 2017-03-23
API changes, most recent first:
2018-xx-xx - xxxxxxx - lavc 58.10.0 - avcodec.h
Add av_bsf_flush().
2018-02-xx - xxxxxxx - lavfi 7.1.0 - avfilter.h
Add AVFilterContext.extra_hw_frames.