mirror of
https://github.com/androidx/media.git
synced 2025-05-14 02:59:52 +08:00
give SimpleDecoder's thread a name.
PiperOrigin-RevId: 291401328
This commit is contained in:
parent
accbc5bba5
commit
3fc61de7f7
@ -62,12 +62,13 @@ public abstract class SimpleDecoder<
|
||||
for (int i = 0; i < availableOutputBufferCount; i++) {
|
||||
availableOutputBuffers[i] = createOutputBuffer();
|
||||
}
|
||||
decodeThread = new Thread() {
|
||||
@Override
|
||||
public void run() {
|
||||
SimpleDecoder.this.run();
|
||||
}
|
||||
};
|
||||
decodeThread =
|
||||
new Thread("SimpleDecoder:Decode") {
|
||||
@Override
|
||||
public void run() {
|
||||
SimpleDecoder.this.run();
|
||||
}
|
||||
};
|
||||
decodeThread.start();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user