mirror of
https://github.com/samsonjs/media.git
synced 2026-03-30 10:15:48 +00:00
Move clearing of joining deadline back to onStopped
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=159421000
This commit is contained in:
parent
92206b9fc2
commit
76faa5b6d2
2 changed files with 2 additions and 2 deletions
|
|
@ -480,11 +480,11 @@ public final class LibvpxVideoRenderer extends BaseRenderer {
|
|||
protected void onStarted() {
|
||||
droppedFrames = 0;
|
||||
droppedFrameAccumulationStartTimeMs = SystemClock.elapsedRealtime();
|
||||
joiningDeadlineMs = C.TIME_UNSET;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onStopped() {
|
||||
joiningDeadlineMs = C.TIME_UNSET;
|
||||
maybeNotifyDroppedFrames();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -260,11 +260,11 @@ public class MediaCodecVideoRenderer extends MediaCodecRenderer {
|
|||
super.onStarted();
|
||||
droppedFrames = 0;
|
||||
droppedFrameAccumulationStartTimeMs = SystemClock.elapsedRealtime();
|
||||
joiningDeadlineMs = C.TIME_UNSET;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onStopped() {
|
||||
joiningDeadlineMs = C.TIME_UNSET;
|
||||
maybeNotifyDroppedFrames();
|
||||
super.onStopped();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue