mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
rtsp-media: Update priv->blocked when linked streams are unblocked.
Media is considered to be blocked when all streams that belong to that media are blocked. This patch solves the problem of inconsistent updates of priv->blocked that are not synchronized with the media state.
This commit is contained in:
parent
146b3da174
commit
4370f3a901
1 changed files with 3 additions and 0 deletions
|
@ -2572,6 +2572,9 @@ media_unblock_linked (GstRTSPMedia * media)
|
|||
GstRTSPMediaPrivate *priv = media->priv;
|
||||
|
||||
GST_DEBUG ("media %p unblocking linked streams", media);
|
||||
/* media is not blocked any longer, as it contains active streams,
|
||||
* streams that are complete */
|
||||
priv->blocked = FALSE;
|
||||
g_ptr_array_foreach (priv->streams, (GFunc) stream_unblock, media);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue