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

Commit 4d69457c authored by Changwan Ryu's avatar Changwan Ryu Committed by Dongwon Kang
Browse files

Support for MPEG2 video

Change-Id: If1f4e20939c96c87c65c84d56e529501facb8597
(cherry picked from commit 774eb18c)
parent 4f8bb114
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -977,6 +977,8 @@ status_t ACodec::setComponentRole(
            "audio_decoder.flac", "audio_encoder.flac" },
        { MEDIA_MIMETYPE_AUDIO_MSGSM,
            "audio_decoder.gsm", "audio_encoder.gsm" },
        { MEDIA_MIMETYPE_VIDEO_MPEG2,
            "video_decoder.mpeg2", "video_encoder.mpeg2" },
    };

    static const size_t kNumMimeToRole =
+2 −0
Original line number Diff line number Diff line
@@ -1394,6 +1394,8 @@ void OMXCodec::setComponentRole(
            "audio_decoder.flac", "audio_encoder.flac" },
        { MEDIA_MIMETYPE_AUDIO_MSGSM,
            "audio_decoder.gsm", "audio_encoder.gsm" },
        { MEDIA_MIMETYPE_VIDEO_MPEG2,
            "video_decoder.mpeg2", "video_encoder.mpeg2" },
    };

    static const size_t kNumMimeToRole =