mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-04-05 15:36:02 +00:00
Fix logging and deadlock on stream termination
This commit is contained in:
@@ -327,7 +327,7 @@ public class MediaCodecDecoderRenderer extends VideoDecoderRenderer {
|
||||
|
||||
startTime = MediaCodecHelper.getMonotonicMillis();
|
||||
|
||||
while (!rendererThread.isInterrupted() && index < 0) {
|
||||
while (rendererThread.isAlive() && index < 0) {
|
||||
index = videoDecoder.dequeueInputBuffer(500);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user