diff gui/interface.c @ 34859:203d0d5cac1f

Add playlist support to the GUI.
author ib
date Mon, 21 May 2012 18:46:25 +0000
parents 456784c6c904
children ade40c1d69b8
line wrap: on
line diff
--- a/gui/interface.c	Mon May 21 15:31:03 2012 +0000
+++ b/gui/interface.c	Mon May 21 18:46:25 2012 +0000
@@ -595,6 +595,9 @@
 
     case GUI_SET_STREAM:
 
+        if (guiInfo.StreamType == STREAMTYPE_PLAYLIST)
+            guiInfo.mpcontext->file_format = DEMUXER_TYPE_PLAYLIST;
+
         stream = data;
         guiInfo.StreamType = stream->type;