From 4d54673cb49185227b1ded774326d9ae015af5bc Mon Sep 17 00:00:00 2001 From: Havard Graff Date: Mon, 30 Apr 2018 08:41:19 +0200 Subject: [PATCH] rtpsession: make "clear-pt-map" action signal actually work Needed for PLI + FIR unit tests in follow-up commit. https://bugzilla.gnome.org/show_bug.cgi?id=795139 --- gst/rtpmanager/gstrtpsession.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gst/rtpmanager/gstrtpsession.c b/gst/rtpmanager/gstrtpsession.c index 4d8922ae96..9434405a19 100644 --- a/gst/rtpmanager/gstrtpsession.c +++ b/gst/rtpmanager/gstrtpsession.c @@ -509,8 +509,9 @@ gst_rtp_session_class_init (GstRtpSessionClass * klass) */ gst_rtp_session_signals[SIGNAL_CLEAR_PT_MAP] = g_signal_new ("clear-pt-map", G_TYPE_FROM_CLASS (klass), - G_SIGNAL_ACTION, G_STRUCT_OFFSET (GstRtpSessionClass, clear_pt_map), - NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0, G_TYPE_NONE); + G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, + G_STRUCT_OFFSET (GstRtpSessionClass, clear_pt_map), + NULL, NULL, g_cclosure_marshal_generic, G_TYPE_NONE, 0, G_TYPE_NONE); /** * GstRtpSession::on-new-ssrc: -- 2.34.1