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:
parent
11cf4d4fd3
commit
bd91bd3193
@ -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]) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user