From bd91bd31939164e1407016725917477f7e9736b1 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 16 Nov 2012 15:18:07 +0100 Subject: [PATCH] rtspsrc: fix check for active streams A stream can be active without a srcpad yet and we want to send events on those streams as well. --- gst/rtsp/gstrtspsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 799edfe..bb13c56 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -3278,7 +3278,7 @@ gst_rtspsrc_stream_push_event (GstRTSPSrc * src, GstRTSPStream * stream, gboolean res = TRUE; /* only streams that have a connection to the outside world */ - if (stream->srcpad == NULL) + if (stream->container || stream->disabled) goto done; if (stream->udpsrc[0]) { -- 2.7.4