Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08e49bc7 authored by Tanguy Pruvot's avatar Tanguy Pruvot
Browse files

libstagefright: fix JPEG decoder component name typo

Change-Id: Ibed0c227543cb53e8e1c931c4b47f888ea7bf7ff
parent b81d2a29
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -268,7 +268,7 @@ static const CodecInfo kEncoderInfo[] = {
};
#elif defined(TARGET_OMAP3)
static const CodecInfo kDecoderInfo[] = {
    { MEDIA_MIMETYPE_IMAGE_JPEG, "OMX.TI.JPEG.decode" },
    { MEDIA_MIMETYPE_IMAGE_JPEG, "OMX.TI.JPEG.decoder" },
    { MEDIA_MIMETYPE_AUDIO_MPEG, "OMX.TI.MP3.decode" },
    { MEDIA_MIMETYPE_AUDIO_MPEG, "OMX.PV.mp3dec" },
    { MEDIA_MIMETYPE_AUDIO_AMR_NB, "OMX.TI.AMR.decode" },
@@ -307,7 +307,7 @@ static const CodecInfo kEncoderInfo[] = {
#endif
#else
static const CodecInfo kDecoderInfo[] = {
    { MEDIA_MIMETYPE_IMAGE_JPEG, "OMX.TI.JPEG.decode" },
    { MEDIA_MIMETYPE_IMAGE_JPEG, "OMX.TI.JPEG.decoder" },
    { MEDIA_MIMETYPE_AUDIO_MPEG, "OMX.Nvidia.mp3.decoder" },
//    { MEDIA_MIMETYPE_AUDIO_MPEG, "OMX.TI.MP3.decode" },
    { MEDIA_MIMETYPE_AUDIO_MPEG, "MP3Decoder" },
@@ -1332,7 +1332,7 @@ status_t OMXCodec::configureCodec(const sp<MetaData> &meta, uint32_t flags) {
    }

    if (!strcasecmp(mMIME, MEDIA_MIMETYPE_IMAGE_JPEG)
        && !strcmp(mComponentName, "OMX.TI.JPEG.decode")) {
        && !strcmp(mComponentName, "OMX.TI.JPEG.decoder")) {
        OMX_COLOR_FORMATTYPE format =
            OMX_COLOR_Format32bitARGB8888;
            // OMX_COLOR_FormatYUV420PackedPlanar;