[Android] Fix seeking after repeat

Nicolas Pomepuy git at videolan.org
Tue Sep 10 15:30:35 CEST 2019


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

Fix seeking after repeat

(cherry picked from commit bc389b5e3c9fdad7437ae6d43fe4cd278cd9abe6)

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

 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