[Android] Fix the video player title not updated when changing media while casting

Nicolas Pomepuy git at videolan.org
Thu Apr 3 15:00:22 UTC 2025


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Apr  2 11:36:13 2025 +0200| [174c409380082d3bd78fb9cdf70407b8668198d6] | committer: Duncan McNamara

Fix the video player title not updated when changing media while casting

Fixes #3185

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

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

diff --git a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
index b0bd67ccde..10e67405aa 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
@@ -1723,7 +1723,7 @@ open class VideoPlayerActivity : AppCompatActivity(), PlaybackService.Callback,
             wasPaused = false
         }
         setESTracks()
-        if (overlayDelegate.isHudRightBindingInitialized() && overlayDelegate.hudRightBinding.playerOverlayTitle.length() == 0)
+        if (overlayDelegate.isHudRightBindingInitialized() && (overlayDelegate.hudRightBinding.playerOverlayTitle.length() == 0 || PlaybackService.hasRenderer()))
             overlayDelegate.setTitle(mw.title)
         // Get possible subtitles
         observeDownloadedSubtitles()



More information about the Android mailing list