mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
videoaggregator: First override set/get_property vfuncs, then install properties
Gives assertions otherwise.
This commit is contained in:
parent
73f843539d
commit
4291ee94c4
1 changed files with 4 additions and 5 deletions
|
@ -591,6 +591,10 @@ gst_video_aggregator_convert_pad_class_init (GstVideoAggregatorConvertPadClass *
|
|||
(GstVideoAggregatorPadClass *) klass;
|
||||
|
||||
gobject_class->finalize = gst_video_aggregator_convert_pad_finalize;
|
||||
gobject_class->get_property =
|
||||
GST_DEBUG_FUNCPTR (gst_video_aggregator_convert_pad_get_property);
|
||||
gobject_class->set_property =
|
||||
GST_DEBUG_FUNCPTR (gst_video_aggregator_convert_pad_set_property);
|
||||
|
||||
g_type_class_add_private (klass,
|
||||
sizeof (GstVideoAggregatorConvertPadPrivate));
|
||||
|
@ -602,11 +606,6 @@ gst_video_aggregator_convert_pad_class_init (GstVideoAggregatorConvertPadClass *
|
|||
"when scaling and converting this pad's video frames",
|
||||
GST_TYPE_STRUCTURE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gobject_class->get_property =
|
||||
GST_DEBUG_FUNCPTR (gst_video_aggregator_convert_pad_get_property);
|
||||
gobject_class->set_property =
|
||||
GST_DEBUG_FUNCPTR (gst_video_aggregator_convert_pad_set_property);
|
||||
|
||||
vaggpadclass->update_conversion_info =
|
||||
GST_DEBUG_FUNCPTR
|
||||
(gst_video_aggregator_convert_pad_update_conversion_info_internal);
|
||||
|
|
Loading…
Reference in a new issue