mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-24 06:56:26 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -3278,7 +3278,7 @@ gst_rtspsrc_stream_push_event (GstRTSPSrc * src, GstRTSPStream * stream,
|
||||||
gboolean res = TRUE;
|
gboolean res = TRUE;
|
||||||
|
|
||||||
/* only streams that have a connection to the outside world */
|
/* only streams that have a connection to the outside world */
|
||||||
if (stream->srcpad == NULL)
|
if (stream->container || stream->disabled)
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
if (stream->udpsrc[0]) {
|
if (stream->udpsrc[0]) {
|
||||||
|
|
Loading…
Reference in a new issue