ges: Fix documentation and debug comments

Reviewed-by: Thibault Saunier <thibault.saunier@collabora.com>
Differential Revision: https://phabricator.freedesktop.org/D1393
This commit is contained in:
Alexandru Băluț 2016-10-19 12:36:45 +02:00 committed by Thibault Saunier
parent 73cf36fa25
commit 3ed09c370a
3 changed files with 10 additions and 10 deletions

View file

@ -656,10 +656,10 @@ ges_timeline_element_get_timeline (GESTimelineElement * self)
* @self: a #GESTimelineElement
* @start: the position in #GstClockTime
*
* Set the position of the object in its containing layer
* Set the position of the object in its containing layer.
*
* Note that if the timeline snap-distance property of the timeline containing
* @self is set, @self will properly snap to its neighboors.
* Note that if the snapping-distance property of the timeline containing
* @self is set, @self will properly snap to the edges around @start.
*/
void
ges_timeline_element_set_start (GESTimelineElement * self, GstClockTime start)

View file

@ -2016,7 +2016,7 @@ ges_timeline_move_object_simple (GESTimeline * timeline,
GESContainer *toplevel;
/* We only work with GESSource-s and we check that we are not already moving
* element ourself*/
* the specified element ourself */
if (GES_IS_SOURCE (element) == FALSE ||
g_list_find (timeline->priv->movecontext.moving_trackelements, element))
return FALSE;

View file

@ -1340,7 +1340,7 @@ ges_track_element_copy_bindings (GESTrackElement * element,
* happen in, %NULL means that the edition is done in all the
* #GESLayers contained in the current timeline.
* FIXME: This is not implemented yet.
* @mode: The #GESEditMode in which the editition will happen.
* @mode: The #GESEditMode in which the edition will happen.
* @edge: The #GESEdge the edit should happen on.
* @position: The position at which to edit @object (in nanosecond)
*
@ -1368,8 +1368,8 @@ ges_track_element_edit (GESTrackElement * object,
timeline = GES_TIMELINE (ges_track_get_timeline (track));
if (G_UNLIKELY (!timeline)) {
GST_WARNING_OBJECT (object, "Trying to edit in %d mode but not in"
"track %p no in any timeline yet.", mode, track);
GST_WARNING_OBJECT (object, "Trying to edit in %d mode but "
"track %p is not in any timeline yet.", mode, track);
return FALSE;
}