[vlc-commits] mediacodec: add hevc mimetype

Thomas Guillem git at videolan.org
Mon Oct 6 10:50:10 CEST 2014


vlc | branch: master | Thomas Guillem <thomas.guillem at gmail.com> | Fri Oct  3 16:53:40 2014 +0200| [86630a153c39f5eafc8e6557dfb909a5cc828e2b] | committer: Jean-Baptiste Kempf

mediacodec: add hevc mimetype

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=86630a153c39f5eafc8e6557dfb909a5cc828e2b
---

 modules/codec/omxil/android_mediacodec.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/codec/omxil/android_mediacodec.c b/modules/codec/omxil/android_mediacodec.c
index 7c27e95..70c1505 100644
--- a/modules/codec/omxil/android_mediacodec.c
+++ b/modules/codec/omxil/android_mediacodec.c
@@ -301,6 +301,7 @@ static int OpenDecoder(vlc_object_t *p_this)
 
     const char *mime = NULL;
     switch (p_dec->fmt_in.i_codec) {
+    case VLC_CODEC_HEVC: mime = "video/hevc"; break;
     case VLC_CODEC_H264: mime = "video/avc"; break;
     case VLC_CODEC_H263: mime = "video/3gpp"; break;
     case VLC_CODEC_MP4V: mime = "video/mp4v-es"; break;



More information about the vlc-commits mailing list