Add mp2 container and codec support
AOSP doesn't support audio mp2 file, so mp2 audio file with file extension .mp2 cannot be identified as an audio. 1. Add mp2 extension to mp3extractor.cpp and cannot use mp2extractor as demuxer for mp2 file 2. Add MEDIA_MIMETYPE_AUDIO_MPEG_LAYER_II to Acodec.cpp when configure omx component params; then audio channel and samplerate can be configured correctly when init omx component Bug: 123730913 Test: play mp2 file Change-Id: I42d7cbc578f801df13f249ff41442f1ebf0e5180
Loading
Please register or sign in to comment