mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
wasapi: minor cleanup
This commit is contained in:
parent
58479bec37
commit
a87ea01992
1 changed files with 2 additions and 4 deletions
|
@ -312,10 +312,8 @@ gst_wasapi_src_get_property (GObject * object, guint prop_id,
|
|||
static gboolean
|
||||
gst_wasapi_src_can_audioclient3 (GstWasapiSrc * self)
|
||||
{
|
||||
if (self->sharemode == AUDCLNT_SHAREMODE_SHARED &&
|
||||
self->try_audioclient3 && gst_wasapi_util_have_audioclient3 ())
|
||||
return TRUE;
|
||||
return FALSE;
|
||||
return (self->sharemode == AUDCLNT_SHAREMODE_SHARED &&
|
||||
self->try_audioclient3 && gst_wasapi_util_have_audioclient3 ());
|
||||
}
|
||||
|
||||
static GstCaps *
|
||||
|
|
Loading…
Reference in a new issue