mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-21 07:46:57 +00:00
Generate a better message when a decoder fails to initialize
This commit is contained in:
1 parent
e7f1b822f7
commit
1bb9a13c17
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user