[vlc-commits] dvb: downgrade error messages
Rémi Denis-Courmont
git at videolan.org
Mon Nov 21 22:26:25 CET 2016
vlc/vlc-2.2 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Nov 21 23:24:53 2016 +0200| [cf98cb2238b0f31f57830f6623f5a79d318b2ebc] | 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.
(cherry picked from commit 2ffa685a93a4348baf458a22a2470f8b5db3c63b)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=cf98cb2238b0f31f57830f6623f5a79d318b2ebc
---
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 6932ab4..b8551a0 100644
--- a/modules/access/dvb/access.c
+++ b/modules/access/dvb/access.c
@@ -548,7 +548,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;
}
@@ -556,7 +556,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