@@ -395,7 +395,7 @@ public CompositionPlayer build() {
395
395
private @ MonotonicNonNull Size videoOutputSize ;
396
396
private @ MonotonicNonNull PlaybackVideoGraphWrapper playbackVideoGraphWrapper ;
397
397
private @ MonotonicNonNull PlaybackAudioGraphWrapper playbackAudioGraphWrapper ;
398
- private @ MonotonicNonNull VideoFrameMetadataListener pendingVideoFrameMetadatListener ;
398
+ private @ MonotonicNonNull VideoFrameMetadataListener pendingVideoFrameMetadataListener ;
399
399
400
400
private long compositionDurationUs ;
401
401
private boolean playWhenReady ;
@@ -714,7 +714,7 @@ protected ListenableFuture<?> handleSeek(
714
714
/** Sets the {@link VideoFrameMetadataListener}. */
715
715
public void setVideoFrameMetadataListener (VideoFrameMetadataListener videoFrameMetadataListener ) {
716
716
if (playerHolders .isEmpty ()) {
717
- pendingVideoFrameMetadatListener = videoFrameMetadataListener ;
717
+ pendingVideoFrameMetadataListener = videoFrameMetadataListener ;
718
718
return ;
719
719
}
720
720
playerHolders .get (0 ).player .setVideoFrameMetadataListener (videoFrameMetadataListener );
@@ -902,8 +902,8 @@ private void setSequenceInternal(
902
902
player .setMediaSource (
903
903
createPrimarySequenceMediaSource (
904
904
newSequence , mediaSourceFactory , shouldGenerateBlankFrames ));
905
- if (pendingVideoFrameMetadatListener != null ) {
906
- player .setVideoFrameMetadataListener (pendingVideoFrameMetadatListener );
905
+ if (pendingVideoFrameMetadataListener != null ) {
906
+ player .setVideoFrameMetadataListener (pendingVideoFrameMetadataListener );
907
907
}
908
908
} else {
909
909
player .setMediaSource (
0 commit comments