mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-21 12:03:02 +00:00
Don't dump decoders on start because some devices will throw a spurious IllegalStateException when querying capabilities
This commit is contained in:
parent
9638c15c93
commit
b2eb953f45
@ -123,7 +123,7 @@ public class MediaCodecDecoderRenderer implements VideoDecoderRenderer {
|
|||||||
public void setup(int width, int height, int redrawRate, Object renderTarget, int drFlags) {
|
public void setup(int width, int height, int redrawRate, Object renderTarget, int drFlags) {
|
||||||
this.redrawRate = redrawRate;
|
this.redrawRate = redrawRate;
|
||||||
|
|
||||||
dumpDecoders();
|
//dumpDecoders();
|
||||||
|
|
||||||
MediaCodecInfo safeDecoder = findSafeDecoder();
|
MediaCodecInfo safeDecoder = findSafeDecoder();
|
||||||
if (safeDecoder != null) {
|
if (safeDecoder != null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user