[vlc-commits] dvb: downgrade error messages

Rémi Denis-Courmont git at videolan.org
Mon Nov 21 22:26:02 CET 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Nov 21 23:24:53 2016 +0200| [2ffa685a93a4348baf458a22a2470f8b5db3c63b] | committer: Rémi Denis-Courmont

dvb: downgrade error messages

The old DVB plugin generate syntax error messages on valid MRLs that
the normal DTV plugin just fails to open (e.g. due to missing tuner).
This has proven very confusing.

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

 modules/access/dvb/access.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/dvb/access.c b/modules/access/dvb/access.c
index e878950..79cfd79 100644
--- a/modules/access/dvb/access.c
+++ b/modules/access/dvb/access.c
@@ -572,7 +572,7 @@ static int ParseMRL( access_t *p_access )
                 val.i_int = 18;
             else
             {
-                msg_Err( p_access, "illegal polarization %c", *psz_parser );
+                msg_Warn( p_access, "illegal polarization %c", *psz_parser );
                 free( psz_dup );
                 return VLC_EGENERIC;
             }
@@ -580,7 +580,7 @@ static int ParseMRL( access_t *p_access )
         }
         else
         {
-            msg_Err( p_access, "unknown option (%s)", psz_parser );
+            msg_Warn( p_access, "unknown option (%s)", psz_parser );
             free( psz_dup );
             return VLC_EGENERIC;
         }



More information about the vlc-commits mailing list