vlc | branch: master | Filip Roséen <[email protected]> | Fri Mar 17 03:26:15 2017 
+0100| [5347236484573c62c0a742b15ada6f4591ad4da6] | committer: Hugo 
Beauzée-Luyssen

demux/mpeg: es: lower diagnostic during probe

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.

Signed-off-by: Hugo Beauzée-Luyssen <[email protected]>

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

 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 319cb13..3b5b35f 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( ;; )

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

Reply via email to