diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-11-25 17:33:30 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-11-25 17:33:30 +0000 |
commit | fce995a07aef239f9e130610aafce537995f6103 (patch) | |
tree | 993d26a5838821e079bfa6a667a114516c325351 /Gui/mplayer | |
parent | c3d9fc330b3a74ed644b45f0473962422f1fa16c (diff) | |
download | mpv-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.c | 1 | ||||
-rw-r--r-- | Gui/mplayer/play.c | 1 |
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; } |