summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2021-03-19 10:36:01 +0200
committerSebastian Dröge <sebastian@centricular.com>2021-03-19 10:36:20 +0200
commit747eaf3634062df850955833299182c4ada97390 (patch)
treef04ac9dbdf2aa2d859475a47b81baf28dc78d41d
parent247b17c0832d2fa7e97e278ee7ddce655e503c49 (diff)
rtspclientsink: Don't run signal class handlers during the CLEANUP stage
It's sufficient to run them during the FIRST stage instead of in both. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/-/merge_requests/193>
-rw-r--r--gst/rtsp-sink/gstrtspclientsink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/rtsp-sink/gstrtspclientsink.c b/gst/rtsp-sink/gstrtspclientsink.c
index 19ef7ec..96b6044 100644
--- a/gst/rtsp-sink/gstrtspclientsink.c
+++ b/gst/rtsp-sink/gstrtspclientsink.c
@@ -754,7 +754,7 @@ gst_rtsp_client_sink_class_init (GstRTSPClientSinkClass * klass)
*/
gst_rtsp_client_sink_signals[SIGNAL_NEW_MANAGER] =
g_signal_new_class_handler ("new-manager", G_TYPE_FROM_CLASS (klass),
- G_SIGNAL_RUN_FIRST | G_SIGNAL_RUN_CLEANUP, 0, NULL, NULL, NULL,
+ G_SIGNAL_RUN_FIRST, 0, NULL, NULL, NULL,
G_TYPE_NONE, 1, GST_TYPE_ELEMENT);
/**
@@ -768,7 +768,7 @@ gst_rtsp_client_sink_class_init (GstRTSPClientSinkClass * klass)
*/
gst_rtsp_client_sink_signals[SIGNAL_NEW_PAYLOADER] =
g_signal_new_class_handler ("new-payloader", G_TYPE_FROM_CLASS (klass),
- G_SIGNAL_RUN_FIRST | G_SIGNAL_RUN_CLEANUP, 0, NULL, NULL, NULL,
+ G_SIGNAL_RUN_FIRST, 0, NULL, NULL, NULL,
G_TYPE_NONE, 1, GST_TYPE_ELEMENT);
/**