[MPlayer-cvslog] r29727 - trunk/mplayer.c
reimar
subversion at mplayerhq.hu
Mon Sep 28 13:24:13 CEST 2009
Author: reimar
Date: Mon Sep 28 13:24:13 2009
New Revision: 29727
Log:
Use a_pos to update subtitle for audio-only files instead of mpctx->sh_audio->pts
which e.g. for mp3 in AVI never has a useful value.
Modified:
trunk/mplayer.c
Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c Mon Sep 28 13:10:11 2009 (r29726)
+++ trunk/mplayer.c Mon Sep 28 13:24:13 2009 (r29727)
@@ -3726,7 +3726,7 @@ if(!mpctx->sh_video) {
if(end_at.type == END_AT_TIME && end_at.pos < a_pos)
mpctx->eof = PT_NEXT_ENTRY;
- update_subtitles(NULL, mpctx->sh_audio->pts, mpctx->d_sub, 0);
+ update_subtitles(NULL, a_pos, mpctx->d_sub, 0);
update_osd_msg();
} else {
More information about the MPlayer-cvslog
mailing list