mirror of
https://github.com/samsonjs/media.git
synced 2026-04-17 13:15:47 +00:00
Remove calls to VideoFrameReleaseControl.join in CompositionPlayer
These calls have no effect because the VideoFrameReleaseControl of CompositionPlayer is created with allowedJoiningTimeMs set to 0. PiperOrigin-RevId: 644274524
This commit is contained in:
parent
2698f3ffc2
commit
f0aa30555a
1 changed files with 0 additions and 6 deletions
|
|
@ -328,9 +328,6 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
|||
super.onEnabled(joining, mayRenderStartOfStream);
|
||||
this.mayRenderStartOfStream = mayRenderStartOfStream;
|
||||
videoSink.onRendererEnabled(mayRenderStartOfStream);
|
||||
if (joining) {
|
||||
videoFrameReleaseControl.join(/* renderNextFrameImmediately= */ false);
|
||||
}
|
||||
if (!videoSink.isInitialized()) {
|
||||
Format format = new Format.Builder().build();
|
||||
try {
|
||||
|
|
@ -378,9 +375,6 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
|||
videoSink.flush(/* resetPosition= */ true);
|
||||
super.onPositionReset(positionUs, joining);
|
||||
timestampIterator = createTimestampIterator(positionUs);
|
||||
if (joining) {
|
||||
videoFrameReleaseControl.join(/* renderNextFrameImmediately= */ false);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in a new issue