vlc | branch: master | Martin Storsjö <[email protected]> | Sun Sep 22 20:54:06 
2013 +0300| [091b522e80668d4157e0379841ce9be8c8c071fc] | committer: Martin 
Storsjö

mediacodec: Support playing back VP8 as well

This seems to work just fine on Samsung Galaxy S3 and Sony Xperia Z1.
(This didn't use to work in earlier Galaxy S3 firmwares even though
it was exposed in MediaCodecList, but currently it seems to work
just fine.)

Signed-off-by: Martin Storsjö <[email protected]>

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

 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 792f0ec..d8cf09f 100644
--- a/modules/codec/omxil/android_mediacodec.c
+++ b/modules/codec/omxil/android_mediacodec.c
@@ -196,6 +196,7 @@ static int OpenDecoder(vlc_object_t *p_this)
     case VLC_CODEC_H263: mime = "video/3gpp"; break;
     case VLC_CODEC_MP4V: mime = "video/mp4v-es"; break;
     case VLC_CODEC_VC1:  mime = "video/wvc1"; break;
+    case VLC_CODEC_VP8:  mime = "video/x-vnd.on2.vp8"; break;
     default:
         msg_Dbg(p_dec, "codec %d not supported", p_dec->fmt_in.i_codec);
         return VLC_EGENERIC;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to