Name the spinner threads so they are easily identified

This commit is contained in:
Cameron Gutman 2017-05-31 19:05:25 -07:00
parent 08bcd97594
commit d06912e81a

View File

@ -366,6 +366,7 @@ public class MediaCodecDecoderRenderer extends VideoDecoderRenderer {
} }
} }
}; };
spinnerThreads[i].setName("Spinner-"+i);
spinnerThreads[i].setPriority(Thread.MIN_PRIORITY); spinnerThreads[i].setPriority(Thread.MIN_PRIORITY);
spinnerThreads[i].start(); spinnerThreads[i].start();
} }