[Android] Set chroma to YV12 was broken

Zhao Zhili git at videolan.org
Thu Aug 23 15:54:48 CEST 2018


vlc-android | branch: master | Zhao Zhili <quinkblack at foxmail.com> | Wed Aug 22 15:15:34 2018 +0800| [c96b6635427b907a4741dc1f7b5e4d82068b0ca9] | committer: Thomas Guillem

Set chroma to YV12 was broken

Regression from 5d88c8.

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

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

 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 3ec2badbf..02cfe7fb5 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;



More information about the Android mailing list