[MPlayer-cvslog] r33581 - trunk/mplayer.c

reimar subversion at mplayerhq.hu
Sat Jun 11 17:07:41 CEST 2011


Author: reimar
Date: Sat Jun 11 17:07:37 2011
New Revision: 33581

Log:
a_pos is also used by update_subtitles, so initialize it always.

Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Sat Jun 11 16:54:59 2011	(r33580)
+++ trunk/mplayer.c	Sat Jun 11 17:07:37 2011	(r33581)
@@ -3796,7 +3796,7 @@ goto_enable_cache:
                 double a_pos = 0;
                 // sh_audio can be NULL due to video stream switching
                 // TODO: handle this better
-                if ((!quiet || end_at.type == END_AT_TIME) && mpctx->sh_audio)
+                if (mpctx->sh_audio)
                     a_pos = playing_audio_pts(mpctx->sh_audio, mpctx->d_audio, mpctx->audio_out);
 
                 if (!quiet)


More information about the MPlayer-cvslog mailing list