Fix exception during video renderer startup

This commit is contained in:
Iwan Timmer
2015-03-09 13:10:37 +01:00
parent 514cbd9d49
commit 47cb814527
3 changed files with 4 additions and 4 deletions

View File

@@ -61,7 +61,7 @@ public class FakeVideoRenderer extends VideoDecoderRenderer {
@Override
public boolean start(VideoDepacketizer depacketizer) {
throw new UnsupportedOperationException("CAPABILITY_DIRECT_SUBMIT requires directSubmitDecodeUnit()");
return true;
}
@Override

View File

@@ -45,8 +45,8 @@ public class ImxDecoderRenderer extends VideoDecoderRenderer {
}
@Override
public boolean start(VideoDepacketizer depacketizer) {
throw new UnsupportedOperationException("CAPABILITY_DIRECT_SUBMIT requires directSubmitDecodeUnit()");
public boolean start(VideoDepacketizer depacketizer) {
return true;
}
@Override

View File

@@ -89,7 +89,7 @@ public class OmxDecoderRenderer extends VideoDecoderRenderer {
@Override
public boolean start(VideoDepacketizer depacketizer) {
throw new UnsupportedOperationException("CAPABILITY_DIRECT_SUBMIT requires directSubmitDecodeUnit()");
return true;
}
@Override