Skip to content
  • Thomas Guillem's avatar
    mediacodec: add a second way to send codec specific data · 88c6f34a
    Thomas Guillem authored
    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.
    88c6f34a