diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-09-28 11:24:13 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-09-28 11:24:13 +0000 |
commit | 95d60aa0190533226974a46fd612fd6face91b7b (patch) | |
tree | f5facb4fd18cd6da26670869c6d1acb2e1095f88 | |
parent | df0cef80f936d668b4c45682ea3434e3b753a054 (diff) | |
download | mpv-95d60aa0190533226974a46fd612fd6face91b7b.tar.bz2 mpv-95d60aa0190533226974a46fd612fd6face91b7b.tar.xz |
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.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29727 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | mplayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |