Skip to content
Snippets Groups Projects
Commit aa70f067 authored by Thomas Guillem's avatar Thomas Guillem
Browse files

VLCOptions: remove useless null check

parent 85bd147d
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@ 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 != null && chroma.equals("YV12"))
if (chroma.equals("YV12"))
chroma = "";
final boolean verboseMode = pref.getBoolean("enable_verbose_mode", true);
......@@ -96,7 +96,7 @@ public class VLCOptions {
if (networkCaching > 0)
options.add("--network-caching=" + networkCaching);
options.add("--android-display-chroma");
options.add(chroma != null ? chroma : "RV32");
options.add(chroma);
options.add("--audio-resampler");
options.add(getResampler());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment