[vlc-commits] Mediacodec: display the FourCC correctly in the logs

Jean-Baptiste Kempf git at videolan.org
Fri Jul 4 18:56:29 CEST 2014


vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jul  4 02:08:17 2014 +0200| [9e1c6ff15e332f655551c37e5707b90ad74be0b1] | committer: Jean-Baptiste Kempf

Mediacodec: display the FourCC correctly in the logs

(cherry picked from commit 95cbca8f6ae32d64d63db62febfc46417149fee8)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=9e1c6ff15e332f655551c37e5707b90ad74be0b1
---

 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