mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
rtsp-stream: Do not reset 'blocking' if stream is already blocked
https://bugzilla.gnome.org/show_bug.cgi?id=790674
This commit is contained in:
parent
0015791f8f
commit
caa3f1caac
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue