Commit 9aee406c by Alex Telitsine

Disables codecIsAdaptive for Odroid-XU4, comment updated

parent c40b8156
...@@ -1171,14 +1171,14 @@ public abstract class MediaCodecRenderer extends BaseRenderer { ...@@ -1171,14 +1171,14 @@ public abstract class MediaCodecRenderer extends BaseRenderer {
&& "OMX.MTK.AUDIO.DECODER.MP3".equals(name); && "OMX.MTK.AUDIO.DECODER.MP3".equals(name);
} }
/** /**
* Returns whether the decoder is known to be non adaptive. * Returns whether the decoder is known to be non Adaptive.
* <p> * <p>
* If false is returned then we explicitly override codecIsAdaptive, * If false is returned then we explicitly override codecIsAdaptive,
* setting it to false. * setting it to false.
* *
* @param name The decoder name. * @param name The decoder name.
* @param format The input format. * @param format The input format.
* @return True if the device is known to be non adaptiv . * @return False if the device is known to be non adaptive .
*/ */
private static boolean codecSupportsAdaptive(String name, Format format) { private static boolean codecSupportsAdaptive(String name, Format format) {
return !( return !(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment