[MPlayer-cvslog] r34976 - trunk/mplayer.c

ib subversion at mplayerhq.hu
Wed May 30 23:05:21 CEST 2012


Author: ib
Date: Wed May 30 23:05:21 2012
New Revision: 34976

Log:
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.)

Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Wed May 30 22:34:02 2012	(r34975)
+++ trunk/mplayer.c	Wed May 30 23:05:21 2012	(r34976)
@@ -3234,7 +3234,7 @@ play_next_file:
         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;
     }


More information about the MPlayer-cvslog mailing list