summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMyself5 <thchod@gmail.com>2014-05-15 21:26:21 +0200
committerChristian Oder <thchod@gmail.com>2014-05-15 17:34:50 +0000
commit4cb0daeffe2d6808ab394ddfc24420b7d679725d (patch)
treed2152b4204ce1d80c19478614303dec0dc87fc1e
parentd568733dd58b1e73b1a724ca8e016be2115886e3 (diff)
downloaddevice_samsung_galaxys2-common-4cb0daeffe2d6808ab394ddfc24420b7d679725d.zip
device_samsung_galaxys2-common-4cb0daeffe2d6808ab394ddfc24420b7d679725d.tar.gz
device_samsung_galaxys2-common-4cb0daeffe2d6808ab394ddfc24420b7d679725d.tar.bz2
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
-rw-r--r--configs/media_codecs.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/configs/media_codecs.xml b/configs/media_codecs.xml
index ddebc53..ce39c6e 100644
--- a/configs/media_codecs.xml
+++ b/configs/media_codecs.xml
@@ -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.vp8.decoder" type="video/x-vnd.on2.vp8" />
<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>
<Encoders>