mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
rtspsrc: also set UDP buffer size in multicast
Also set the UDP buffer size in multicast mode. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=675448
This commit is contained in:
parent
f879e4e0f0
commit
561b131e1a
1 changed files with 4 additions and 0 deletions
|
@ -2684,6 +2684,10 @@ gst_rtspsrc_stream_configure_mcast (GstRTSPSrc * src, GstRTSPStream * stream,
|
|||
/* take ownership */
|
||||
gst_object_ref_sink (stream->udpsrc[0]);
|
||||
|
||||
if (src->udp_buffer_size != 0)
|
||||
g_object_set (G_OBJECT (stream->udpsrc[0]), "buffer-size",
|
||||
src->udp_buffer_size, NULL);
|
||||
|
||||
/* change state */
|
||||
gst_element_set_state (stream->udpsrc[0], GST_STATE_PAUSED);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue