summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-28 15:56:53 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-28 15:56:53 +0000
commit39eb28454cdef5f1dc884aa0810dc116674e373c (patch)
tree30b36d0c497b5ac01ae73bd8cbf64554a5438110 /mplayer.c
parentbce2755a134ecc39e5abac49e144f427e911d001 (diff)
downloadmpv-39eb28454cdef5f1dc884aa0810dc116674e373c.tar.bz2
mpv-39eb28454cdef5f1dc884aa0810dc116674e373c.tar.xz
cleanup, sorry
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1731 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/mplayer.c b/mplayer.c
index 64eaf1c2d0..975773fc0c 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -186,8 +186,6 @@ static int benchmark=0;
static int play_in_bg=0;
-extern float gui_position;
-
extern void avi_fixate();
// options:
@@ -1745,10 +1743,6 @@ if(rel_seek_secs || abs_seek_pos){
#ifdef HAVE_NEW_GUI
if(use_gui){
int len=((demuxer->movi_end-demuxer->movi_start));
-// if(len>0)
-// gui_position=(float)(demuxer->filepos-demuxer->movi_start)/len;
-// else
-// gui_position=-1;
if ( len > 0 ) mplShMem->Position=(float)(demuxer->filepos-demuxer->movi_start) / len * 100.0f;
else mplShMem->Position=0;
mplShMem->TimeSec=d_video->pts;