Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/181>
* #GESTrackElement:has-internal-source set to %TRUE.
*
* Returns: %TRUE if the child property was found and newly registered.
+ * Since: 1.18
*/
gboolean
ges_base_effect_register_time_property (GESBaseEffect * effect,
* #GESTrackElement:has-internal-source set to %TRUE.
*
* Returns: %TRUE if the translation functions were set.
+ * Since: 1.18
*/
gboolean
ges_base_effect_set_time_translation_funcs (GESBaseEffect * effect,
* considered a time effect.
*
* Returns: %TRUE if @effect is considered a time effect.
+ * Since: 1.18
*/
gboolean
ges_base_effect_is_time_effect (GESBaseEffect * effect)
* values given in @time_properties before using the currently set values.
*
* Returns: The translated time.
+ * Since: 1.18
*/
typedef GstClockTime (*GESBaseEffectTimeTranslationFunc) (GESBaseEffect * effect,
GstClockTime time,
* layer.
*
* Returns: %TRUE if @clip was successfully moved to @layer.
+ * Since: 1.18
*/
gboolean
ges_clip_move_to_layer_full (GESClip * clip, GESLayer * layer, GError ** error)
* Gets the #GESClip:duration-limit of the clip.
*
* Returns: The duration-limit of @clip.
+ * Since: 1.18
*/
GstClockTime
ges_clip_get_duration_limit (GESClip * clip)
* would not be able to adapt itself once the effect is added.
*
* Returns: %TRUE if @effect was successfully added to @clip at @index.
+ * Since: 1.18
*/
gboolean
ges_clip_add_top_effect (GESClip * clip, GESBaseEffect * effect, gint index,
* would not be able to adapt itself once the effect is removed.
*
* Returns: %TRUE if @effect was successfully added to @clip at @index.
+ * Since: 1.18
*/
gboolean
ges_clip_remove_top_effect (GESClip * clip, GESBaseEffect * effect,
* ordering.
*
* Returns: %TRUE if @effect was successfully moved to @newindex.
+ * Since: 1.18
*/
gboolean
ges_clip_set_top_effect_index_full (GESClip * clip, GESBaseEffect * effect,
*
* Returns: (transfer none) (nullable): The newly created clip resulting
* from the splitting @clip, or %NULL if @clip can't be split.
+ * Since: 1.18
*/
GESClip *
ges_clip_split_full (GESClip * clip, guint64 position, GError ** error)
* Returns: The time in the internal coordinates of @child corresponding
* to @timeline_time, or #GST_CLOCK_TIME_NONE if the conversion could not
* be performed.
+ * Since: 1.18
*/
GstClockTime
ges_clip_get_internal_time_from_timeline_time (GESClip * clip,
* Returns: The timestamp corresponding to @frame_number in the core
* children of @clip, in the timeline coordinates, or #GST_CLOCK_TIME_NONE
* if the conversion could not be performed.
+ * Since: 1.18
*/
GstClockTime
ges_clip_get_timeline_time_from_source_frame (GESClip * clip,
GES_EDIT_MODE_SLIDE
} GESEditMode;
+/**
+ * ges_edit_mode_name:
+ * @mode: a #GESEditMode
+ *
+ * Return a string representation of @mode.
+ *
+ * Returns: (transfer none): a string representation of @mode.
+ * Since: 1.18
+ */
GES_API
const gchar * ges_edit_mode_name (GESEditMode mode);
* @GES_ERROR_FORMATTER_MALFORMED_INPUT_FILE: The formatted files was malformed
* @GES_ERROR_INVALID_FRAME_NUMBER: The frame number is invalid
* @GES_ERROR_NEGATIVE_LAYER: The operation would lead to a negative
- * #GES_TIMELINE_ELEMENT_LAYER_PRIORITY
+ * #GES_TIMELINE_ELEMENT_LAYER_PRIORITY. (Since: 1.18)
* @GES_ERROR_NEGATIVE_TIME: The operation would lead to a negative time.
* E.g. for the #GESTimelineElement:start #GESTimelineElement:duration or
- * #GESTimelineElement:in-point.
+ * #GESTimelineElement:in-point. (Since: 1.18)
* @GES_ERROR_NOT_ENOUGH_INTERNAL_CONTENT: Some #GESTimelineElement does
* not have a large enough #GESTimelineElement:max-duration to cover the
- * desired operation
+ * desired operation. (Since: 1.18)
* @GES_ERROR_INVALID_OVERLAP_IN_TRACK: The operation would break one of
- * the overlap conditions for the #GESTimeline
+ * the overlap conditions for the #GESTimeline. (Since: 1.18)
*/
typedef enum
{
*
* Returns: %TRUE if @clip was properly added to @layer, or %FALSE
* if @layer refused to add @clip.
+ * Since: 1.18
*/
gboolean
ges_layer_add_clip_full (GESLayer * layer, GESClip * clip, GError ** error)
* the given properties.
*
* Returns: (transfer none): The newly created clip.
+ * Since: 1.18
*/
GESClip *
ges_layer_add_asset_full (GESLayer * layer,
*
* Returns: (transfer floating) (nullable): The newly created #GESSourceClip,
* or %NULL if there was an error.
+ * Since: 1.18
*/
GESSourceClip *
ges_source_clip_new_time_overlay (void)
* property name (and type name) are left unchanged!
*
* Returns: %TRUE if the property was found and set.
+ * Since: 1.18
*/
gboolean
ges_timeline_element_set_child_property_full (GESTimelineElement * self,
* timeline.
*
* Returns: %TRUE if the edit of @self completed, %FALSE on failure.
+ * Since: 1.18
*/
gboolean
* setting can fail, with the @error being optionally set. Default
* implementation will call @set_child_property and return %TRUE.
* @get_layer_priority: Get the #GESLayer:priority of the layer that this
- * element is part of.
+ * element is part of. (Since: 1.18)
* @list_children_properties: List the children properties that have been
* registered for the element. The default implementation is able to fetch
* all of these, so should be sufficient. If you overwrite this, you
* a timed value for the control source lies before the in-point of the
* element, or after its out-point, then it will be removed. At the
* in-point and out-point times, a new interpolated value will be placed.
+ *
+ * Since: 1.18
*/
void
ges_track_element_clamp_control_source (GESTrackElement * object,
*
* Sets #GESTrackElement:auto-clamp-control-sources. If set to %TRUE, this
* will immediately clamp all the control sources.
+ *
+ * Since: 1.18
*/
void
ges_track_element_set_auto_clamp_control_sources (GESTrackElement * object,
*
* Returns: Whether the control sources for the child properties of
* @object are automatically clamped.
+ * Since: 1.18
*/
gboolean
ges_track_element_get_auto_clamp_control_sources (GESTrackElement * object)
* will be a core child of its parent clip.
*
* Returns: %TRUE if @element is a core track element.
+ * Since: 1.18
*/
gboolean
ges_track_element_is_core (GESTrackElement * object)
* Note that a #GESTrackElement can only be added to one track.
*
* Returns: %TRUE if @object was successfully added to @track.
+ * Since: 1.18
*/
gboolean
ges_track_add_element_full (GESTrack * track, GESTrackElement * object,
* ownership of the element.
*
* Returns: %TRUE if @object was successfully removed from @track.
+ * Since: 1.18
*/
gboolean
ges_track_remove_element_full (GESTrack * track, GESTrackElement * object,