Mercurial > mplayer.hg
changeset 29685:f0b559a7c17b
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.
author | reimar |
---|---|
date | Mon, 28 Sep 2009 11:24:13 +0000 |
parents | 23c0da51c660 |
children | add9ce0b0e55 |
files | mplayer.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mplayer.c Mon Sep 28 11:10:11 2009 +0000 +++ b/mplayer.c Mon Sep 28 11:24:13 2009 +0000 @@ -3726,7 +3726,7 @@ 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 {