Skip to content

Commit

Permalink
fix(supermediaplayer): use position to seek subplayer
Browse files Browse the repository at this point in the history
Signed-off-by: pingkai <pingkai010@gmail.com>
  • Loading branch information
pingkai committed Sep 2, 2020
1 parent 37e45a3 commit 73ec407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mediaPlayer/SuperMediaPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4172,7 +4172,7 @@ void SuperMediaPlayer::ProcessSelectExtSubtitleMsg(int index, bool select)
}

if (select) {
mSubPlayer->seek(mCurVideoPts - mMediaStartPts);
mSubPlayer->seek(getCurrentPosition());
}
}

Expand Down

0 comments on commit 73ec407

Please sign in to comment.