[Android] Libvlc: replace androidsurface-chroma with androidwindow-chroma

Thomas Guillem git at videolan.org
Mon Jun 22 16:51:33 CEST 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Jun 22 16:50:21 2015 +0200| [4deac9739d60bdc83fe14e12f5032b13d7a51500] | committer: Thomas Guillem

Libvlc: replace androidsurface-chroma with androidwindow-chroma

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=4deac9739d60bdc83fe14e12f5032b13d7a51500
---

 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 a94c6e8..db64267 100644
--- a/libvlc/src/org/videolan/libvlc/LibVLC.java
+++ b/libvlc/src/org/videolan/libvlc/LibVLC.java
@@ -60,7 +60,7 @@ public class LibVLC extends VLCObject<LibVLC.Event> {
             for (String option : options) {
                 if (option.startsWith("--aout="))
                     setAout = false;
-                if (option.startsWith("--androidsurface-chroma"))
+                if (option.startsWith("--androidwindow-chroma"))
                     setChroma = false;
                 if (!setAout && !setChroma)
                     break;
@@ -79,7 +79,7 @@ public class LibVLC extends VLCObject<LibVLC.Event> {
                     options.add("--aout=android_audiotrack");
             }
             if (setChroma) {
-                options.add("--androidsurface-chroma");
+                options.add("--androidwindow-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 f98bb8b..1f3d775 100644
--- a/vlc-android/src/org/videolan/vlc/util/VLCOptions.java
+++ b/vlc-android/src/org/videolan/vlc/util/VLCOptions.java
@@ -103,7 +103,7 @@ public class VLCOptions {
         if (networkCaching > 0)
             options.add("--network-caching=" + networkCaching);
         options.add(aout == AOUT_OPENSLES ? "--aout=opensles" : (aout == AOUT_AUDIOTRACK ? "--aout=android_audiotrack" : "--aout=dummy"));
-        options.add("--androidsurface-chroma");
+        options.add("--androidwindow-chroma");
         options.add(chroma.indexOf(0) == 0 ? chroma : "RV32");
 
         if (sHdmiAudioEnabled) {



More information about the Android mailing list