mediacodec: change the way to send codec specific data

Multimedia / VLC - Thomas Guillem [gllm.fr] - 13 May 2015 03:54 UTC

The CSD is now split into several ones, therefore there is one CSD per H264 Parameter Sets (SPS and PPS).

There is now only one way to send a CSD. It's sent via PutInput with the BUFFER_FLAG_CODEC_CONFIG flag.

44b3215 mediacodec: change the way to send codec specific data
modules/codec/omxil/android_mediacodec.c | 356 +++++++++++++++++-------------
1 file changed, 203 insertions(+), 153 deletions(-)

Upstream: git.videolan.org


  • Share