ges: Annotate TimelineElement in-point getter and setter

So they are not duplicated in (rust) bindings.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8475>
This commit is contained in:
Thibault Saunier 2025-02-13 08:55:36 -03:00 committed by GStreamer Marge Bot
parent cc6336c222
commit be7cdea096
2 changed files with 6 additions and 6 deletions

View file

@ -11198,7 +11198,7 @@ optionally by more name/return location pairs, followed by %NULL</doc>
</instance-parameter> </instance-parameter>
</parameters> </parameters>
</method> </method>
<method name="get_inpoint" c:identifier="ges_timeline_element_get_inpoint"> <method name="get_inpoint" c:identifier="ges_timeline_element_get_inpoint" glib:get-property="in-point">
<doc xml:space="preserve" filename="../subprojects/gst-editing-services/ges/ges-timeline-element.c">Gets the #GESTimelineElement:in-point for the element.</doc> <doc xml:space="preserve" filename="../subprojects/gst-editing-services/ges/ges-timeline-element.c">Gets the #GESTimelineElement:in-point for the element.</doc>
<source-position filename="../subprojects/gst-editing-services/ges/ges-timeline-element.h"/> <source-position filename="../subprojects/gst-editing-services/ges/ges-timeline-element.h"/>
<return-value transfer-ownership="none"> <return-value transfer-ownership="none">
@ -11739,7 +11739,7 @@ last the desired duration.</doc>
</parameter> </parameter>
</parameters> </parameters>
</method> </method>
<method name="set_inpoint" c:identifier="ges_timeline_element_set_inpoint"> <method name="set_inpoint" c:identifier="ges_timeline_element_set_inpoint" glib:set-property="in-point">
<doc xml:space="preserve" filename="../subprojects/gst-editing-services/ges/ges-timeline-element.c">Sets #GESTimelineElement:in-point for the element. If the new in-point <doc xml:space="preserve" filename="../subprojects/gst-editing-services/ges/ges-timeline-element.c">Sets #GESTimelineElement:in-point for the element. If the new in-point
is above the current #GESTimelineElement:max-duration of the element, is above the current #GESTimelineElement:max-duration of the element,
this method will fail.</doc> this method will fail.</doc>
@ -11950,7 +11950,7 @@ operation element, this would determine for how long its effect
should be applied to any source content.</doc> should be applied to any source content.</doc>
<type name="guint64" c:type="guint64"/> <type name="guint64" c:type="guint64"/>
</property> </property>
<property name="in-point" writable="1" transfer-ownership="none" default-value="0"> <property name="in-point" writable="1" transfer-ownership="none" setter="set_inpoint" getter="get_inpoint" default-value="0">
<doc xml:space="preserve" filename="../subprojects/gst-editing-services/ges/ges-timeline-element.c">The initial offset to use internally when outputting content (in <doc xml:space="preserve" filename="../subprojects/gst-editing-services/ges/ges-timeline-element.c">The initial offset to use internally when outputting content (in
nanoseconds, but in the time coordinates of the internal content). nanoseconds, but in the time coordinates of the internal content).

View file

@ -486,7 +486,7 @@ ges_timeline_element_class_init (GESTimelineElementClass * klass)
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY); G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
/** /**
* GESTimelineElement:in-point: * GESTimelineElement:in-point: (getter get_inpoint)(setter set_inpoint)
* *
* The initial offset to use internally when outputting content (in * The initial offset to use internally when outputting content (in
* nanoseconds, but in the time coordinates of the internal content). * nanoseconds, but in the time coordinates of the internal content).
@ -1201,7 +1201,7 @@ ges_timeline_element_set_start (GESTimelineElement * self, GstClockTime start)
} }
/** /**
* ges_timeline_element_set_inpoint: * ges_timeline_element_set_inpoint: (set-property in-point):
* @self: A #GESTimelineElement * @self: A #GESTimelineElement
* @inpoint: The in-point, in internal time coordinates * @inpoint: The in-point, in internal time coordinates
* *
@ -1382,7 +1382,7 @@ ges_timeline_element_get_start (GESTimelineElement * self)
} }
/** /**
* ges_timeline_element_get_inpoint: * ges_timeline_element_get_inpoint: (get-property in-point):
* @self: A #GESTimelineElement * @self: A #GESTimelineElement
* *
* Gets the #GESTimelineElement:in-point for the element. * Gets the #GESTimelineElement:in-point for the element.