diff mplayer.c @ 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 73842c97cac0
children aed7a945c114
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;
     }