mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-26 16:06:52 +00:00
rtsp-server: media: fix locking in gst_rtsp_media_get_dscp_qos()
Fixes #4247 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8551>
This commit is contained in:
parent
1d91616b3c
commit
1b01090e4a
1 changed files with 1 additions and 1 deletions
|
@ -1730,7 +1730,7 @@ gst_rtsp_media_get_dscp_qos (GstRTSPMedia * media)
|
||||||
|
|
||||||
priv = media->priv;
|
priv = media->priv;
|
||||||
|
|
||||||
g_mutex_unlock (&priv->lock);
|
g_mutex_lock (&priv->lock);
|
||||||
res = priv->dscp_qos;
|
res = priv->dscp_qos;
|
||||||
g_mutex_unlock (&priv->lock);
|
g_mutex_unlock (&priv->lock);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue