mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
geometrictransform: G_DEFINE_TYPE() already calls g_type_class_peek_parent() for us
This commit is contained in:
parent
426c26f708
commit
9945e2bee6
16 changed files with 0 additions and 33 deletions
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue