Don't dump decoders on start because some devices will throw a spurious IllegalStateException when querying capabilities

This commit is contained in:
Cameron Gutman 2014-03-28 20:06:53 -04:00
parent 9638c15c93
commit b2eb953f45

View File

@ -123,7 +123,7 @@ public class MediaCodecDecoderRenderer implements VideoDecoderRenderer {
public void setup(int width, int height, int redrawRate, Object renderTarget, int drFlags) {
this.redrawRate = redrawRate;
dumpDecoders();
//dumpDecoders();
MediaCodecInfo safeDecoder = findSafeDecoder();
if (safeDecoder != null) {