mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-03 11:17:10 +00:00
[host] app: report the full capture name to the client
This commit is contained in:
parent
efa49391fc
commit
ccdf7b7c0e
2 changed files with 8 additions and 2 deletions
|
@ -64,7 +64,13 @@ static CaptureResult dxgi_releaseFrame();
|
||||||
|
|
||||||
static const char * dxgi_getName(void)
|
static const char * dxgi_getName(void)
|
||||||
{
|
{
|
||||||
return "DXGI";
|
if (!this)
|
||||||
|
return "DXGI";
|
||||||
|
|
||||||
|
static char name[64];
|
||||||
|
snprintf(name, sizeof(name), "DXGI %s", this->backend->name);
|
||||||
|
|
||||||
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void dxgi_initOptions(void)
|
static void dxgi_initOptions(void)
|
||||||
|
|
|
@ -583,7 +583,7 @@ static bool newKVMFRData(KVMFRUserData * dst)
|
||||||
const uint8_t * uuid = os_getUUID();
|
const uint8_t * uuid = os_getUUID();
|
||||||
memcpy(vmInfo.uuid, uuid, 16);
|
memcpy(vmInfo.uuid, uuid, 16);
|
||||||
|
|
||||||
strncpy(vmInfo.capture, app.iface->shortName, sizeof(vmInfo.capture) - 1);
|
strncpy(vmInfo.capture, app.iface->getName(), sizeof(vmInfo.capture) - 1);
|
||||||
|
|
||||||
const int modelLen = strlen(model) + 1;
|
const int modelLen = strlen(model) + 1;
|
||||||
const KVMFRRecord record =
|
const KVMFRRecord record =
|
||||||
|
|
Loading…
Reference in a new issue