mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
gst/rtsp/gstrtspsrc.c: Check for stream pad before activating.
Original commit message from CVS: Patch by: Lutz Mueller <lutz at topfrose dot de> * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_activate_streams): Check for stream pad before activating.
This commit is contained in:
parent
12ab127d12
commit
cfed610d01
2 changed files with 14 additions and 5 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-01-11 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
Patch by: Lutz Mueller <lutz at topfrose dot de>
|
||||
|
||||
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_activate_streams):
|
||||
Check for stream pad before activating.
|
||||
|
||||
2007-01-10 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
Patch by: Peter Kjellerstedt <pkj at axis com>
|
||||
|
|
|
@ -1122,6 +1122,7 @@ gst_rtspsrc_activate_streams (GstRTSPSrc * src)
|
|||
for (walk = src->streams; walk; walk = g_list_next (walk)) {
|
||||
GstRTSPStream *stream = (GstRTSPStream *) walk->data;
|
||||
|
||||
if (stream->srcpad) {
|
||||
gst_pad_set_active (stream->srcpad, TRUE);
|
||||
/* add the pad */
|
||||
if (!stream->added) {
|
||||
|
@ -1129,6 +1130,7 @@ gst_rtspsrc_activate_streams (GstRTSPSrc * src)
|
|||
stream->added = TRUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* if we got here all was configured. We have dynamic pads so we notify that
|
||||
* we are done */
|
||||
|
|
Loading…
Reference in a new issue