geometrictransform: G_DEFINE_TYPE() already calls g_type_class_peek_parent() for us

This commit is contained in:
Sebastian Dröge 2013-12-02 10:28:28 +01:00
parent 426c26f708
commit 9945e2bee6
16 changed files with 0 additions and 33 deletions

View file

@ -167,8 +167,6 @@ gst_bulge_class_init (GstBulgeClass * klass)
gstelement_class = (GstElementClass *) klass;
gstgt_class = (GstGeometricTransformClass *) klass;
parent_class = g_type_class_peek_parent (klass);
gst_element_class_set_static_metadata (gstelement_class,
"bulge",
"Transform/Effect/Video",

View file

@ -182,8 +182,6 @@ gst_circle_class_init (GstCircleClass * klass)
gstelement_class = (GstElementClass *) klass;
gstgt_class = (GstGeometricTransformClass *) klass;
parent_class = g_type_class_peek_parent (klass);
gst_element_class_set_static_metadata (gstelement_class,
"circle",
"Transform/Effect/Video",

View file

@ -182,8 +182,6 @@ gst_diffuse_class_init (GstDiffuseClass * klass)
gstelement_class = (GstElementClass *) klass;
gstgt_class = (GstGeometricTransformClass *) klass;
parent_class = g_type_class_peek_parent (klass);
gst_element_class_set_static_metadata (gstelement_class,
"diffuse",
"Transform/Effect/Video",

View file

@ -115,7 +115,6 @@ gst_fisheye_class_init (GstFisheyeClass * klass)
gstelement_class = (GstElementClass *) klass;
gstgt_class = (GstGeometricTransformClass *) klass;
parent_class = g_type_class_peek_parent (klass);
gst_element_class_set_static_metadata (gstelement_class,
"fisheye",
"Transform/Effect/Video",

View file

@ -187,8 +187,6 @@ gst_kaleidoscope_class_init (GstKaleidoscopeClass * klass)
gstelement_class = (GstElementClass *) klass;
gstgt_class = (GstGeometricTransformClass *) klass;
parent_class = g_type_class_peek_parent (klass);
gst_element_class_set_static_metadata (gstelement_class,
"kaleidoscope",
"Transform/Effect/Video",

View file

@ -221,8 +221,6 @@ gst_marble_class_init (GstMarbleClass * klass)
gstelement_class = (GstElementClass *) klass;
gstgt_class = (GstGeometricTransformClass *) klass;
parent_class = g_type_class_peek_parent (klass);
gst_element_class_set_static_metadata (gstelement_class,
"marble",
"Transform/Effect/Video",

View file

@ -197,8 +197,6 @@ gst_mirror_class_init (GstMirrorClass * klass)
GST_TYPE_MIRROR_MODE, DEFAULT_PROP_MODE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
parent_class = g_type_class_peek_parent (klass);
gstgt_class->map_func = mirror_map;
}

View file

@ -201,8 +201,6 @@ gst_perspective_class_init (GstPerspectiveClass * klass)
gstelement_class = (GstElementClass *) klass;
gstgt_class = (GstGeometricTransformClass *) klass;
parent_class = g_type_class_peek_parent (klass);
gst_element_class_set_static_metadata (gstelement_class,
"perspective",
"Transform/Effect/Video",

View file

@ -168,8 +168,6 @@ gst_pinch_class_init (GstPinchClass * klass)
gstelement_class = (GstElementClass *) klass;
gstgt_class = (GstGeometricTransformClass *) klass;
parent_class = g_type_class_peek_parent (klass);
gst_element_class_set_static_metadata (gstelement_class,
"pinch",
"Transform/Effect/Video",
@ -179,7 +177,6 @@ gst_pinch_class_init (GstPinchClass * klass)
gobject_class->set_property = gst_pinch_set_property;
gobject_class->get_property = gst_pinch_get_property;
g_object_class_install_property (gobject_class, PROP_INTENSITY,
g_param_spec_double ("intensity", "intensity",
"intensity of the pinch effect",

View file

@ -176,8 +176,6 @@ gst_rotate_class_init (GstRotateClass * klass)
gstelement_class = (GstElementClass *) klass;
gstgt_class = (GstGeometricTransformClass *) klass;
parent_class = g_type_class_peek_parent (klass);
gst_element_class_set_static_metadata (gstelement_class,
"rotate",
"Transform/Effect/Video",

View file

@ -180,8 +180,6 @@ gst_sphere_class_init (GstSphereClass * klass)
gstelement_class = (GstElementClass *) klass;
gstgt_class = (GstGeometricTransformClass *) klass;
parent_class = g_type_class_peek_parent (klass);
gst_element_class_set_static_metadata (gstelement_class,
"sphere",
"Transform/Effect/Video",

View file

@ -185,8 +185,6 @@ gst_square_class_init (GstSquareClass * klass)
gstelement_class = (GstElementClass *) klass;
gstgt_class = (GstGeometricTransformClass *) klass;
parent_class = g_type_class_peek_parent (klass);
gst_element_class_set_static_metadata (gstelement_class,
"square",
"Transform/Effect/Video",

View file

@ -169,8 +169,6 @@ gst_stretch_class_init (GstStretchClass * klass)
gstelement_class = (GstElementClass *) klass;
gstgt_class = (GstGeometricTransformClass *) klass;
parent_class = g_type_class_peek_parent (klass);
gst_element_class_set_static_metadata (gstelement_class,
"stretch",
"Transform/Effect/Video",
@ -180,7 +178,6 @@ gst_stretch_class_init (GstStretchClass * klass)
gobject_class->set_property = gst_stretch_set_property;
gobject_class->get_property = gst_stretch_get_property;
g_object_class_install_property (gobject_class, PROP_INTENSITY,
g_param_spec_double ("intensity", "intensity",
"Intensity of the stretch effect",

View file

@ -105,8 +105,6 @@ gst_tunnel_class_init (GstTunnelClass * klass)
gstelement_class = (GstElementClass *) klass;
gstgt_class = (GstGeometricTransformClass *) klass;
parent_class = g_type_class_peek_parent (klass);
gst_element_class_set_static_metadata (gstelement_class,
"tunnel",
"Transform/Effect/Video",

View file

@ -158,8 +158,6 @@ gst_twirl_class_init (GstTwirlClass * klass)
gstelement_class = (GstElementClass *) klass;
gstgt_class = (GstGeometricTransformClass *) klass;
parent_class = g_type_class_peek_parent (klass);
gst_element_class_set_static_metadata (gstelement_class,
"twirl",
"Transform/Effect/Video",

View file

@ -188,8 +188,6 @@ gst_water_ripple_class_init (GstWaterRippleClass * klass)
gstelement_class = (GstElementClass *) klass;
gstgt_class = (GstGeometricTransformClass *) klass;
parent_class = g_type_class_peek_parent (klass);
gst_element_class_set_static_metadata (gstelement_class,
"waterripple",
"Transform/Effect/Video",