wasapi2: Tone down activation fail log
If there's no endpoint available, that failure is expected error Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9521>
This commit is contained in:
parent
e0146536ab
commit
42758aac2c
@ -92,10 +92,10 @@ Wasapi2ActivationHandler::ActivateCompleted (IActivateAudioInterfaceAsyncOperati
|
||||
HRESULT activate_hr = S_OK;
|
||||
hr = op->GetActivateResult (&activate_hr, &iface);
|
||||
if (!gst_wasapi2_result (hr))
|
||||
GST_ERROR ("Couldn't get activate result, hr: 0x%x", (guint) hr);
|
||||
GST_WARNING ("Couldn't get activate result, hr: 0x%x", (guint) hr);
|
||||
|
||||
if (!gst_wasapi2_result (activate_hr)) {
|
||||
GST_ERROR ("GetActivateResult failed, hr: 0x%x", (guint) activate_hr);
|
||||
GST_WARNING ("GetActivateResult failed, hr: 0x%x", (guint) activate_hr);
|
||||
hr = activate_hr;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user