From 0b102d22ecdda5416fbab9a07ec525edd47fff5c Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Wed, 29 Apr 2020 19:42:05 +0900 Subject: [PATCH] webrtc: Correct symbol visibility to fix build warning on Windows GstWebRTCDataChannel is fully internal of plugin webrtcdatachannel.c(50): warning C4273: 'gst_webrtc_data_channel_get_type': inconsistent dll linkage Part-of: --- ext/webrtc/webrtcdatachannel.h | 1 - 1 file changed, 1 deletion(-) diff --git a/ext/webrtc/webrtcdatachannel.h b/ext/webrtc/webrtcdatachannel.h index b054ed4b83..6fd1536b98 100644 --- a/ext/webrtc/webrtcdatachannel.h +++ b/ext/webrtc/webrtcdatachannel.h @@ -27,7 +27,6 @@ G_BEGIN_DECLS -GST_WEBRTC_API GType gst_webrtc_data_channel_get_type(void); #define GST_TYPE_WEBRTC_DATA_CHANNEL (gst_webrtc_data_channel_get_type()) #define GST_WEBRTC_DATA_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_WEBRTC_DATA_CHANNEL,GstWebRTCDataChannel)) -- 2.34.1