projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11cf4d4
)
rtspsrc: fix check for active streams
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 16 Nov 2012 14:18:07 +0000
(15:18 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 16 Nov 2012 14:22:46 +0000
(15:22 +0100)
A stream can be active without a srcpad yet and we want to send
events on those streams as well.
gst/rtsp/gstrtspsrc.c
patch
|
blob
|
history
diff --git
a/gst/rtsp/gstrtspsrc.c
b/gst/rtsp/gstrtspsrc.c
index
799edfe
..
bb13c56
100644
(file)
--- 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]) {