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:
0015791
)
rtsp-stream: Do not reset 'blocking' if stream is already blocked
author
Patricia Muscalu
<patricia@dovakhiin.com>
Sat, 25 Nov 2017 19:32:02 +0000
(20:32 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Mon, 27 Nov 2017 06:58:42 +0000
(07:58 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=790674
gst/rtsp-server/rtsp-stream.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-stream.c
b/gst/rtsp-server/rtsp-stream.c
index
fee99ac
..
94d6197
100644
(file)
--- a/
gst/rtsp-server/rtsp-stream.c
+++ b/
gst/rtsp-server/rtsp-stream.c
@@
-4187,11
+4187,11
@@
set_blocked (GstRTSPStream * stream, gboolean blocked)
priv = stream->priv;
if (blocked) {
- priv->blocking = FALSE;
for (i = 0; i < 2; i++) {
if (priv->blocked_id[i] != 0)
continue;
if (priv->send_src[i]) {
+ priv->blocking = FALSE;
priv->blocked_id[i] = gst_pad_add_probe (priv->send_src[i],
GST_PAD_PROBE_TYPE_BLOCK | GST_PAD_PROBE_TYPE_BUFFER |
GST_PAD_PROBE_TYPE_BUFFER_LIST, pad_blocking,