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/app.c | 38 ++++++++++++++++++++++++++++++++++++++ Gui/app.h | 4 ++++ Gui/interface.c | 3 +++ Gui/mplayer/mw.c | 1 + Gui/mplayer/play.c | 1 + Gui/skin/skin.c | 30 ------------------------------ Gui/skin/skin.h | 3 --- 7 files changed, 47 insertions(+), 33 deletions(-) (limited to 'Gui') diff --git a/Gui/app.c b/Gui/app.c index b58e649aa8..346a93131a 100644 --- a/Gui/app.c +++ b/Gui/app.c @@ -154,3 +154,41 @@ int appFindMessage( unsigned char * str ) if ( !strcmp( evNames[i].name,str ) ) return evNames[i].msg; return -1; } + +void btnModify( int event,float state ) +{ + int j; + for ( j=0;j 100.f ) state=100.0f; + appMPlayer.Items[j].value=state; + break; + } + } +} + +float btnGetValue( int event ) +{ + int j; + for ( j=0;jdisabled ) 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; } diff --git a/Gui/skin/skin.c b/Gui/skin/skin.c index 15745b1dc8..e7d1e21ec3 100644 --- a/Gui/skin/skin.c +++ b/Gui/skin/skin.c @@ -635,33 +635,3 @@ int skinRead( char * dname ) } return 0; } - -void btnModify( int event,float state ) -{ - int j; - for ( j=0;j 100.f ) state=100.0f; - appMPlayer.Items[j].value=state; - break; - } - } -} - -float btnGetValue( int event ) -{ - int j; - for ( j=0;j