summaryrefslogtreecommitdiffstats
path: root/Gui/mplayer
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-25 17:33:30 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-25 17:33:30 +0000
commitfce995a07aef239f9e130610aafce537995f6103 (patch)
tree993d26a5838821e079bfa6a667a114516c325351 /Gui/mplayer
parentc3d9fc330b3a74ed644b45f0473962422f1fa16c (diff)
downloadmpv-fce995a07aef239f9e130610aafce537995f6103.tar.bz2
mpv-fce995a07aef239f9e130610aafce537995f6103.tar.xz
no seeking if stream is STREAMTYPE_STREAM (net/stdin)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8281 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer')
-rw-r--r--Gui/mplayer/mw.c1
-rw-r--r--Gui/mplayer/play.c1
2 files changed, 2 insertions, 0 deletions
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;
}