diff mplayer.c @ 8305:4c23944315d6

- add R¸«ädiger Kuhlmann's <mplayer-list-UGa6JdjLujS2@ruediger-kuhlmann.de> patch - fix one 10l bug
author pontscho
date Thu, 28 Nov 2002 19:01:50 +0000
parents 772d6d27fd66
children a6bcad7b2c51
line wrap: on
line diff
--- a/mplayer.c	Thu Nov 28 16:15:13 2002 +0000
+++ b/mplayer.c	Thu Nov 28 19:01:50 2002 +0000
@@ -2674,6 +2674,7 @@
 	}
 	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