[vlc-devel] [PATCH] demux/mpeg: es: lower diagnostic during probe

Filip Roséen filip at atch.se
Fri Mar 17 03:26:15 CET 2017


A failed vlc_stream_Peek is not an error during Open as there might be
other modules that can handle the relevant input, as such the
diagnostic is now lowered from msg_Err to msg_Dbg.
---
 modules/demux/mpeg/es.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mpeg/es.c b/modules/demux/mpeg/es.c
index 319cb13e25..3b5b35faa0 100644
--- a/modules/demux/mpeg/es.c
+++ b/modules/demux/mpeg/es.c
@@ -670,7 +670,7 @@ static int GenericProbe( demux_t *p_demux, int64_t *pi_offset,
     const int i_peek = vlc_stream_Peek( p_demux->s, &p_peek, i_probe );
     if( i_peek < i_skip + i_check_size )
     {
-        msg_Err( p_demux, "cannot peek" );
+        msg_Dbg( p_demux, "cannot peek" );
         return VLC_EGENERIC;
     }
     for( ;; )
-- 
2.12.0


More information about the vlc-devel mailing list