diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-11-16 15:18:07 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-11-16 15:43:24 +0100 |
commit | f3b0d2aa9bba6d965f6e97dba991b676e26162af (patch) | |
tree | b8d795feae56ff200b84cbc9159da4f5a71bb334 | |
parent | 451dac7d898e3df31cfaa2528dbf36bfc8cd1625 (diff) |
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.
-rw-r--r-- | gst/rtsp/gstrtspsrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 98fc3de16d..bf88769125 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -3264,7 +3264,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]) { |