[Mplayer-cvslog] CVS: main/Gui/mplayer mw.c,1.90,1.91 play.c,1.77,1.78

Zoltan Ponekker pontscho at mplayerhq.hu
Mon Nov 25 18:34:02 CET 2002


Update of /cvsroot/mplayer/main/Gui/mplayer
In directory mail:/var/tmp.root/cvs-serv12051/mplayer

Modified Files:
	mw.c play.c 
Log Message:
no seeking if stream is STREAMTYPE_STREAM (net/stdin)

Index: mw.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/mw.c,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -r1.90 -r1.91
--- mw.c	10 Nov 2002 15:31:26 -0000	1.90
+++ mw.c	25 Nov 2002 17:33:27 -0000	1.91
@@ -196,6 +196,7 @@
    for( i=0;i < appMPlayer.NumberOfItems + 1;i++ )
     {
      item=&appMPlayer.Items[i];
+    if ( !item->disabled )
      switch( item->type )
       {
        case itButton:

Index: play.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/play.c,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- play.c	2 Nov 2002 18:57:14 -0000	1.77
+++ play.c	25 Nov 2002 17:33:27 -0000	1.78
@@ -179,6 +179,7 @@
 
 void mplAbsSeek( float s )
 { // 0.0 ... 100.0
+ if ( guiIntfStruct.StreamType == STREAMTYPE_STREAM ) return;
  rel_seek_secs=0.01*s; abs_seek_pos=3;
 }
 




More information about the MPlayer-cvslog mailing list