vlc | branch: master | Rafaël Carré <[email protected]> | Tue Dec  3 10:30:19 
2013 +0100| [e52ce3a1f02b1f2df89554f1d9f176b4489acbb0] | committer: Rafaël Carré

dvbpsi: do not spam the debug log at each PMT update

dvbpsi own debug messages are not needed to debug VLC modules

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

 modules/mux/mpeg/dvbpsi_compat.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/mux/mpeg/dvbpsi_compat.h b/modules/mux/mpeg/dvbpsi_compat.h
index c4fae89..80d1705 100644
--- a/modules/mux/mpeg/dvbpsi_compat.h
+++ b/modules/mux/mpeg/dvbpsi_compat.h
@@ -73,7 +73,9 @@ static void dvbpsi_messages(dvbpsi_t *p_dvbpsi, const 
dvbpsi_msg_level_t level,
     {
         case DVBPSI_MSG_ERROR: msg_Err( obj, "%s", msg ); break;
         case DVBPSI_MSG_WARN:  msg_Warn( obj, "%s", msg ); break;
+#ifdef DVBPSI_DEBUG
         case DVBPSI_MSG_DEBUG: msg_Dbg( obj, "%s", msg ); break;
+#endif
     }
 }
 #endif

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to