mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-25 21:40:11 +00:00
Throw a RendererException instead of a bare IllegalStateException upon codec recovery failure
This commit is contained in:
1 parent
bc483edb29
commit
2c498ce707
1 file changed
+1
-1
@@ -617,7 +617,7 @@ public class MediaCodecDecoderRenderer extends VideoDecoderRenderer implements C
|
|||||||
reportedCrash = true;
|
reportedCrash = true;
|
||||||
crashListener.notifyCrash(e);
|
crashListener.notifyCrash(e);
|
||||||
}
|
}
|
||||||
throw e;
|
throw new RendererException(this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user