gldownloadelement: Remove unused ::finalize() implementation

This commit is contained in:
Sebastian Dröge 2015-04-17 14:05:44 +02:00
parent 53ed701974
commit 758fea90aa

View file

@ -34,7 +34,6 @@ G_DEFINE_TYPE_WITH_CODE (GstGLDownloadElement, gst_gl_download_element,
GST_DEBUG_CATEGORY_INIT (gst_gl_download_element_debug, "gldownloadelement", GST_DEBUG_CATEGORY_INIT (gst_gl_download_element_debug, "gldownloadelement",
0, "download element"); 0, "download element");
); );
static void gst_gl_download_element_finalize (GObject * object);
static gboolean gst_gl_download_element_get_unit_size (GstBaseTransform * trans, static gboolean gst_gl_download_element_get_unit_size (GstBaseTransform * trans,
GstCaps * caps, gsize * size); GstCaps * caps, gsize * size);
@ -83,8 +82,6 @@ gst_gl_download_element_class_init (GstGLDownloadElementClass * klass)
gst_element_class_set_metadata (element_class, gst_element_class_set_metadata (element_class,
"OpenGL uploader", "Filter/Video", "OpenGL uploader", "Filter/Video",
"Uploads data into OpenGL", "Matthew Waters <matthew@centricular.com>"); "Uploads data into OpenGL", "Matthew Waters <matthew@centricular.com>");
G_OBJECT_CLASS (klass)->finalize = gst_gl_download_element_finalize;
} }
static void static void
@ -94,12 +91,6 @@ gst_gl_download_element_init (GstGLDownloadElement * download)
TRUE); TRUE);
} }
static void
gst_gl_download_element_finalize (GObject * object)
{
G_OBJECT_CLASS (gst_gl_download_element_parent_class)->finalize (object);
}
static gboolean static gboolean
gst_gl_download_element_set_caps (GstBaseTransform * bt, GstCaps * in_caps, gst_gl_download_element_set_caps (GstBaseTransform * bt, GstCaps * in_caps,
GstCaps * out_caps) GstCaps * out_caps)