Mercurial > mplayer.hg
diff cfg-mplayer.h @ 36146:5950fc0d4b53
Allow parsing arbitrary files as playlist only
if explicitly enabled.
author | reimar |
---|---|
date | Sun, 05 May 2013 17:02:33 +0000 |
parents | 2d29160e0957 |
children | 94979f661d38 |
line wrap: on
line diff
--- a/cfg-mplayer.h Sun May 05 17:02:31 2013 +0000 +++ b/cfg-mplayer.h Sun May 05 17:02:33 2013 +0000 @@ -307,6 +307,8 @@ {"noloop", &mpctx_s.loop_times, CONF_TYPE_FLAG, 0, 0, -1, NULL}, {"loop", &mpctx_s.loop_times, CONF_TYPE_INT, CONF_RANGE, -1, 10000, NULL}, + {"allow-dangerous-playlist-parsing", &allow_playlist_parsing, CONF_TYPE_FLAG, 0, 0, 1, NULL}, + {"noallow-dangerous-playlist-parsing", &allow_playlist_parsing, CONF_TYPE_FLAG, 0, 1, 0, NULL}, {"playlist", NULL, CONF_TYPE_STRING, CONF_NOCFG, 0, 0, NULL}, {"shuffle", NULL, CONF_TYPE_FLAG, CONF_NOCFG, 0, 0, NULL}, {"noshuffle", NULL, CONF_TYPE_FLAG, CONF_NOCFG, 0, 0, NULL},