[vlc-commits] avutil: put the CPU flags in the VLC debug log

Rémi Denis-Courmont git at videolan.org
Sat Feb 22 18:24:43 CET 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Feb 22 19:07:47 2014 +0200| [997fc4676b3de941ea5fcfa53be6dbd0f583d7f7] | committer: Rémi Denis-Courmont

avutil: put the CPU flags in the VLC debug log

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

 modules/codec/avcodec/avcommon.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/avcodec/avcommon.h b/modules/codec/avcodec/avcommon.h
index c147cba..61fc609 100644
--- a/modules/codec/avcodec/avcommon.h
+++ b/modules/codec/avcodec/avcommon.h
@@ -86,7 +86,7 @@ static inline void vlc_init_avutil(vlc_object_t *obj)
 #if LIBAVUTIL_VERSION_CHECK(51, 25, 0, 42, 100)
     av_set_cpu_flags_mask( INT_MAX & ~GetVlcDspMask() );
 #endif
-    av_get_cpu_flags();
+    msg_Dbg(obj, "CPU flags: 0x%08x", av_get_cpu_flags());
 }
 #endif
 



More information about the vlc-commits mailing list