From fce995a07aef239f9e130610aafce537995f6103 Mon Sep 17 00:00:00 2001 From: pontscho Date: Mon, 25 Nov 2002 17:33:30 +0000 Subject: no seeking if stream is STREAMTYPE_STREAM (net/stdin) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8281 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Gui/mplayer/mw.c | 1 + Gui/mplayer/play.c | 1 + 2 files changed, 2 insertions(+) (limited to 'Gui/mplayer') diff --git a/Gui/mplayer/mw.c b/Gui/mplayer/mw.c index a74fdc6962..881d145995 100644 --- a/Gui/mplayer/mw.c +++ b/Gui/mplayer/mw.c @@ -196,6 +196,7 @@ void mplMainDraw( void ) for( i=0;i < appMPlayer.NumberOfItems + 1;i++ ) { item=&appMPlayer.Items[i]; + if ( !item->disabled ) switch( item->type ) { case itButton: diff --git a/Gui/mplayer/play.c b/Gui/mplayer/play.c index 4685cc7705..e79282fe5e 100644 --- a/Gui/mplayer/play.c +++ b/Gui/mplayer/play.c @@ -179,6 +179,7 @@ void mplRelSeek( float s ) void mplAbsSeek( float s ) { // 0.0 ... 100.0 + if ( guiIntfStruct.StreamType == STREAMTYPE_STREAM ) return; rel_seek_secs=0.01*s; abs_seek_pos=3; } -- cgit v1.2.3