mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
stopInternal should release MediaSource
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=176763841
This commit is contained in:
parent
2537e883d6
commit
874d1be852
1 changed files with 1 additions and 1 deletions
|
|
@ -766,7 +766,7 @@ import java.io.IOException;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void stopInternal() {
|
private void stopInternal() {
|
||||||
resetInternal(/* releaseMediaSource= */ false, /* resetPosition= */ false);
|
resetInternal(/* releaseMediaSource= */ true, /* resetPosition= */ false);
|
||||||
loadControl.onStopped();
|
loadControl.onStopped();
|
||||||
setState(Player.STATE_IDLE);
|
setState(Player.STATE_IDLE);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue