mirror of
https://github.com/samsonjs/media.git
synced 2026-04-04 11:05:47 +00:00
Fix not setting videoSinkNeedsRegisterInputStream when seeking
PiperOrigin-RevId: 649093092
This commit is contained in:
parent
4c1807781f
commit
8632c3add6
1 changed files with 1 additions and 0 deletions
|
|
@ -739,6 +739,7 @@ public class MediaCodecVideoRenderer extends MediaCodecRenderer
|
|||
videoSink.flush(/* resetPosition= */ true);
|
||||
videoSink.setStreamOffsetAndAdjustmentUs(
|
||||
getOutputStreamOffsetUs(), getBufferTimestampAdjustmentUs());
|
||||
videoSinkNeedsRegisterInputStream = true;
|
||||
}
|
||||
super.onPositionReset(positionUs, joining);
|
||||
if (videoSink == null) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue