[vlc-commits] disable debug logging in prod

Felix Paul Kühne git at videolan.org
Wed Sep 9 15:11:00 CEST 2015


npapi-vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Sep  9 15:10:54 2015 +0200| [be6544ac4d8ffed3927f9e727627b10620fa4aba] | committer: Felix Paul Kühne

disable debug logging in prod

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

 npapi/vlcplugin_base.cpp |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/npapi/vlcplugin_base.cpp b/npapi/vlcplugin_base.cpp
index bac8107..cd28998 100644
--- a/npapi/vlcplugin_base.cpp
+++ b/npapi/vlcplugin_base.cpp
@@ -111,7 +111,11 @@ NPError VlcPluginBase::init(int argc, char* const argn[], char* const argv[])
 #endif
 
     /* common settings */
+#ifndef NDEBUG
     ppsz_argv[ppsz_argc++] = "-vv";
+#else
+    ppsz_argv[ppsz_argc++] = "--quiet";
+#endif
     ppsz_argv[ppsz_argc++] = "--no-stats";
     ppsz_argv[ppsz_argc++] = "--no-media-library";
     ppsz_argv[ppsz_argc++] = "--intf=dummy";



More information about the vlc-commits mailing list