[Android] Fix seeking after repeat

Nicolas Pomepuy git at videolan.org
Tue Sep 10 15:11:03 CEST 2019


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Tue Aug 27 09:54:39 2019 +0200| [bc389b5e3c9fdad7437ae6d43fe4cd278cd9abe6] | committer: Geoffrey Métais

Fix seeking after repeat

> https://code.videolan.org/videolan/vlc-android/commit/bc389b5e3c9fdad7437ae6d43fe4cd278cd9abe6
---

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
index 0c8848abc..89686ae44 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
@@ -1466,6 +1466,7 @@ open class VideoPlayerActivity : AppCompatActivity(), IPlaybackSettingsControlle
             when (event.type) {
                 MediaPlayer.Event.Playing -> onPlaying()
                 MediaPlayer.Event.Paused -> updateOverlayPausePlay()
+                MediaPlayer.Event.Opening -> forcedTime = -1
                 MediaPlayer.Event.Vout -> {
                     updateNavStatus()
                     if (event.voutCount > 0)



More information about the Android mailing list