mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
gl: Remove some empty ::finalize() implementations
This commit is contained in:
parent
c4713af2ef
commit
bff8cde2ea
5 changed files with 0 additions and 42 deletions
|
@ -41,7 +41,6 @@ static void gst_gl_base_mixer_pad_get_property (GObject * object, guint prop_id,
|
|||
GValue * value, GParamSpec * pspec);
|
||||
static void gst_gl_base_mixer_pad_set_property (GObject * object, guint prop_id,
|
||||
const GValue * value, GParamSpec * pspec);
|
||||
static void gst_gl_base_mixer_pad_finalize (GObject * object);
|
||||
|
||||
static void gst_gl_base_mixer_set_context (GstElement * element,
|
||||
GstContext * context);
|
||||
|
@ -81,19 +80,11 @@ gst_gl_base_mixer_pad_class_init (GstGLBaseMixerPadClass * klass)
|
|||
gobject_class->set_property = gst_gl_base_mixer_pad_set_property;
|
||||
gobject_class->get_property = gst_gl_base_mixer_pad_get_property;
|
||||
|
||||
gobject_class->finalize = gst_gl_base_mixer_pad_finalize;
|
||||
|
||||
vaggpad_class->set_info = NULL;
|
||||
vaggpad_class->prepare_frame = NULL;
|
||||
vaggpad_class->clean_frame = NULL;
|
||||
}
|
||||
|
||||
static void
|
||||
gst_gl_base_mixer_pad_finalize (GObject * object)
|
||||
{
|
||||
G_OBJECT_CLASS (gst_gl_base_mixer_pad_parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
static void
|
||||
gst_gl_base_mixer_pad_get_property (GObject * object, guint prop_id,
|
||||
GValue * value, GParamSpec * pspec)
|
||||
|
|
|
@ -48,7 +48,6 @@ G_DEFINE_TYPE_WITH_CODE (GstGLFilterBin, gst_gl_filter_bin,
|
|||
GST_TYPE_BIN, GST_DEBUG_CATEGORY_INIT (gst_gl_filter_bin_debug,
|
||||
"glfilterbin", 0, "glfilterbin element"););
|
||||
|
||||
static void gst_gl_filter_bin_finalize (GObject * object);
|
||||
static void gst_gl_filter_bin_get_property (GObject * object, guint prop_id,
|
||||
GValue * value, GParamSpec * pspec);
|
||||
static void gst_gl_filter_bin_set_property (GObject * object, guint prop_id,
|
||||
|
@ -78,7 +77,6 @@ gst_gl_filter_bin_class_init (GstGLFilterBinClass * klass)
|
|||
|
||||
gobject_class->set_property = gst_gl_filter_bin_set_property;
|
||||
gobject_class->get_property = gst_gl_filter_bin_get_property;
|
||||
gobject_class->finalize = gst_gl_filter_bin_finalize;
|
||||
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&_src_pad_template));
|
||||
|
@ -236,12 +234,6 @@ gst_gl_filter_bin_set_property (GObject * object, guint prop_id,
|
|||
}
|
||||
}
|
||||
|
||||
static void
|
||||
gst_gl_filter_bin_finalize (GObject * object)
|
||||
{
|
||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
static GstStateChangeReturn
|
||||
gst_gl_filter_bin_change_state (GstElement * element, GstStateChange transition)
|
||||
{
|
||||
|
|
|
@ -42,7 +42,6 @@ static void gst_gl_mixer_pad_get_property (GObject * object, guint prop_id,
|
|||
GValue * value, GParamSpec * pspec);
|
||||
static void gst_gl_mixer_pad_set_property (GObject * object, guint prop_id,
|
||||
const GValue * value, GParamSpec * pspec);
|
||||
static void gst_gl_mixer_pad_finalize (GObject * object);
|
||||
|
||||
enum
|
||||
{
|
||||
|
@ -73,19 +72,11 @@ gst_gl_mixer_pad_class_init (GstGLMixerPadClass * klass)
|
|||
gobject_class->set_property = gst_gl_mixer_pad_set_property;
|
||||
gobject_class->get_property = gst_gl_mixer_pad_get_property;
|
||||
|
||||
gobject_class->finalize = gst_gl_mixer_pad_finalize;
|
||||
|
||||
vaggpad_class->set_info = NULL;
|
||||
vaggpad_class->prepare_frame = NULL;
|
||||
vaggpad_class->clean_frame = NULL;
|
||||
}
|
||||
|
||||
static void
|
||||
gst_gl_mixer_pad_finalize (GObject * object)
|
||||
{
|
||||
G_OBJECT_CLASS (gst_gl_mixer_pad_parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
static void
|
||||
gst_gl_mixer_pad_get_property (GObject * object, guint prop_id,
|
||||
GValue * value, GParamSpec * pspec)
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
GST_DEBUG_CATEGORY (gst_debug_gl_sink_bin);
|
||||
#define GST_CAT_DEFAULT gst_debug_gl_sink_bin
|
||||
|
||||
static void gst_gl_sink_bin_finalize (GObject * object);
|
||||
static void gst_gl_sink_bin_set_property (GObject * object, guint prop_id,
|
||||
const GValue * value, GParamSpec * param_spec);
|
||||
static void gst_gl_sink_bin_get_property (GObject * object, guint prop_id,
|
||||
|
@ -88,7 +87,6 @@ gst_gl_sink_bin_class_init (GstGLSinkBinClass * klass)
|
|||
|
||||
gobject_class->set_property = gst_gl_sink_bin_set_property;
|
||||
gobject_class->get_property = gst_gl_sink_bin_get_property;
|
||||
gobject_class->finalize = gst_gl_sink_bin_finalize;
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_FORCE_ASPECT_RATIO,
|
||||
g_param_spec_boolean ("force-aspect-ratio",
|
||||
|
@ -125,12 +123,6 @@ gst_gl_sink_bin_class_init (GstGLSinkBinClass * klass)
|
|||
gst_static_pad_template_get (&gst_gl_sink_bin_template));
|
||||
}
|
||||
|
||||
static void
|
||||
gst_gl_sink_bin_finalize (GObject * object)
|
||||
{
|
||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
static void
|
||||
gst_gl_sink_bin_init (GstGLSinkBin * self)
|
||||
{
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
GST_DEBUG_CATEGORY (gst_debug_gl_src_bin);
|
||||
#define GST_CAT_DEFAULT gst_debug_gl_src_bin
|
||||
|
||||
static void gst_gl_src_bin_finalize (GObject * object);
|
||||
static void gst_gl_src_bin_set_property (GObject * object, guint prop_id,
|
||||
const GValue * value, GParamSpec * param_spec);
|
||||
static void gst_gl_src_bin_get_property (GObject * object, guint prop_id,
|
||||
|
@ -76,7 +75,6 @@ gst_gl_src_bin_class_init (GstGLSrcBinClass * klass)
|
|||
|
||||
gobject_class->set_property = gst_gl_src_bin_set_property;
|
||||
gobject_class->get_property = gst_gl_src_bin_get_property;
|
||||
gobject_class->finalize = gst_gl_src_bin_finalize;
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_SRC,
|
||||
g_param_spec_object ("src",
|
||||
|
@ -108,12 +106,6 @@ gst_gl_src_bin_class_init (GstGLSrcBinClass * klass)
|
|||
gst_static_pad_template_get (&gst_gl_src_bin_template));
|
||||
}
|
||||
|
||||
static void
|
||||
gst_gl_src_bin_finalize (GObject * object)
|
||||
{
|
||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
static void
|
||||
gst_gl_src_bin_init (GstGLSrcBin * self)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue