Skip to content

Commit 5291126

Browse files
committed
Remove unused options field from TextureVideoPlayer
1 parent 99c5ed9 commit 5291126

File tree

1 file changed

+0
-2
lines changed
  • packages/video_player/video_player_android/android/src/main/java/io/flutter/plugins/videoplayer/texture

1 file changed

+0
-2
lines changed

packages/video_player/video_player_android/android/src/main/java/io/flutter/plugins/videoplayer/texture/TextureVideoPlayer.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
public final class TextureVideoPlayer extends VideoPlayer implements SurfaceProducer.Callback {
3030
// True when the ExoPlayer instance has a null surface.
3131
private boolean needsSurface = true;
32-
@Nullable private final VideoPlayerOptions options;
3332
/**
3433
* Creates a texture video player.
3534
*
@@ -70,7 +69,6 @@ public TextureVideoPlayer(
7069
super(events, mediaItem, options, surfaceProducer, exoPlayerProvider);
7170

7271
surfaceProducer.setCallback(this);
73-
this.options = options;
7472

7573
Surface surface = surfaceProducer.getSurface();
7674
this.exoPlayer.setVideoSurface(surface);

0 commit comments

Comments
 (0)