mediacodec: add a second way to send codec specific data

Multimedia / VLC - Thomas Guillem [gllm.fr] - 28 April 2015 10:46 UTC

Via PutInput with the BUFFER_FLAG_CODEC_CONFIG flag. It allows to send codec specific data during playback without restarting MediaCodec. If you choose to configure codec via this flags, you shouldn't set the "csd-0" buffer during MediaCodec initialization.

88c6f34 mediacodec: add a second way to send codec specific data
modules/codec/omxil/android_mediacodec.c | 93 +++++++++++++++++++++---------
1 file changed, 67 insertions(+), 26 deletions(-)

Upstream: git.videolan.org


  • Share