libobs-d3d11: Use debug log if duplicator fails to create

The duplicator is supposed to be able to safely fail to create, so using
a debug log message is more appropriate.
master
jp9000 2015-11-16 11:11:16 -08:00
parent 34bbc444eb
commit fd591fbd45
1 changed files with 2 additions and 2 deletions

View File

@ -129,12 +129,12 @@ EXPORT gs_duplicator_t *device_duplicator_create(gs_device_t *device,
duplicator = new gs_duplicator(device, monitor_idx);
} catch (const char *error) {
blog(LOG_ERROR, "device_duplicator_create: %s",
blog(LOG_DEBUG, "device_duplicator_create: %s",
error);
return nullptr;
} catch (HRError error) {
blog(LOG_ERROR, "device_duplicator_create: %s (%08lX)",
blog(LOG_DEBUG, "device_duplicator_create: %s (%08lX)",
error.str, error.hr);
return nullptr;
}