mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 11:33:06 +00:00
Generate a better message when a decoder fails to initialize
This commit is contained in:
parent
e7f1b822f7
commit
1bb9a13c17
@ -152,7 +152,7 @@ public class VideoStream {
|
||||
// Setup the decoder and renderer
|
||||
if (!setupDecoderRenderer(decRend, renderTarget, drFlags)) {
|
||||
// Nothing to cleanup here
|
||||
return false;
|
||||
throw new IOException("Video decoder failed to initialize. Please restart your device and try again.");
|
||||
}
|
||||
|
||||
// Open RTP sockets and start session
|
||||
|
Loading…
x
Reference in New Issue
Block a user