rtpbasedepayload: 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>
Wed, 27 Jan 2021 08:48:49 +0000 (09:48 +0100)
Typo as we were using the wrong enum.

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

gst-libs/gst/rtp/gstrtpbasedepayload.c

index 00eefcd..2cffef3 100644 (file)
@@ -279,7 +279,7 @@ gst_rtp_base_depayload_class_init (GstRTPBaseDepayloadClass * klass)
    *
    * Since: 1.20
    */
-  gst_rtp_base_depayload_signals[SIGNAL_ADD_EXTENSION] =
+  gst_rtp_base_depayload_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_depayload_clear_extensions), NULL, NULL, NULL,