From 344d100b1c3e5ebfca6196caacb5a583624fdc85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 4 Sep 2015 11:29:08 +0100 Subject: [PATCH] hlsdemux: change dispose function to finalize --- ext/hls/gsthlsdemux.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/hls/gsthlsdemux.c b/ext/hls/gsthlsdemux.c index 881b9a585c..c7e9e48307 100644 --- a/ext/hls/gsthlsdemux.c +++ b/ext/hls/gsthlsdemux.c @@ -58,7 +58,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_hls_demux_debug); #define GST_CAT_DEFAULT gst_hls_demux_debug /* GObject */ -static void gst_hls_demux_dispose (GObject * obj); +static void gst_hls_demux_finalize (GObject * obj); /* GstElement */ static GstStateChangeReturn @@ -109,14 +109,14 @@ static gboolean gst_hls_demux_get_live_seek_range (GstAdaptiveDemux * demux, G_DEFINE_TYPE (GstHLSDemux, gst_hls_demux, GST_TYPE_ADAPTIVE_DEMUX); static void -gst_hls_demux_dispose (GObject * obj) +gst_hls_demux_finalize (GObject * obj) { GstHLSDemux *demux = GST_HLS_DEMUX (obj); gst_hls_demux_reset (GST_ADAPTIVE_DEMUX_CAST (demux)); gst_m3u8_client_free (demux->client); - G_OBJECT_CLASS (parent_class)->dispose (obj); + G_OBJECT_CLASS (parent_class)->finalize (obj); } static void @@ -130,7 +130,7 @@ gst_hls_demux_class_init (GstHLSDemuxClass * klass) element_class = (GstElementClass *) klass; adaptivedemux_class = (GstAdaptiveDemuxClass *) klass; - gobject_class->dispose = gst_hls_demux_dispose; + gobject_class->finalize = gst_hls_demux_finalize; element_class->change_state = GST_DEBUG_FUNCPTR (gst_hls_demux_change_state);