[vlc-commits] Mediacodec: display the FourCC correctly in the logs
Jean-Baptiste Kempf
git at videolan.org
Fri Jul 4 02:14:23 CEST 2014
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jul 4 02:08:17 2014 +0200| [95cbca8f6ae32d64d63db62febfc46417149fee8] | committer: Jean-Baptiste Kempf
Mediacodec: display the FourCC correctly in the logs
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=95cbca8f6ae32d64d63db62febfc46417149fee8
---
modules/codec/omxil/android_mediacodec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/omxil/android_mediacodec.c b/modules/codec/omxil/android_mediacodec.c
index bb27aa8..8716929 100644
--- a/modules/codec/omxil/android_mediacodec.c
+++ b/modules/codec/omxil/android_mediacodec.c
@@ -307,7 +307,7 @@ static int OpenDecoder(vlc_object_t *p_this)
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);
+ msg_Dbg(p_dec, "codec %4.4s not supported", (char *)&p_dec->fmt_in.i_codec);
return VLC_EGENERIC;
}
More information about the vlc-commits
mailing list