avcodec/mediacodec: add av_mediacodec_render_buffer_at_time()
authorAman Gupta <aman@tmm1.net>
Wed, 1 Aug 2018 01:34:15 +0000 (18:34 -0700)
committerAman Gupta <aman@tmm1.net>
Fri, 12 Oct 2018 03:51:14 +0000 (20:51 -0700)
commitf6d48b618aadb7acea6539e3973c91e14164f531
tree4c2bdc25c9dce6cf76c29b8054c296bd26824d32
parente265832c378c3f4dc372f1c0f477810f63dd60fd
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>
doc/APIchanges
libavcodec/mediacodec.c
libavcodec/mediacodec.h
libavcodec/mediacodec_wrapper.c
libavcodec/version.h