From 8af91be222c3c9cb7ed430cfe29b29ea148f290a Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Wed, 16 Dec 2020 00:28:08 +0530 Subject: [PATCH] mediafoundation: Fix redefinition of variables. Remove duplicate GstMFDevice and GstMFDeviceProvider declaration. Part-of: --- sys/mediafoundation/gstmfdevice.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/mediafoundation/gstmfdevice.h b/sys/mediafoundation/gstmfdevice.h index 1558b03c96..6a0963d9b0 100644 --- a/sys/mediafoundation/gstmfdevice.h +++ b/sys/mediafoundation/gstmfdevice.h @@ -31,9 +31,6 @@ G_DECLARE_FINAL_TYPE (GstMFDevice, gst_mf_device, GST, MF_DEVICE, GstDevice); G_DECLARE_FINAL_TYPE (GstMFDeviceProvider, gst_mf_device_provider, GST, MF_DEVICE_PROVIDER, GstDeviceProvider); -G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstMFDevice, gst_object_unref) -G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstMFDeviceProvider, gst_object_unref) - G_END_DECLS -#endif /* __GST_MF_DEVICE_H__ */ \ No newline at end of file +#endif /* __GST_MF_DEVICE_H__ */