1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-12 09:59:44 +00:00

cleanup, sorry

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1731 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pontscho 2001-08-28 15:56:53 +00:00
parent bce2755a13
commit 39eb28454c

View File

@ -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;