rtspsrc: make fakesrc silent

Make the fakesrc that is responsible for sending dummy packets silent.
This commit is contained in:
Wim Taymans 2009-05-24 19:32:17 +02:00 committed by Wim Taymans
parent 5d3168e558
commit 047618849a

View file

@ -2263,7 +2263,7 @@ gst_rtspsrc_stream_configure_udp_sinks (GstRTSPSrc * src,
g_object_set (G_OBJECT (stream->fakesrc), "filltype", 3, "num-buffers", 5, g_object_set (G_OBJECT (stream->fakesrc), "filltype", 3, "num-buffers", 5,
NULL); NULL);
g_object_set (G_OBJECT (stream->fakesrc), "sizetype", 2, "sizemax", 200, g_object_set (G_OBJECT (stream->fakesrc), "sizetype", 2, "sizemax", 200,
NULL); "silent", TRUE, NULL);
/* we don't want to consider this a sink */ /* we don't want to consider this a sink */
GST_OBJECT_FLAG_UNSET (stream->udpsink[0], GST_ELEMENT_IS_SINK); GST_OBJECT_FLAG_UNSET (stream->udpsink[0], GST_ELEMENT_IS_SINK);