[Android] Set correct playback state at initialization
Geoffrey Métais
git at videolan.org
Thu Mar 12 07:57:11 CET 2020
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Mar 11 13:08:39 2020 +0100| [e4ec928274860d2995869a413473e8e44fd712e4] | committer: Nicolas Pomepuy
Set correct playback state at initialization
> https://code.videolan.org/videolan/vlc-android/commit/e4ec928274860d2995869a413473e8e44fd712e4
---
application/vlc-android/src/org/videolan/vlc/media/PlayerController.kt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/application/vlc-android/src/org/videolan/vlc/media/PlayerController.kt b/application/vlc-android/src/org/videolan/vlc/media/PlayerController.kt
index c69b99ff2..91c266e9c 100644
--- a/application/vlc-android/src/org/videolan/vlc/media/PlayerController.kt
+++ b/application/vlc-android/src/org/videolan/vlc/media/PlayerController.kt
@@ -332,7 +332,7 @@ class PlayerController(val context: Context) : IVLCVout.Callback, MediaPlayer.Ev
// }
// }
companion object {
- @Volatile var playbackState = PlaybackStateCompat.STATE_STOPPED
+ @Volatile var playbackState = PlaybackStateCompat.STATE_NONE
private set
}
}
More information about the Android
mailing list