[vlc-devel] commit: Warn the user with an interaction when EXTVLCOPT is being disabled ( Rafaël Carré )
git version control
git at videolan.org
Tue Mar 18 11:52:17 CET 2008
vlc | branch: 0.8.6-bugfix | Rafaël Carré <funman at videolan.org> | Tue Mar 18 11:51:49 2008 +0100| [9a21732f7a50baec8c6f248e22c1b0131ba5d022]
Warn the user with an interaction when EXTVLCOPT is being disabled
Also gives an HOWTO enable it back, warning him to disable it afterwards
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9a21732f7a50baec8c6f248e22c1b0131ba5d022
---
modules/demux/playlist/m3u.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/modules/demux/playlist/m3u.c b/modules/demux/playlist/m3u.c
index ac17d2b..7a53186 100644
--- a/modules/demux/playlist/m3u.c
+++ b/modules/demux/playlist/m3u.c
@@ -2,7 +2,7 @@
* m3u.c : M3U playlist format import
*****************************************************************************
* Copyright (C) 2004 the VideoLAN team
- * $Id$
+ * $Id: ac17d2bfd574048ba5465a43e64cf7afb3746c71 $
*
* Authors: Clément Stenac <zorglub at videolan.org>
* Sigmund Augdal Helberg <dnumgis at videolan.org>
@@ -207,6 +207,8 @@ static int Demux( demux_t *p_demux )
}
else
{
+ intf_UserFatal( p_demux, _("Options disabled") ,
+ _("m3u EXTVLCOPT parsing is disabled for security reasons.\nIf you need it and trust the m3u playlist you are trying to open, please enable it from:\nPreferences > Input/Codecs > Demuxers > Playlist > Enable parsinf of EXTVLCOPT: options.\nDon't forget to disable it before opening an untrusted playlist") );
msg_Err( p_demux, "m3u EXTVLCOPT parsing is disabled for security reasons. If you need it and trust the m3u playlist you are trying to open, please append --m3u-extvlcopt to your command line." );
}
}
More information about the vlc-devel
mailing list