rtp: fix clear-extensions signal definition
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Mon, 25 Jan 2021 13:25:45 +0000 (14:25 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>
Mon, 25 Jan 2021 13:28:12 +0000 (14:28 +0100)
Typo as we were using the wrong enum.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1018>

gst-libs/gst/rtp/gstrtpbasepayload.c

index 54fac56..e40c6c6 100644 (file)
@@ -423,7 +423,7 @@ gst_rtp_base_payload_class_init (GstRTPBasePayloadClass * klass)
    *
    * Since: 1.20
    */
-  gst_rtp_base_payload_signals[SIGNAL_ADD_EXTENSION] =
+  gst_rtp_base_payload_signals[SIGNAL_CLEAR_EXTENSIONS] =
       g_signal_new_class_handler ("clear-extensions", G_TYPE_FROM_CLASS (klass),
       G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
       G_CALLBACK (gst_rtp_base_payload_clear_extensions), NULL, NULL, NULL,