[Android] VLCOptions: fix typo breaking chroma option

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:48 2015 +0200| [c5e98c098f82b74b14bb53a58d5e2ead31552c47] | committer: Thomas Guillem

VLCOptions: fix typo breaking chroma option

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

 vlc-android/src/org/videolan/vlc/util/VLCOptions.java |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/util/VLCOptions.java b/vlc-android/src/org/videolan/vlc/util/VLCOptions.java
index 1f3d775..75b9dfc 100644
--- a/vlc-android/src/org/videolan/vlc/util/VLCOptions.java
+++ b/vlc-android/src/org/videolan/vlc/util/VLCOptions.java
@@ -104,7 +104,7 @@ public class VLCOptions {
             options.add("--network-caching=" + networkCaching);
         options.add(aout == AOUT_OPENSLES ? "--aout=opensles" : (aout == AOUT_AUDIOTRACK ? "--aout=android_audiotrack" : "--aout=dummy"));
         options.add("--androidwindow-chroma");
-        options.add(chroma.indexOf(0) == 0 ? chroma : "RV32");
+        options.add(chroma.indexOf(0) != 0 ? chroma : "RV32");
 
         if (sHdmiAudioEnabled) {
             options.add("--spdif");
@@ -213,4 +213,4 @@ public class VLCOptions {
     public static synchronized boolean isAudioHdmiEnabled() {
         return sHdmiAudioEnabled;
     }
-}
\ No newline at end of file
+}



More information about the Android mailing list