mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix scrubbing in timeline with too many windows.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=152003529
This commit is contained in:
parent
5ee122cac8
commit
107e0ebc46
1 changed files with 1 additions and 1 deletions
|
|
@ -817,7 +817,7 @@ public class PlaybackControlView extends FrameLayout {
|
||||||
public void onScrubStop(TimeBar timeBar, long position, boolean canceled) {
|
public void onScrubStop(TimeBar timeBar, long position, boolean canceled) {
|
||||||
scrubbing = false;
|
scrubbing = false;
|
||||||
if (!canceled && player != null) {
|
if (!canceled && player != null) {
|
||||||
if (showMultiWindowTimeBar) {
|
if (multiWindowTimeBar) {
|
||||||
Timeline timeline = player.getCurrentTimeline();
|
Timeline timeline = player.getCurrentTimeline();
|
||||||
int windowCount = timeline.getWindowCount();
|
int windowCount = timeline.getWindowCount();
|
||||||
long remainingMs = position;
|
long remainingMs = position;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue