[vlmc-devel] VlmcLogger: Output non fatal message to stdout

Hugo Beauzée-Luyssen git at videolan.org
Mon Feb 24 20:09:43 CET 2014


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Feb 24 17:15:36 2014 +0200| [b541b442b237077331c656443d5724a71007d138] | committer: Hugo Beauzée-Luyssen

VlmcLogger: Output non fatal message to stdout

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=b541b442b237077331c656443d5724a71007d138
---

 src/Tools/VlmcLogger.cpp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Tools/VlmcLogger.cpp b/src/Tools/VlmcLogger.cpp
index 93d64e8..8cd96d4 100644
--- a/src/Tools/VlmcLogger.cpp
+++ b/src/Tools/VlmcLogger.cpp
@@ -170,13 +170,13 @@ VlmcLogger::vlmcMessageHandler( QtMsgType type, const char* msg )
     switch ( type )
     {
     case QtDebugMsg:
-        fprintf(stderr, "%s\n", msg);
+        fprintf(stdout, "%s\n", msg);
         break;
     case QtWarningMsg:
-        fprintf(stderr, "%s\n", msg);
+        fprintf(stdout, "%s\n", msg);
         break;
     case QtCriticalMsg:
-        fprintf(stderr, "%s\n", msg);
+        fprintf(stdout, "%s\n", msg);
         break;
     case QtFatalMsg:
         fprintf(stderr, "%s\n", msg);



More information about the Vlmc-devel mailing list