[Android] [PATCH] Set chroma to YV12 was broken

Zhao quinkblack at foxmail.com
Wed Aug 22 09:15:34 CEST 2018


Regression from 5d88c8.
---
 vlc-android/src/org/videolan/vlc/util/VLCOptions.java | 2 --
 1 file changed, 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 3ec2bad..02cfe7f 100644
--- a/vlc-android/src/org/videolan/vlc/util/VLCOptions.java
+++ b/vlc-android/src/org/videolan/vlc/util/VLCOptions.java
@@ -76,8 +76,6 @@ public class VLCOptions {
         final String subtitlesEncoding = pref.getString("subtitle_text_encoding", "");
         final boolean frameSkip = pref.getBoolean("enable_frame_skip", false);
         String chroma = pref.getString("chroma_format", VLCApplication.getAppResources().getString(R.string.chroma_format_default));
-        if (chroma.equals("YV12"))
-            chroma = "";
         final boolean verboseMode = pref.getBoolean("enable_verbose_mode", true);
 
         int deblocking = -1;
-- 
2.9.5



More information about the Android mailing list