3
0

Enable use of FFMPEG codecs for extended formats

credits to CyanogenMods other device maintainers (saw it on hammerhead)
this fixes m4a playback on Google Play Music for example.

Signed off by Myself5, Carbon Rom i9100 Device Maintainer

Thanks to Scott B for guiding me to this fix.

Change-Id: If457524ab66de2c7e2c6f9de43345111ee08b3b8
This commit is contained in:
Myself5 2014-05-15 21:26:21 +02:00 committed by Christian Oder
parent d568733dd5
commit 4cb0daeffe

View File

@ -94,6 +94,26 @@ Only the three quirks included above are recognized at this point:
<MediaCodec name="OMX.google.h264.decoder" type="video/avc" /> <MediaCodec name="OMX.google.h264.decoder" type="video/avc" />
<MediaCodec name="OMX.google.vp8.decoder" type="video/x-vnd.on2.vp8" /> <MediaCodec name="OMX.google.vp8.decoder" type="video/x-vnd.on2.vp8" />
<MediaCodec name="OMX.google.vp9.decoder" type="video/x-vnd.on2.vp9" /> <MediaCodec name="OMX.google.vp9.decoder" type="video/x-vnd.on2.vp9" />
<!-- ffmpeg audio codecs -->
<MediaCodec name="OMX.ffmpeg.ra.decoder" type="audio/vnd.rn-realaudio"/>
<MediaCodec name="OMX.ffmpeg.flac.decoder" type="audio/flac"/>
<MediaCodec name="OMX.ffmpeg.mp2.decoder" type="audio/mpeg-L2"/>
<MediaCodec name="OMX.ffmpeg.ac3.decoder" type="audio/ac3"/>
<MediaCodec name="OMX.ffmpeg.ape.decoder" type="audio/x-ape"/>
<MediaCodec name="OMX.ffmpeg.dts.decoder" type="audio/vnd.dts"/>
<MediaCodec name="OMX.ffmpeg.atrial.decoder" type="audio/ffmpeg"/>
<!-- ffmpeg video codecs -->
<MediaCodec name="OMX.ffmpeg.mpeg2v.decoder" type="video/mpeg2"/>
<MediaCodec name="OMX.ffmpeg.h263.decoder" type="video/3gpp"/>
<MediaCodec name="OMX.ffmpeg.mpeg4.decoder" type="video/mp4v-es"/>
<MediaCodec name="OMX.ffmpeg.wmv.decoder" type="video/x-ms-wmv"/>
<MediaCodec name="OMX.ffmpeg.rv.decoder" type="video/vnd.rn-realvideo"/>
<MediaCodec name="OMX.ffmpeg.h264.decoder" type="video/avc"/>
<MediaCodec name="OMX.ffmpeg.vc1.decoder" type="video/vc1"/>
<MediaCodec name="OMX.ffmpeg.flv1.decoder" type="video/x-flv"/>
<MediaCodec name="OMX.ffmpeg.divx.decoder" type="video/divx"/>
<MediaCodec name="OMX.ffmpeg.hevc.decoder" type="video/hevc"/>
<MediaCodec name="OMX.ffmpeg.vtrial.decoder" type="video/ffmpeg"/>
</Decoders> </Decoders>
<Encoders> <Encoders>