lavc/mediacodecdec_h264: properly convert extradata to annex-b
H264ParamSets has its SPS/PPS stored raw (SODB) and needs to be converted to NAL units before sending them to MediaCodec. This patch adds the missing convertion of the SPS/PPS from SOBP to RBSP which makes the resulting NAL units correct. Fixes codec initialization on Nexus 4 and Nexus 7. (cherry picked from commit 88d9c30c)
Showing
Please
register
or
sign in
to comment