diff --git a/subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c b/subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c index bea0278cce..3986798fb0 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.c @@ -351,10 +351,9 @@ gst_app_sink_class_init (GstAppSinkClass * klass) * Since: 1.24 */ gst_app_sink_signals[SIGNAL_PROPOSE_ALLOCATION] = - g_signal_new ("propose-allocation", G_TYPE_FROM_CLASS (klass), - G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstAppSinkClass, propose_allocation), - NULL, NULL, NULL, G_TYPE_BOOLEAN, 1, - GST_TYPE_QUERY | G_SIGNAL_TYPE_STATIC_SCOPE); + g_signal_new_class_handler ("propose-allocation", + G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, NULL, NULL, NULL, NULL, + G_TYPE_BOOLEAN, 1, GST_TYPE_QUERY | G_SIGNAL_TYPE_STATIC_SCOPE); /** * GstAppSink::new-serialized-event: * @appsink: the appsink element that emitted the signal diff --git a/subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.h b/subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.h index 050bb2d400..3cb38dc2d5 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.h +++ b/subprojects/gst-plugins-base/gst-libs/gst/app/gstappsink.h @@ -123,16 +123,8 @@ struct _GstAppSinkClass */ GstMiniObject * (*try_pull_object) (GstAppSink *appsink, GstClockTime timeout); - /** - * GstAppSinkClass::propose_allocation: - * - * See #GstAppSink::propose-allocation: signal. - * - * Since: 1.24 - */ - gboolean (*propose_allocation) (GstAppSink *appsink, GstQuery *query); /*< private >*/ - gpointer _gst_reserved[GST_PADDING - 4]; + gpointer _gst_reserved[GST_PADDING - 3]; }; GST_APP_API