mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:36:20 +00:00
TimelineObject: Store GParamSpec for height and layer
This commit is contained in:
parent
857142a15d
commit
762c447936
1 changed files with 10 additions and 9 deletions
|
@ -226,21 +226,22 @@ ges_timeline_object_class_init (GESTimelineObjectClass * klass)
|
||||||
*
|
*
|
||||||
* The span of layer priorities which this object occupies.
|
* The span of layer priorities which this object occupies.
|
||||||
*/
|
*/
|
||||||
|
properties[PROP_HEIGHT] = g_param_spec_uint ("height", "Height",
|
||||||
|
"The span of priorities this object occupies", 0, G_MAXUINT, 1,
|
||||||
|
G_PARAM_READABLE);
|
||||||
g_object_class_install_property (object_class, PROP_HEIGHT,
|
g_object_class_install_property (object_class, PROP_HEIGHT,
|
||||||
g_param_spec_uint ("height", "Height",
|
properties[PROP_HEIGHT]);
|
||||||
"The span of priorities this object occupies", 0, G_MAXUINT, 1,
|
|
||||||
G_PARAM_READABLE));
|
|
||||||
|
|
||||||
/* GESSimpleTimelineLayer:layer
|
/**
|
||||||
|
* GESTimelineObject:layer
|
||||||
*
|
*
|
||||||
* The GESTimelineLayer where this object is being used.
|
* The GESTimelineLayer where this object is being used.
|
||||||
*/
|
*/
|
||||||
|
properties[PROP_LAYER] = g_param_spec_object ("layer", "Layer",
|
||||||
|
"The GESTimelineLayer where this object is being used.",
|
||||||
|
GES_TYPE_TIMELINE_LAYER, G_PARAM_READABLE);
|
||||||
g_object_class_install_property (object_class, PROP_LAYER,
|
g_object_class_install_property (object_class, PROP_LAYER,
|
||||||
g_param_spec_object ("layer", "Layer",
|
properties[PROP_LAYER]);
|
||||||
"The GESTimelineLayer where this object is being used.",
|
|
||||||
GES_TYPE_TIMELINE_LAYER, G_PARAM_READABLE));
|
|
||||||
|
|
||||||
klass->need_fill_track = TRUE;
|
klass->need_fill_track = TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue