[MPlayer-cvslog] r38110 - in trunk: mplayer.c mplayer.h

ib subversion at mplayerhq.hu
Sun Jun 10 18:53:58 EEST 2018


Author: ib
Date: Sun Jun 10 18:53:58 2018
New Revision: 38110

Log:
Define variable allow_playlist_parsing globally.

This will allow the GUI to check for it and to decide whether
a file selector filter for playlists should be provided.

(It won't make sense to provide such filter if playlist parsing
is disabled by MPlayer.)

Modified:
   trunk/mplayer.c
   trunk/mplayer.h

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Sun May  6 23:08:10 2018	(r38109)
+++ trunk/mplayer.c	Sun Jun 10 18:53:58 2018	(r38110)
@@ -330,7 +330,7 @@ static char *prog_path;
 static int crash_debug;
 #endif
 
-static int allow_playlist_parsing;
+int allow_playlist_parsing;
 
 /* This header requires all the global variable declarations. */
 #include "cfg-mplayer.h"

Modified: trunk/mplayer.h
==============================================================================
--- trunk/mplayer.h	Sun May  6 23:08:10 2018	(r38109)
+++ trunk/mplayer.h	Sun Jun 10 18:53:58 2018	(r38110)
@@ -43,6 +43,8 @@ extern int progbar_align;
 extern int auto_quality;
 extern int disable_gui_conf;
 
+extern int allow_playlist_parsing;
+
 extern int capture_dump;
 extern int stream_dump_type;
 extern char *stream_dump_name;


More information about the MPlayer-cvslog mailing list