From 50afe8cd13c8e156812da36bed480bf4ccac274d Mon Sep 17 00:00:00 2001 From: Jorge Zapata Date: Sun, 8 Sep 2024 17:39:48 +0200 Subject: [PATCH] Fix signatures --- .../gst-plugins-base/gst-libs/gst/rtp/gstrtpbasedepayload.c | 5 +++-- .../gst-plugins-base/gst-libs/gst/rtp/gstrtpbasepayload.c | 6 ++++-- .../gst-plugins-base/gst-libs/gst/video/gstvideodecoder.c | 5 +++-- subprojects/gst-plugins-good/gst/isomp4/gstqtmux.c | 6 +++--- subprojects/gstreamer/gst/gstpreset.c | 2 +- 5 files changed, 14 insertions(+), 10 deletions(-) diff --git a/subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtpbasedepayload.c b/subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtpbasedepayload.c index 0d814de30c7..78d1d035fdf 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtpbasedepayload.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtpbasedepayload.c @@ -171,7 +171,7 @@ static GstElementClass *parent_class = NULL; static gint private_offset = 0; static void gst_rtp_base_depayload_class_init (GstRTPBaseDepayloadClass * - klass); + klass, gpointer klass_data); static void gst_rtp_base_depayload_init (GstRTPBaseDepayload * rtpbasepayload, GstRTPBaseDepayloadClass * klass); static GstEvent *create_segment_event (GstRTPBaseDepayload * filter, @@ -264,7 +264,8 @@ extension_accumulator (GSignalInvocationHint * ihint, } static void -gst_rtp_base_depayload_class_init (GstRTPBaseDepayloadClass * klass) +gst_rtp_base_depayload_class_init (GstRTPBaseDepayloadClass * klass, + gpointer klass_data) { GObjectClass *gobject_class; GstElementClass *gstelement_class; diff --git a/subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtpbasepayload.c b/subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtpbasepayload.c index 4939001db7b..751ee439c46 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtpbasepayload.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtpbasepayload.c @@ -143,7 +143,8 @@ enum static GParamSpec *gst_rtp_base_payload_extensions_pspec; -static void gst_rtp_base_payload_class_init (GstRTPBasePayloadClass * klass); +static void gst_rtp_base_payload_class_init (GstRTPBasePayloadClass * klass, + gpointer klass_data); static void gst_rtp_base_payload_init (GstRTPBasePayload * rtpbasepayload, gpointer g_class); static void gst_rtp_base_payload_finalize (GObject * object); @@ -261,7 +262,8 @@ extension_accumulator (GSignalInvocationHint * ihint, } static void -gst_rtp_base_payload_class_init (GstRTPBasePayloadClass * klass) +gst_rtp_base_payload_class_init (GstRTPBasePayloadClass * klass, + gpointer klass_data) { GObjectClass *gobject_class; GstElementClass *gstelement_class; diff --git a/subprojects/gst-plugins-base/gst-libs/gst/video/gstvideodecoder.c b/subprojects/gst-plugins-base/gst-libs/gst/video/gstvideodecoder.c index 47f2ec477a9..75866ad0cd1 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/video/gstvideodecoder.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/video/gstvideodecoder.c @@ -469,7 +469,8 @@ static gint private_offset = 0; #define META_TAG_VIDEO meta_tag_video_quark static GQuark meta_tag_video_quark; -static void gst_video_decoder_class_init (GstVideoDecoderClass * klass); +static void gst_video_decoder_class_init (GstVideoDecoderClass * klass, + gpointer klass_data); static void gst_video_decoder_init (GstVideoDecoder * dec, GstVideoDecoderClass * klass); @@ -585,7 +586,7 @@ gst_video_decoder_get_instance_private (GstVideoDecoder * self) } static void -gst_video_decoder_class_init (GstVideoDecoderClass * klass) +gst_video_decoder_class_init (GstVideoDecoderClass * klass, gpointer klass_data) { GObjectClass *gobject_class; GstElementClass *gstelement_class; diff --git a/subprojects/gst-plugins-good/gst/isomp4/gstqtmux.c b/subprojects/gst-plugins-good/gst/isomp4/gstqtmux.c index 517f1fd4de7..57a9938c120 100644 --- a/subprojects/gst-plugins-good/gst/isomp4/gstqtmux.c +++ b/subprojects/gst-plugins-good/gst/isomp4/gstqtmux.c @@ -467,7 +467,7 @@ gst_qt_mux_base_init (gpointer g_class) } static void -gst_qt_mux_class_init (GstQTMuxClass * klass) +gst_qt_mux_class_init (GstQTMuxClass * klass, gpointer klass_data) { GObjectClass *gobject_class; GstElementClass *gstelement_class; @@ -7510,7 +7510,7 @@ gst_qt_mux_subclass_get_property (GObject * object, } static void -gst_qt_mux_subclass_class_init (GstQTMuxClass * klass) +gst_qt_mux_subclass_class_init (GstQTMuxClass * klass, gpointer klass_data) { GObjectClass *gobject_class = (GObjectClass *) klass; GParamFlags streamable_flags; @@ -7539,7 +7539,7 @@ gst_qt_mux_subclass_class_init (GstQTMuxClass * klass) } static void -gst_qt_mux_subclass_init (GstQTMux * qtmux) +gst_qt_mux_subclass_init (GstQTMux * qtmux, GstQTMuxClass * klass) { } diff --git a/subprojects/gstreamer/gst/gstpreset.c b/subprojects/gstreamer/gst/gstpreset.c index ed25b5bd080..a1a99b87ea6 100644 --- a/subprojects/gstreamer/gst/gstpreset.c +++ b/subprojects/gstreamer/gst/gstpreset.c @@ -1267,7 +1267,7 @@ gst_preset_is_editable (GstPreset * preset) /* class internals */ static void -gst_preset_class_init (GstPresetInterface * iface) +gst_preset_class_init (GstPresetInterface * iface, gpointer iface_data) { iface->get_preset_names = gst_preset_default_get_preset_names; iface->get_property_names = gst_preset_default_get_property_names;