mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Rename signalEndOfInputStream()
This is because the method is called for each media item, the current name implies that the method is only called once for all videos in a sequence. PiperOrigin-RevId: 695332916
This commit is contained in:
parent
fa790bd73c
commit
01c784775e
@ -670,7 +670,7 @@ public final class DefaultVideoFrameProcessor implements VideoFrameProcessor {
|
||||
// configured.
|
||||
this.pendingInputStreamInfo = pendingInputStreamInfo;
|
||||
inputStreamRegisteredCondition.close();
|
||||
inputSwitcher.activeTextureManager().signalEndOfCurrentInputStream();
|
||||
inputSwitcher.signalEndOfCurrentInputStream();
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -728,7 +728,7 @@ public final class DefaultVideoFrameProcessor implements VideoFrameProcessor {
|
||||
DebugTraceUtil.logEvent(COMPONENT_VFP, EVENT_RECEIVE_END_OF_ALL_INPUT, C.TIME_END_OF_SOURCE);
|
||||
checkState(!inputStreamEnded);
|
||||
inputStreamEnded = true;
|
||||
inputSwitcher.signalEndOfInputStream();
|
||||
inputSwitcher.signalEndOfCurrentInputStream();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -198,7 +198,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
||||
* Invokes {@link TextureManager#signalEndOfCurrentInputStream} on the active {@link
|
||||
* TextureManager}.
|
||||
*/
|
||||
public void signalEndOfInputStream() {
|
||||
public void signalEndOfCurrentInputStream() {
|
||||
checkNotNull(activeTextureManager).signalEndOfCurrentInputStream();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user