[Android] Set default color to RV16 (only for old android_display vout)

Thomas Guillem git at videolan.org
Thu Feb 23 12:32:55 CET 2017


vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Feb 23 12:31:42 2017 +0100| [6dec2c4b5b40aabf90948736ee1a78cb35093074] | committer: Thomas Guillem

Set default color to RV16 (only for old android_display vout)

> https://code.videolan.org/videolan/vlc-android/commit/6dec2c4b5b40aabf90948736ee1a78cb35093074
---

 libvlc/src/org/videolan/libvlc/LibVLC.java | 2 +-
 vlc-android/res/values/strings.xml         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libvlc/src/org/videolan/libvlc/LibVLC.java b/libvlc/src/org/videolan/libvlc/LibVLC.java
index 2acd244..0d6d158 100644
--- a/libvlc/src/org/videolan/libvlc/LibVLC.java
+++ b/libvlc/src/org/videolan/libvlc/LibVLC.java
@@ -71,7 +71,7 @@ public class LibVLC extends VLCObject<LibVLC.Event> {
             }
             if (setChroma) {
                 options.add("--android-display-chroma");
-                options.add("RV32");
+                options.add("RV16");
             }
         }
 
diff --git a/vlc-android/res/values/strings.xml b/vlc-android/res/values/strings.xml
index 6baad4f..4f88bfd 100644
--- a/vlc-android/res/values/strings.xml
+++ b/vlc-android/res/values/strings.xml
@@ -660,7 +660,7 @@
         <item>RV16</item>
         <item>YV12</item>
     </string-array>
-    <string name="chroma_format_default" translatable="false">RV32</string>
+    <string name="chroma_format_default" translatable="false">RV16</string>
     <string name="network_favorites">Network favorites</string>
     <string name="network_shared_folders">Shared folders</string>
     <string name="encryption_warning">Warning, encryption is not available for this Android version, password will be stored in a private space but not encrypted</string>



More information about the Android mailing list