wasapi: Don't cast GstDeviceProvider to GstElement
authorSeungha Yang <seungha.yang@navercorp.com>
Tue, 17 Sep 2019 11:29:03 +0000 (20:29 +0900)
committerSebastian Dröge <slomo@coaxion.net>
Mon, 14 Oct 2019 14:43:59 +0000 (14:43 +0000)
commitbaaa965ebca383a04927e37d4455bdd450b07a92
treeea05922c5e8f9336536b07d8acbf7b98aea15624
parentf218ec279449ece51faf86e0df7032aa02eb831f
wasapi: Don't cast GstDeviceProvider to GstElement

The GstDeviceProvider isn't subclass of GstElement.

(gst-device-monitor-1.0:49356): GLib-GObject-WARNING **: 20:21:18.651:
invalid cast from 'GstWasapiDeviceProvider' to 'GstElement'
sys/wasapi/gstwasapidevice.c
sys/wasapi/gstwasapiutil.c
sys/wasapi/gstwasapiutil.h