[Mplayer-cvslog] CVS: main/Gui/mplayer mw.h,1.62,1.63 widgets.c,1.26,1.27
Zoltan Ponekker
pontscho at mplayerhq.hu
Tue Jun 4 18:38:20 CEST 2002
- Previous message: [Mplayer-cvslog] CVS: main/Gui events.c,1.7,1.8 events.h,1.10,1.11 gui.mak,1.8,1.9
- Next message: [Mplayer-cvslog] CVS: main/Gui/mplayer/gtk url.c,NONE,1.1 url.h,NONE,1.1 menu.c,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/Gui/mplayer
In directory mail:/var/tmp.root/cvs-serv31612/Gui/mplayer
Modified Files:
mw.h widgets.c
Log Message:
add network streaming support for gui
Index: mw.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/mw.h,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- mw.h 3 Jun 2002 15:06:32 -0000 1.62
+++ mw.h 4 Jun 2002 16:38:17 -0000 1.63
@@ -20,6 +20,9 @@
int i;
switch ( guiIntfStruct.StreamType )
{
+ case STREAMTYPE_STREAM:
+ strcpy( tmp,guiIntfStruct.Filename );
+ break;
case STREAMTYPE_FILE:
if ( ( guiIntfStruct.Filename )&&( guiIntfStruct.Filename[0] ) )
{
@@ -221,6 +224,13 @@
exit_player( "Exit" );
break;
+ case evPlayNetwork:
+ guiIntfStruct.StreamType=STREAMTYPE_STREAM;
+ goto play;
+ case evSetURL:
+ gtkShow( evPlayNetwork,NULL );
+ break;
+
#ifdef HAVE_VCD
case evSetVCDTrack:
guiIntfStruct.Track=(int)param;
@@ -247,6 +257,7 @@
switch ( guiIntfStruct.StreamType )
{
+ case STREAMTYPE_STREAM:
case STREAMTYPE_FILE:
guiGetEvent( guiClearStruct,guiALL );
break;
Index: widgets.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/widgets.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- widgets.c 28 May 2002 21:52:25 -0000 1.26
+++ widgets.c 4 Jun 2002 16:38:17 -0000 1.27
@@ -45,6 +45,7 @@
#include "gtk/about.h"
#include "gtk/opts.h"
#include "gtk/menu.h"
+#include "gtk/url.h"
// --- init & close gtk
@@ -187,6 +188,9 @@
case evHidePopUpMenu:
if ( PopUpMenu ) gtk_widget_hide_on_delete( PopUpMenu );
break;
+ case evPlayNetwork:
+ ShowURLDialogBox();
+ break;
}
}
- Previous message: [Mplayer-cvslog] CVS: main/Gui events.c,1.7,1.8 events.h,1.10,1.11 gui.mak,1.8,1.9
- Next message: [Mplayer-cvslog] CVS: main/Gui/mplayer/gtk url.c,NONE,1.1 url.h,NONE,1.1 menu.c,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list