mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
rtsp: use gst_object_unref on GstObjects
This commit is contained in:
parent
6b36241816
commit
d43a31055e
2 changed files with 2 additions and 2 deletions
|
@ -580,7 +580,7 @@ rtsp_media_factory_uri_create_element (GstRTSPMediaFactory * factory,
|
||||||
no_uridecodebin:
|
no_uridecodebin:
|
||||||
{
|
{
|
||||||
g_critical ("can't create uridecodebin element");
|
g_critical ("can't create uridecodebin element");
|
||||||
g_object_unref (element);
|
gst_object_unref (element);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -665,7 +665,7 @@ gst_rtsp_media_collect_streams (GstRTSPMedia * media)
|
||||||
pad = gst_element_get_static_pad (elem, "src");
|
pad = gst_element_get_static_pad (elem, "src");
|
||||||
/* create the stream */
|
/* create the stream */
|
||||||
gst_rtsp_media_create_stream (media, elem, pad);
|
gst_rtsp_media_create_stream (media, elem, pad);
|
||||||
g_object_unref (pad);
|
gst_object_unref (pad);
|
||||||
|
|
||||||
gst_object_unref (elem);
|
gst_object_unref (elem);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue