mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-04-06 16:06:10 +00:00
Bring back the warning displayed if video decoder initialization fails
This commit is contained in:
@@ -440,12 +440,15 @@ public class MediaCodecDecoderRenderer extends VideoDecoderRenderer {
|
||||
startSpinnerThreads();
|
||||
}
|
||||
|
||||
// !!! May be called even if setup()/start() fails !!!
|
||||
public void prepareForStop() {
|
||||
// Let the decoding code know to ignore codec exceptions now
|
||||
stopping = true;
|
||||
|
||||
// Halt the rendering thread
|
||||
rendererThread.interrupt();
|
||||
if (rendererThread != null) {
|
||||
rendererThread.interrupt();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user