* @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)
toplevel_container = ges_timeline_element_get_toplevel_parent (self);
if (((gint64) (_START (toplevel_container) + start - _START (self))) < 0) {
- GST_INFO_OBJECT (self, "Can not move the object as it would imply its"
+ GST_INFO_OBJECT (self, "Can not move the object as it would imply its "
"container to have a negative start value");
gst_object_unref (toplevel_container);
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;
top_end = _START (toplevel) + _DURATION (toplevel) + position_offset;
cur = g_hash_table_lookup (timeline->priv->by_end, track_element);
- GST_DEBUG_OBJECT (timeline, "Moving %" GST_PTR_FORMAT "to %"
+ GST_DEBUG_OBJECT (timeline, "Moving %" GST_PTR_FORMAT " to %"
GST_TIME_FORMAT " (end %" GST_TIME_FORMAT ")", element,
GST_TIME_ARGS (position), GST_TIME_ARGS (top_end));
* 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)
*
g_return_val_if_fail (GES_IS_TRACK_ELEMENT (object), FALSE);
if (G_UNLIKELY (!track)) {
- GST_WARNING_OBJECT (object, "Trying to edit in %d mode but not in"
+ GST_WARNING_OBJECT (object, "Trying to edit in %d mode but not in "
"any Track yet.", mode);
return FALSE;
}
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;
}