Skip to content

Commit 03e9a6b

Browse files
clainclycopybara-github
authored andcommitted
Fix typo
PiperOrigin-RevId: 786312533
1 parent 33dfe7d commit 03e9a6b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libraries/transformer/src/main/java/androidx/media3/transformer/CompositionPlayer.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ public CompositionPlayer build() {
395395
private @MonotonicNonNull Size videoOutputSize;
396396
private @MonotonicNonNull PlaybackVideoGraphWrapper playbackVideoGraphWrapper;
397397
private @MonotonicNonNull PlaybackAudioGraphWrapper playbackAudioGraphWrapper;
398-
private @MonotonicNonNull VideoFrameMetadataListener pendingVideoFrameMetadatListener;
398+
private @MonotonicNonNull VideoFrameMetadataListener pendingVideoFrameMetadataListener;
399399

400400
private long compositionDurationUs;
401401
private boolean playWhenReady;
@@ -714,7 +714,7 @@ protected ListenableFuture<?> handleSeek(
714714
/** Sets the {@link VideoFrameMetadataListener}. */
715715
public void setVideoFrameMetadataListener(VideoFrameMetadataListener videoFrameMetadataListener) {
716716
if (playerHolders.isEmpty()) {
717-
pendingVideoFrameMetadatListener = videoFrameMetadataListener;
717+
pendingVideoFrameMetadataListener = videoFrameMetadataListener;
718718
return;
719719
}
720720
playerHolders.get(0).player.setVideoFrameMetadataListener(videoFrameMetadataListener);
@@ -902,8 +902,8 @@ private void setSequenceInternal(
902902
player.setMediaSource(
903903
createPrimarySequenceMediaSource(
904904
newSequence, mediaSourceFactory, shouldGenerateBlankFrames));
905-
if (pendingVideoFrameMetadatListener != null) {
906-
player.setVideoFrameMetadataListener(pendingVideoFrameMetadatListener);
905+
if (pendingVideoFrameMetadataListener != null) {
906+
player.setVideoFrameMetadataListener(pendingVideoFrameMetadataListener);
907907
}
908908
} else {
909909
player.setMediaSource(

0 commit comments

Comments
 (0)