mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
gst/rtsp/gstrtspsrc.c: When activated, remove the udpsrc timeout, we have dataflow and timeouts will later be handled...
Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_activate_streams): When activated, remove the udpsrc timeout, we have dataflow and timeouts will later be handled by the jitterbuffer.
This commit is contained in:
parent
7eb71ea0e0
commit
beef8e0136
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2007-03-09 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_activate_streams):
|
||||||
|
When activated, remove the udpsrc timeout, we have dataflow and timeouts
|
||||||
|
will later be handled by the jitterbuffer.
|
||||||
|
|
||||||
2007-03-09 Wim Taymans <wim@fluendo.com>
|
2007-03-09 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* ext/taglib/gstid3v2mux.cc:
|
* ext/taglib/gstid3v2mux.cc:
|
||||||
|
|
|
@ -1174,6 +1174,11 @@ gst_rtspsrc_activate_streams (GstRTSPSrc * src)
|
||||||
for (walk = src->streams; walk; walk = g_list_next (walk)) {
|
for (walk = src->streams; walk; walk = g_list_next (walk)) {
|
||||||
GstRTSPStream *stream = (GstRTSPStream *) walk->data;
|
GstRTSPStream *stream = (GstRTSPStream *) walk->data;
|
||||||
|
|
||||||
|
if (stream->udpsrc[0]) {
|
||||||
|
/* remove timeout, we are streaming now and timeouts will be handled by
|
||||||
|
* the session manager and jitter buffer */
|
||||||
|
g_object_set (G_OBJECT (stream->udpsrc[0]), "timeout", (guint64) 0, NULL);
|
||||||
|
}
|
||||||
if (stream->srcpad) {
|
if (stream->srcpad) {
|
||||||
gst_pad_set_active (stream->srcpad, TRUE);
|
gst_pad_set_active (stream->srcpad, TRUE);
|
||||||
/* add the pad */
|
/* add the pad */
|
||||||
|
|
Loading…
Reference in a new issue