From 73ec4072bc81a4ddb04e303c24891e5137d4ce09 Mon Sep 17 00:00:00 2001 From: pingkai Date: Wed, 2 Sep 2020 21:29:13 +0800 Subject: [PATCH] fix(supermediaplayer): use position to seek subplayer Signed-off-by: pingkai --- mediaPlayer/SuperMediaPlayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediaPlayer/SuperMediaPlayer.cpp b/mediaPlayer/SuperMediaPlayer.cpp index 5794535a6..b2a3d44d6 100644 --- a/mediaPlayer/SuperMediaPlayer.cpp +++ b/mediaPlayer/SuperMediaPlayer.cpp @@ -4172,7 +4172,7 @@ void SuperMediaPlayer::ProcessSelectExtSubtitleMsg(int index, bool select) } if (select) { - mSubPlayer->seek(mCurVideoPts - mMediaStartPts); + mSubPlayer->seek(getCurrentPosition()); } }