From: Maria Giovanna Chiossa Date: Wed, 9 May 2012 13:58:16 +0000 (+0200) Subject: rtspsrc: also set UDP buffer size in multicast X-Git-Tag: 1.19.3~509^2~6871 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=561b131e1a8d850f7e586210220efc063185c23e;p=platform%2Fupstream%2Fgstreamer.git 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 --- diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 0569c65..19f618d 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -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); }