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
de4ff4c5ec
commit
86f06faa8d
@ -478,11 +478,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();
|
||||
}
|
||||
|
||||
|
@ -290,11 +290,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…
x
Reference in New Issue
Block a user