mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-19 11:03:01 +00:00
Add thread names for easier debugging
This commit is contained in:
parent
732ea8a3ac
commit
9be14c3d92
@ -150,6 +150,7 @@ public class NvAudioStream {
|
||||
}
|
||||
};
|
||||
threads.add(t);
|
||||
t.setName("Audio - Depacketizer");
|
||||
t.start();
|
||||
}
|
||||
|
||||
@ -175,6 +176,7 @@ public class NvAudioStream {
|
||||
}
|
||||
};
|
||||
threads.add(t);
|
||||
t.setName("Audio - Player");
|
||||
t.start();
|
||||
}
|
||||
|
||||
@ -206,6 +208,7 @@ public class NvAudioStream {
|
||||
}
|
||||
};
|
||||
threads.add(t);
|
||||
t.setName("Audio - Receive");
|
||||
t.start();
|
||||
}
|
||||
|
||||
@ -240,6 +243,7 @@ public class NvAudioStream {
|
||||
}
|
||||
};
|
||||
threads.add(t);
|
||||
t.setName("Audio - Ping");
|
||||
t.start();
|
||||
}
|
||||
}
|
||||
|
@ -206,6 +206,7 @@ public class NvVideoStream {
|
||||
}
|
||||
};
|
||||
threads.add(t);
|
||||
t.setName("Video - Decoder");
|
||||
t.start();
|
||||
}
|
||||
|
||||
@ -233,6 +234,7 @@ public class NvVideoStream {
|
||||
}
|
||||
};
|
||||
threads.add(t);
|
||||
t.setName("Video - Depacketizer");
|
||||
t.start();
|
||||
}
|
||||
|
||||
@ -264,6 +266,7 @@ public class NvVideoStream {
|
||||
}
|
||||
};
|
||||
threads.add(t);
|
||||
t.setName("Video - Receive");
|
||||
t.start();
|
||||
}
|
||||
|
||||
@ -298,6 +301,7 @@ public class NvVideoStream {
|
||||
}
|
||||
};
|
||||
threads.add(t);
|
||||
t.setName("Video - Ping");
|
||||
t.start();
|
||||
}
|
||||
}
|
||||
|
@ -140,6 +140,7 @@ public class CpuDecoderRenderer implements DecoderRenderer {
|
||||
}
|
||||
}
|
||||
};
|
||||
rendererThread.setName("Video - Renderer (CPU)");
|
||||
rendererThread.start();
|
||||
}
|
||||
|
||||
|
@ -120,6 +120,7 @@ public class MediaCodecDecoderRenderer implements DecoderRenderer {
|
||||
}
|
||||
}
|
||||
};
|
||||
rendererThread.setName("Video - Renderer (MediaCodec)");
|
||||
rendererThread.start();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user