summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-28 19:01:50 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-28 19:01:50 +0000
commit41565580b5c706e12678570e27eea37f9a323325 (patch)
tree2d15ce29205b5eb3f52bd520638f00074774c1ee /mplayer.c
parent837893b654265fed2db2e56a6325eccce903f494 (diff)
downloadmpv-41565580b5c706e12678570e27eea37f9a323325.tar.bz2
mpv-41565580b5c706e12678570e27eea37f9a323325.tar.xz
- add RĂ¼diger Kuhlmann's <mplayer-list-UGa6JdjLujS2@ruediger-kuhlmann.de> patch
- fix one 10l bug git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8306 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 65db0cee5a..087172101f 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -2674,6 +2674,7 @@ if(rel_seek_secs || abs_seek_pos){
}
if ( sh_video ) guiIntfStruct.TimeSec=d_video->pts;
else if ( sh_audio ) guiIntfStruct.TimeSec=sh_audio->delay;
+ guiIntfStruct.LengthInSec=demuxer_get_time_length(demuxer);
guiGetEvent( guiReDraw,NULL );
guiGetEvent( guiSetVolume,NULL );
if(guiIntfStruct.Playing==0) break; // STOP