Fix sponsors not automatically skipping at 00:00
This commit is contained in:
parent
0aa4f4319a
commit
751f8039e9
1 changed files with 1 additions and 1 deletions
|
@ -1680,7 +1680,7 @@ public final class Player implements
|
||||||
simpleExoPlayer.getBufferedPercentage()
|
simpleExoPlayer.getBufferedPercentage()
|
||||||
);
|
);
|
||||||
|
|
||||||
if (sponsorBlockMode == SponsorBlockMode.ENABLED) {
|
if (sponsorBlockMode == SponsorBlockMode.ENABLED && isPrepared) {
|
||||||
final VideoSegment segment = getSkippableSegment(currentProgress);
|
final VideoSegment segment = getSkippableSegment(currentProgress);
|
||||||
if (segment == null) {
|
if (segment == null) {
|
||||||
lastSkipTarget = -1;
|
lastSkipTarget = -1;
|
||||||
|
|
Loading…
Reference in a new issue