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.
This commit is contained in:
Wim Taymans 2012-11-16 15:18:07 +01:00
parent 11cf4d4fd3
commit bd91bd3193

View file

@ -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]) {