Commit be25c988 authored by Seungha Yang's avatar Seungha Yang 🐑

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 ...
parent d289608a
Pipeline #44960 passed with stages
in 38 minutes and 12 seconds
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment