Mercurial > mplayer.hg
changeset 34888:99ccfbcaa0fa
Allow plain text playlists for the GUI.
This additional plain text playlist parsing will only happen if
the user selects from the "Playlists" filter of the file selector.
The "Playlists" filter is the GUI's equivalent to the -playlist option,
so there won't happen more bad things than with the option. (Actually,
it's safer than the option, because the "Playlists" filter only offers
a limited selection.)
author | ib |
---|---|
date | Wed, 30 May 2012 21:05:21 +0000 |
parents | b510e6c95427 |
children | 8e539c651227 |
files | mplayer.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mplayer.c Wed May 30 20:34:02 2012 +0000 +++ b/mplayer.c Wed May 30 21:05:21 2012 +0000 @@ -3234,7 +3234,7 @@ current_module = "handle_playlist"; mp_msg(MSGT_CPLAYER, MSGL_V, "Parsing playlist %s...\n", filename_recode(filename)); - entry = parse_playtree(mpctx->stream, 0); + entry = parse_playtree(mpctx->stream, use_gui); mpctx->eof = playtree_add_playlist(entry); goto goto_next_file; }