mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-03 15:06:34 +00:00
rtpsession: unlock before emitting signals
This commit is contained in:
parent
6db12cb003
commit
2b53cbe923
1 changed files with 4 additions and 0 deletions
|
@ -1215,9 +1215,13 @@ gst_rtp_session_get_caps_for_pt (GstRtpSession * rtpsession, guint payload)
|
|||
g_value_init (&ret, GST_TYPE_CAPS);
|
||||
g_value_set_boxed (&ret, NULL);
|
||||
|
||||
GST_RTP_SESSION_UNLOCK (rtpsession);
|
||||
|
||||
g_signal_emitv (args, gst_rtp_session_signals[SIGNAL_REQUEST_PT_MAP], 0,
|
||||
&ret);
|
||||
|
||||
GST_RTP_SESSION_LOCK (rtpsession);
|
||||
|
||||
g_value_unset (&args[0]);
|
||||
g_value_unset (&args[1]);
|
||||
caps = (GstCaps *) g_value_dup_boxed (&ret);
|
||||
|
|
Loading…
Reference in a new issue