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++) {
|
for (int i = 0; i < availableOutputBufferCount; i++) {
|
||||||
availableOutputBuffers[i] = createOutputBuffer();
|
availableOutputBuffers[i] = createOutputBuffer();
|
||||||
}
|
}
|
||||||
decodeThread = new Thread() {
|
decodeThread =
|
||||||
@Override
|
new Thread("SimpleDecoder:Decode") {
|
||||||
public void run() {
|
@Override
|
||||||
SimpleDecoder.this.run();
|
public void run() {
|
||||||
}
|
SimpleDecoder.this.run();
|
||||||
};
|
}
|
||||||
|
};
|
||||||
decodeThread.start();
|
decodeThread.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user