mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-20 00:51:32 -08:00
Name decoder threads
This commit is contained in:
1 parent
d40c37fd58
commit
b77f877f46
5 files changed
+9
-4
No files matched your search
@@ -413,6 +413,7 @@ decoder::decoder(
|
||||
VkPhysicalDevice physical_device,
|
||||
const xrt::drivers::wivrn::to_headset::video_stream_description::item & description,
|
||||
float fps,
|
||||
uint8_t stream_index,
|
||||
std::weak_ptr<scenes::stream> weak_scene,
|
||||
shard_accumulator * accumulator) :
|
||||
description(description), fps(fps), device(device), weak_scene(weak_scene), accumulator(accumulator)
|
||||
@@ -451,6 +452,7 @@ decoder::decoder(
|
||||
}
|
||||
}
|
||||
});
|
||||
pthread_setname_np(output_releaser.native_handle(), ("decoder-" + std::to_string(stream_index)).c_str());
|
||||
}
|
||||
|
||||
decoder::~decoder()
|
||||
|
||||
Reference in new issue
Block a user