mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-10-20 15:27:18 +00:00
Fix exception during video renderer startup
This commit is contained in:
1 parent
514cbd9d49
commit
47cb814527
3 files changed
+4
-4
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user