[Android] LibVLC: audiotrack hdmi device id has been renamed to "encoded"

Thomas Guillem git at videolan.org
Wed Mar 8 15:07:24 CET 2017


vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Mar  7 18:21:39 2017 +0100| [0f9ca36a5ae79125e7f5c3506246875d88bdae5a] | committer: Thomas Guillem

LibVLC: audiotrack hdmi device id has been renamed to "encoded"

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

 libvlc/src/org/videolan/libvlc/MediaPlayer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libvlc/src/org/videolan/libvlc/MediaPlayer.java b/libvlc/src/org/videolan/libvlc/MediaPlayer.java
index e537523..8b4cfbe 100644
--- a/libvlc/src/org/videolan/libvlc/MediaPlayer.java
+++ b/libvlc/src/org/videolan/libvlc/MediaPlayer.java
@@ -392,7 +392,7 @@ public class MediaPlayer extends VLCObject<MediaPlayer.Event> {
                     return;
                 if (action.equalsIgnoreCase(AudioManager.ACTION_HDMI_AUDIO_PLUG)) {
                     final boolean hasHdmi = intent.getIntExtra(AudioManager.EXTRA_AUDIO_PLUG_STATE, 0) == 1;
-                    setAudioOutputDeviceInternal(hasHdmi ? "hdmi" : "stereo", false);
+                    setAudioOutputDeviceInternal(hasHdmi ? "encoded" : "stereo", false);
                 }
             }
         };



More information about the Android mailing list