[Android] LibVLC: update with last android-window rename

Thomas Guillem git at videolan.org
Mon Nov 28 16:39:08 CET 2016


vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri May 27 17:38:26 2016 +0200| [202fe3691db98cd8a7ac6d428417c51949638dae] | committer: Thomas Guillem

LibVLC: update with last android-window rename

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

 libvlc/src/org/videolan/libvlc/LibVLC.java            | 4 ++--
 vlc-android/src/org/videolan/vlc/util/VLCOptions.java | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libvlc/src/org/videolan/libvlc/LibVLC.java b/libvlc/src/org/videolan/libvlc/LibVLC.java
index 04f2292..ea3a5ad 100644
--- a/libvlc/src/org/videolan/libvlc/LibVLC.java
+++ b/libvlc/src/org/videolan/libvlc/LibVLC.java
@@ -52,7 +52,7 @@ public class LibVLC extends VLCObject<LibVLC.Event> {
             for (String option : options) {
                 if (option.startsWith("--aout="))
                     setAout = false;
-                if (option.startsWith("--androidwindow-chroma"))
+                if (option.startsWith("--android-display-chroma"))
                     setChroma = false;
                 if (!setAout && !setChroma)
                     break;
@@ -71,7 +71,7 @@ public class LibVLC extends VLCObject<LibVLC.Event> {
                     options.add("--aout=android_audiotrack");
             }
             if (setChroma) {
-                options.add("--androidwindow-chroma");
+                options.add("--android-display-chroma");
                 options.add("RV32");
             }
         }
diff --git a/vlc-android/src/org/videolan/vlc/util/VLCOptions.java b/vlc-android/src/org/videolan/vlc/util/VLCOptions.java
index bf0d768..454e4b8 100644
--- a/vlc-android/src/org/videolan/vlc/util/VLCOptions.java
+++ b/vlc-android/src/org/videolan/vlc/util/VLCOptions.java
@@ -95,7 +95,7 @@ public class VLCOptions {
         /* XXX: why can't the default be fine ? #7792 */
         if (networkCaching > 0)
             options.add("--network-caching=" + networkCaching);
-        options.add("--androidwindow-chroma");
+        options.add("--android-display-chroma");
         options.add(chroma != null ? chroma : "RV32");
         options.add("--audio-resampler");
         options.add(getResampler());



More information about the Android mailing list