mediacodec: add a second way to send codec specific data
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.
Showing
Please register or sign in to comment