mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 16:51:10 +00:00
ges: Doc fixes
This commit is contained in:
parent
88ab612df2
commit
a6f3ae6dac
4 changed files with 32 additions and 29 deletions
|
@ -744,10 +744,11 @@ ges_timeline_object_set_priority (GESTimelineObject * object, guint priority)
|
||||||
* Finds the #GESTrackObject controlled by @object that is used in @track. You
|
* Finds the #GESTrackObject controlled by @object that is used in @track. You
|
||||||
* may optionally specify a GType to further narrow search criteria.
|
* may optionally specify a GType to further narrow search criteria.
|
||||||
*
|
*
|
||||||
* Note: The reference count of the returned #GESTrackObject will be increased,
|
* Note: If many objects match, then the one with the highest priority will be
|
||||||
* unref when done with it.
|
* returned.
|
||||||
*
|
*
|
||||||
* Returns: (transfer full): The #GESTrackObject used by @track, else #NULL.
|
* Returns: (transfer full): The #GESTrackObject used by @track, else #NULL.
|
||||||
|
* Unref after usage.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
GESTrackObject *
|
GESTrackObject *
|
||||||
|
@ -779,11 +780,11 @@ ges_timeline_object_find_track_object (GESTimelineObject * object,
|
||||||
* ges_timeline_object_get_layer:
|
* ges_timeline_object_get_layer:
|
||||||
* @object: a #GESTimelineObject
|
* @object: a #GESTimelineObject
|
||||||
*
|
*
|
||||||
* Note: The reference count of the returned #GESTimelineLayer will be increased,
|
* Get the #GESTimelineLayer to which this object belongs.
|
||||||
* The user is responsible for unreffing it.
|
|
||||||
*
|
*
|
||||||
* Returns: (transfer full): The #GESTimelineLayer where this @object is being used, #NULL if
|
* Returns: (transfer full): The #GESTimelineLayer where this @object is being
|
||||||
* it is not used on any layer.
|
* used, or #NULL if it is not used on any layer. The caller should unref it
|
||||||
|
* usage.
|
||||||
*/
|
*/
|
||||||
GESTimelineLayer *
|
GESTimelineLayer *
|
||||||
ges_timeline_object_get_layer (GESTimelineObject * object)
|
ges_timeline_object_get_layer (GESTimelineObject * object)
|
||||||
|
@ -902,7 +903,7 @@ ges_timeline_object_get_top_effect_position (GESTimelineObject * object,
|
||||||
*
|
*
|
||||||
* This is a convenience method that lets you set the priority of a top effect.
|
* This is a convenience method that lets you set the priority of a top effect.
|
||||||
*
|
*
|
||||||
* Returns: %TRUE if @effect was successfuly moved, %FALSE otherwize.
|
* Returns: %TRUE if @effect was successfuly moved, %FALSE otherwise.
|
||||||
*/
|
*/
|
||||||
gboolean
|
gboolean
|
||||||
ges_timeline_object_set_top_effect_priority (GESTimelineObject * object,
|
ges_timeline_object_set_top_effect_priority (GESTimelineObject * object,
|
||||||
|
|
|
@ -108,11 +108,12 @@ ges_timeline_parse_launch_effect_class_init (GESTimelineParseLaunchEffectClass *
|
||||||
object_class->set_property = ges_timeline_parse_launch_effect_set_property;
|
object_class->set_property = ges_timeline_parse_launch_effect_set_property;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESTimelineParseLaunchEffect:video_bin_description:
|
* GESTimelineParseLaunchEffect:video-bin-description:
|
||||||
*
|
*
|
||||||
* The description of the video track of the effect bin with a gst-launch-style
|
* The description of the video track of the effect bin with a gst-launch-style
|
||||||
* pipeline description. This should be used for test purposes.
|
* pipeline description. This should be used for test purposes.
|
||||||
* exemple: videobalance saturation=1.5 hue=+0.5
|
*
|
||||||
|
* Example: "videobalance saturation=1.5 hue=+0.5"
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_VIDEO_BIN_DESCRIPTION,
|
g_object_class_install_property (object_class, PROP_VIDEO_BIN_DESCRIPTION,
|
||||||
g_param_spec_string ("video-bin-description",
|
g_param_spec_string ("video-bin-description",
|
||||||
|
@ -121,11 +122,12 @@ ges_timeline_parse_launch_effect_class_init (GESTimelineParseLaunchEffectClass *
|
||||||
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
|
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESTimelineParseLaunchEffect:audio_bin_description:
|
* GESTimelineParseLaunchEffect:audio-bin-description:
|
||||||
*
|
*
|
||||||
* The description of the audio track of the effect bin with a gst-launch-style
|
* The description of the audio track of the effect bin with a gst-launch-style
|
||||||
* pipeline description. This should be used for test purposes.
|
* pipeline description. This should be used for test purposes.
|
||||||
* exemple: videobalance saturation=1.5 hue=+0.5
|
*
|
||||||
|
* Example: "audiopanorama panorama=1.0"
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_AUDIO_BIN_DESCRIPTION,
|
g_object_class_install_property (object_class, PROP_AUDIO_BIN_DESCRIPTION,
|
||||||
g_param_spec_string ("audio-bin-description",
|
g_param_spec_string ("audio-bin-description",
|
||||||
|
@ -154,7 +156,6 @@ ges_tl_parse_launch_effect_create_track_obj (GESTimelineObject * self,
|
||||||
GESTimelineParseLaunchEffect *effect =
|
GESTimelineParseLaunchEffect *effect =
|
||||||
GES_TIMELINE_PARSE_LAUNCH_EFFECT (self);
|
GES_TIMELINE_PARSE_LAUNCH_EFFECT (self);
|
||||||
|
|
||||||
|
|
||||||
if (track->type == GES_TRACK_TYPE_VIDEO) {
|
if (track->type == GES_TRACK_TYPE_VIDEO) {
|
||||||
if (effect->priv->video_bin_description != NULL) {
|
if (effect->priv->video_bin_description != NULL) {
|
||||||
GST_DEBUG ("Creating a GESTrackEffect for the video track");
|
GST_DEBUG ("Creating a GESTrackEffect for the video track");
|
||||||
|
|
|
@ -286,7 +286,7 @@ ges_track_object_class_init (GESTrackObjectClass * klass)
|
||||||
G_TYPE_NONE, 2, GST_TYPE_ELEMENT, G_TYPE_PARAM);
|
G_TYPE_NONE, 2, GST_TYPE_ELEMENT, G_TYPE_PARAM);
|
||||||
|
|
||||||
klass->create_gnl_object = ges_track_object_create_gnl_object_func;
|
klass->create_gnl_object = ges_track_object_create_gnl_object_func;
|
||||||
/* There is no 'get_props_hastable' default implementation */
|
/* There is no 'get_props_hashtable' default implementation */
|
||||||
klass->get_props_hastable = NULL;
|
klass->get_props_hastable = NULL;
|
||||||
klass->list_children_properties = default_list_children_properties;
|
klass->list_children_properties = default_list_children_properties;
|
||||||
}
|
}
|
||||||
|
@ -991,11 +991,11 @@ ges_track_object_is_active (GESTrackObject * object)
|
||||||
return object->active;
|
return object->active;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* ges_track_object_lookup_child:
|
* ges_track_object_lookup_child:
|
||||||
* @object: object to lookup the property in
|
* @object: object to lookup the property in
|
||||||
* @prop_name: name of the property to look up. You can specify the name of the
|
* @prop_name: name of the property to look up. You can specify the name of the
|
||||||
* class as such: ClassName::property-name, to guarantee that you get the
|
* class as such: "ClassName::property-name", to guarantee that you get the
|
||||||
* proper GParamSpec in case various GstElement-s contain the same property
|
* proper GParamSpec in case various GstElement-s contain the same property
|
||||||
* name. If you don't do so, you will get the first element found, having
|
* name. If you don't do so, you will get the first element found, having
|
||||||
* this property and the and the corresponding GParamSpec.
|
* this property and the and the corresponding GParamSpec.
|
||||||
|
@ -1250,7 +1250,7 @@ cant_copy:
|
||||||
* Gets an array of #GParamSpec* for all configurable properties of the
|
* Gets an array of #GParamSpec* for all configurable properties of the
|
||||||
* children of @object.
|
* children of @object.
|
||||||
*
|
*
|
||||||
* Returns: an array of #GParamSpec* which should be freed after use or %NULL
|
* Returns: (array): an array of #GParamSpec* which should be freed after use or %NULL
|
||||||
* if something went wrong
|
* if something went wrong
|
||||||
*/
|
*/
|
||||||
GParamSpec **
|
GParamSpec **
|
||||||
|
|
|
@ -93,11 +93,12 @@ ges_track_parse_launch_effect_class_init (GESTrackParseLaunchEffectClass *
|
||||||
obj_bg_class->create_element = ges_track_parse_launch_effect_create_element;
|
obj_bg_class->create_element = ges_track_parse_launch_effect_create_element;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESTrackParseLaunchEffect:bin_description:
|
* GESTrackParseLaunchEffect:bin-description:
|
||||||
*
|
*
|
||||||
* The description of the effect bin with a gst-launch-style
|
* The description of the effect bin with a gst-launch-style
|
||||||
* pipeline description.
|
* pipeline description.
|
||||||
* exemple: videobalance saturation=1.5 hue=+0.5
|
*
|
||||||
|
* Example: "videobalance saturation=1.5 hue=+0.5"
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_BIN_DESCRIPTION,
|
g_object_class_install_property (object_class, PROP_BIN_DESCRIPTION,
|
||||||
g_param_spec_string ("bin-description",
|
g_param_spec_string ("bin-description",
|
||||||
|
@ -144,7 +145,7 @@ ges_track_parse_launch_effect_create_element (GESTrackObject * object)
|
||||||
|
|
||||||
if (!track) {
|
if (!track) {
|
||||||
GST_WARNING
|
GST_WARNING
|
||||||
("The object %p should be in a Track for the element to be created");
|
("The object %p should be in a Track for the element to be created", object);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -163,12 +164,12 @@ ges_track_parse_launch_effect_create_element (GESTrackObject * object)
|
||||||
g_free (bin_desc);
|
g_free (bin_desc);
|
||||||
|
|
||||||
if (error != NULL) {
|
if (error != NULL) {
|
||||||
GST_DEBUG ("%s accured while creating the GstElement", error->message);
|
GST_DEBUG ("An error occured while creating the GstElement: %s", error->message);
|
||||||
g_error_free (error);
|
g_error_free (error);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_DEBUG ("Created %p", effect);
|
GST_DEBUG ("Created effect %p", effect);
|
||||||
|
|
||||||
return effect;
|
return effect;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue