Disables codecIsAdaptive for Odroid-XU4, comment updated

This commit is contained in:
Alex Telitsine 2017-03-27 04:10:53 -07:00
parent c40b8156e9
commit 9aee406c8e

View file

@ -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 !(