From b4d0427ffb421b95433de86c9154b578560f5fac Mon Sep 17 00:00:00 2001 From: Alexander Slobodeniuk Date: Tue, 11 Feb 2025 00:00:23 +0100 Subject: [PATCH] codec2json: fix missing GObject vtable chainups Part-of: --- subprojects/gst-plugins-bad/ext/codec2json/gstav12json.c | 2 ++ subprojects/gst-plugins-bad/ext/codec2json/gsth2642json.c | 2 ++ subprojects/gst-plugins-bad/ext/codec2json/gsth2652json.c | 2 ++ subprojects/gst-plugins-bad/ext/codec2json/gstvp82json.c | 2 ++ 4 files changed, 8 insertions(+) diff --git a/subprojects/gst-plugins-bad/ext/codec2json/gstav12json.c b/subprojects/gst-plugins-bad/ext/codec2json/gstav12json.c index e457d8f252..04951b89ae 100644 --- a/subprojects/gst-plugins-bad/ext/codec2json/gstav12json.c +++ b/subprojects/gst-plugins-bad/ext/codec2json/gstav12json.c @@ -80,6 +80,8 @@ gst_av1_2_json_finalize (GObject * object) gst_av1_parser_free (self->parser); json_object_unref (self->json); + + G_OBJECT_CLASS (gst_av1_2_json_parent_class)->finalize (object); } static gchar * diff --git a/subprojects/gst-plugins-bad/ext/codec2json/gsth2642json.c b/subprojects/gst-plugins-bad/ext/codec2json/gsth2642json.c index 71e245aef0..2d8eee7f70 100644 --- a/subprojects/gst-plugins-bad/ext/codec2json/gsth2642json.c +++ b/subprojects/gst-plugins-bad/ext/codec2json/gsth2642json.c @@ -83,6 +83,8 @@ gst_h264_2_json_finalize (GObject * object) json_object_unref (self->json); gst_h264_nal_parser_free (self->parser); + + G_OBJECT_CLASS (gst_h264_2_json_parent_class)->finalize (object); } static gchar * diff --git a/subprojects/gst-plugins-bad/ext/codec2json/gsth2652json.c b/subprojects/gst-plugins-bad/ext/codec2json/gsth2652json.c index 61e9efdf45..f9b8b3d961 100644 --- a/subprojects/gst-plugins-bad/ext/codec2json/gsth2652json.c +++ b/subprojects/gst-plugins-bad/ext/codec2json/gsth2652json.c @@ -85,6 +85,8 @@ gst_h265_2_json_finalize (GObject * object) json_object_unref (self->json); gst_h265_parser_free (self->parser); g_array_unref (self->split_nalu); + + G_OBJECT_CLASS (gst_h265_2_json_parent_class)->finalize (object); } static gchar * diff --git a/subprojects/gst-plugins-bad/ext/codec2json/gstvp82json.c b/subprojects/gst-plugins-bad/ext/codec2json/gstvp82json.c index e55e070f8b..89f3fa7245 100644 --- a/subprojects/gst-plugins-bad/ext/codec2json/gstvp82json.c +++ b/subprojects/gst-plugins-bad/ext/codec2json/gstvp82json.c @@ -81,6 +81,8 @@ gst_vp8_2_json_finalize (GObject * object) GstVp82json *self = GST_VP8_2_JSON (object); json_object_unref (self->json); + + G_OBJECT_CLASS (parent_class)->finalize (object); } static gchar *