Fix logging and deadlock on stream termination

This commit is contained in:
Cameron Gutman 2017-05-15 01:06:35 -07:00
parent 8e247ad9a6
commit 36b248be4b
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

@ -1 +1 @@
Subproject commit 67d9f52b6d3a72137f7f2fbbc81fa707befa72a5
Subproject commit e9b406c52e552dca6e3ad98771f5ea1b94363248