[vlc-commits] dvbpsi: handle all message types

Rafaël Carré git at videolan.org
Sun Mar 30 11:54:10 CEST 2014


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Mar 30 11:53:47 2014 +0200| [15e37f2a779b95f0f8ea25901bf1d8cefc5e4644] | committer: Rafaël Carré

dvbpsi: handle all message types

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

 modules/mux/mpeg/dvbpsi_compat.h |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/modules/mux/mpeg/dvbpsi_compat.h b/modules/mux/mpeg/dvbpsi_compat.h
index 80d1705..c2ea7e3 100644
--- a/modules/mux/mpeg/dvbpsi_compat.h
+++ b/modules/mux/mpeg/dvbpsi_compat.h
@@ -73,9 +73,12 @@ 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;
+        case DVBPSI_MSG_NONE:
+        case DVBPSI_MSG_DEBUG:
 #ifdef DVBPSI_DEBUG
-        case DVBPSI_MSG_DEBUG: msg_Dbg( obj, "%s", msg ); break;
+            msg_Dbg( obj, "%s", msg );
 #endif
+            break;
     }
 }
 #endif



More information about the vlc-commits mailing list