mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
Don't use name for gstrtpbin so we can add multiple instances to the pipeline
This commit is contained in:
parent
833a3d467c
commit
1a3e5b369c
1 changed files with 1 additions and 1 deletions
|
@ -1281,7 +1281,7 @@ gst_rtsp_media_prepare (GstRTSPMedia *media)
|
|||
klass = GST_RTSP_MEDIA_GET_CLASS (media);
|
||||
media->id = g_source_attach (media->source, klass->context);
|
||||
|
||||
media->rtpbin = gst_element_factory_make ("gstrtpbin", "rtpbin");
|
||||
media->rtpbin = gst_element_factory_make ("gstrtpbin", NULL);
|
||||
|
||||
/* add stuff to the bin */
|
||||
gst_bin_add (GST_BIN (media->pipeline), media->rtpbin);
|
||||
|
|
Loading…
Reference in a new issue