avcodec/mediacodec: add av_mediacodec_render_buffer_at_time()

The existing av_mediacodec_release_buffer allows the user to render
or discard the Surface-backed frame. This new method allows the user
to control exactly when the frame will be rendered to its SurfaceView.

Available since Android API 21.

Signed-off-by: Aman Gupta <aman@tmm1.net>
This commit is contained in:
Aman Gupta
2018-07-31 18:34:15 -07:00
parent e265832c37
commit f6d48b618a
5 changed files with 39 additions and 2 deletions

View File

@@ -15,6 +15,9 @@ libavutil: 2017-10-21
API changes, most recent first:
2018-10-11 - xxxxxxxxxx - lavc 58.33.100 - mediacodec.h
Add av_mediacodec_render_buffer_at_time().
2018-09-09 - xxxxxxxxxx - lavc 58.29.100 - avcodec.h
Add AV_PKT_DATA_AFD