Skip to content

Commit

Permalink
fix(drop): compare position to seekPos
Browse files Browse the repository at this point in the history
fix #24957385
  • Loading branch information
I-m-SuperMan authored and skufly committed Feb 11, 2020
1 parent ed5063f commit d43a225
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 @@ -2472,7 +2472,7 @@ namespace Cicada {
mFirstSeekStartTime = pFrame->getInfo().timePosition;
}

if (mSeekFlag && mSeekNeedCatch && NeedDrop(pFrame->getInfo().pts, mSeekPos)) {
if (mSeekFlag && mSeekNeedCatch && NeedDrop(pFrame->getInfo().timePosition, mSeekPos)) {
return ret;
}

Expand Down

0 comments on commit d43a225

Please sign in to comment.