[vlc-commits] Denote warnings in demuxer that can happen in normal situations

Jean-Baptiste Kempf git at videolan.org
Wed Jan 4 02:24:47 CET 2012


vlc/vlc-1.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Jan  3 09:31:50 2012 +0100| [79a346b095c810894dbb17722103787d70014d42] | committer: Jean-Baptiste Kempf

Denote warnings in demuxer that can happen in normal situations
(cherry picked from commit f6287174c439ce69f3abc4d3705e5fd303045421)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/demux/mod.c |    2 +-
 modules/demux/ts.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/demux/mod.c b/modules/demux/mod.c
index a625191..6514b78 100644
--- a/modules/demux/mod.c
+++ b/modules/demux/mod.c
@@ -149,7 +149,7 @@ static int Open( vlc_object_t *p_this )
 
         if( Validate( p_demux, psz_ext ) )
         {
-            msg_Warn( p_demux, "MOD validation failed (ext=%s)", psz_ext ? psz_ext : "");
+            msg_Dbg( p_demux, "MOD validation failed (ext=%s)", psz_ext ? psz_ext : "");
             return VLC_EGENERIC;
         }
     }
diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index b3f3f48..5628e35 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -555,7 +555,7 @@ static int DetectPacketSize( demux_t *p_demux )
         msg_Warn( p_demux, "this does not look like a TS stream, continuing" );
         return TS_PACKET_SIZE_188;
     }
-    msg_Warn( p_demux, "TS module discarded (lost sync)" );
+    msg_Dbg( p_demux, "TS module discarded (lost sync)" );
     return -1;
 }
 



More information about the vlc-commits mailing list