rtp: Fix incompatible type build warning

Use GstURIType instead of guint

../subprojects/gst-plugins-bad/gst/rtp/gstrtpsink.c(575):
    warning C4133: '=': incompatible types ...

../subprojects/gst-plugins-bad/gst/rtp/gstrtpsrc.c(725):
    warning C4133: '=': incompatible types ...
This commit is contained in:
Seungha Yang 2019-06-26 19:53:51 +09:00
parent d289608a99
commit be25c988fd
2 changed files with 2 additions and 2 deletions

View file

@ -534,7 +534,7 @@ gst_rtp_sink_init (GstRtpSink * self)
g_mutex_init (&self->lock);
}
static guint
static GstURIType
gst_rtp_sink_uri_get_type (GType type)
{
return GST_URI_SINK;

View file

@ -684,7 +684,7 @@ gst_rtp_src_init (GstRtpSrc * self)
g_mutex_init (&self->lock);
}
static guint
static GstURIType
gst_rtp_src_uri_get_type (GType type)
{
return GST_URI_SRC;