mediacodec: parse SPS/PPS, fix H264 via live streaming
Don't abort if H264 fmt doesn't have any valid size or extra. The SPS/PPS will be parsed from DecodeVideo, MediaCodec will be (re)started if video size changes and valid SPS/PPS will be sent via BUFFER_FLAG_CODEC_CONFIG flag.
Showing
Please register or sign in to comment