track-element: Rename set_property_controlling_parameters set_control_source

+ Generate the documentation
This commit is contained in:
Thibault Saunier 2013-03-31 16:07:14 +02:00
parent e655a75605
commit 78d80c8ca4
6 changed files with 18 additions and 16 deletions

View file

@ -117,6 +117,9 @@ ges_track_element_get_child_properties
ges_track_element_get_child_property_valist ges_track_element_get_child_property_valist
ges_track_element_get_child_property_by_pspec ges_track_element_get_child_property_by_pspec
ges_track_element_edit ges_track_element_edit
ges_track_element_copy
ges_track_element_set_control_source
ges_track_element_get_control_binding
<SUBSECTION Standard> <SUBSECTION Standard>
GESTrackElementPrivate GESTrackElementPrivate
ges_track_element_set_track ges_track_element_set_track

View file

@ -850,7 +850,7 @@ ges_base_xml_formatter_add_control_binding (GESBaseXmlFormatter * self,
GstControlSource *source; GstControlSource *source;
source = gst_interpolation_control_source_new (); source = gst_interpolation_control_source_new ();
ges_track_element_set_property_controlling_parameters (element, source, ges_track_element_set_control_source (element, source,
property_name, binding_type); property_name, binding_type);
g_object_set (source, "mode", mode, NULL); g_object_set (source, "mode", mode, NULL);

View file

@ -219,11 +219,11 @@ G_GNUC_INTERNAL void ges_base_xml_formatter_add_track_element (GESBaseXmlForm
GError **error); GError **error);
G_GNUC_INTERNAL void ges_base_xml_formatter_add_control_binding(GESBaseXmlFormatter * self, G_GNUC_INTERNAL void ges_base_xml_formatter_add_control_binding(GESBaseXmlFormatter * self,
const gchar * binding_type, const gchar * binding_type,
const gchar * source_type, const gchar * source_type,
const gchar * property_name, const gchar * property_name,
gint mode, gint mode,
GSList * timed_values); GSList * timed_values);
G_GNUC_INTERNAL void set_property_foreach (GQuark field_id, G_GNUC_INTERNAL void set_property_foreach (GQuark field_id,
const GValue * value, const GValue * value,

View file

@ -1468,7 +1468,7 @@ ges_track_element_edit (GESTrackElement * object,
/** /**
* ges_track_element_set_property_controlling_parameters: * ges_track_element_set_control_source:
* @object: the #GESTrackElement on which to set a control binding * @object: the #GESTrackElement on which to set a control binding
* @source: (element-type GstControlSource): the #GstControlSource to set on the binding. * @source: (element-type GstControlSource): the #GstControlSource to set on the binding.
* @property_name: The name of the property to control. * @property_name: The name of the property to control.
@ -1484,7 +1484,7 @@ ges_track_element_edit (GESTrackElement * object,
* Since: 1.0.XX * Since: 1.0.XX
*/ */
gboolean gboolean
ges_track_element_set_property_controlling_parameters (GESTrackElement * object, ges_track_element_set_control_source (GESTrackElement * object,
GstControlSource * source, GstControlSource * source,
const gchar * property_name, const gchar * binding_type) const gchar * property_name, const gchar * binding_type)
{ {

View file

@ -187,14 +187,14 @@ ges_track_element_edit (GESTrackElement * object,
GESEdge edge, guint64 position); GESEdge edge, guint64 position);
gboolean gboolean
ges_track_element_set_property_controlling_parameters(GESTrackElement *object, ges_track_element_set_control_source (GESTrackElement *object,
GstControlSource *source, GstControlSource *source,
const gchar *property_name, const gchar *property_name,
const gchar *binding_type); const gchar *binding_type);
GstControlBinding * GstControlBinding *
ges_track_element_get_control_binding (GESTrackElement *object, ges_track_element_get_control_binding (GESTrackElement *object,
const gchar *property_name); const gchar *property_name);
G_END_DECLS G_END_DECLS
#endif /* _GES_TRACK_ELEMENT */ #endif /* _GES_TRACK_ELEMENT */

View file

@ -303,13 +303,13 @@ _add_keyframes (GESTimeline * timeline)
ges_track_element_get_control_binding (element, ges_track_element_get_control_binding (element,
"scratch-lines"); "scratch-lines");
fail_unless (binding == NULL); fail_unless (binding == NULL);
ges_track_element_set_property_controlling_parameters (element, ges_track_element_set_control_source (element,
source, "scratch-lines", "direct"); source, "scratch-lines", "direct");
tmp_binding = tmp_binding =
ges_track_element_get_control_binding (element, ges_track_element_get_control_binding (element,
"scratch-lines"); "scratch-lines");
fail_unless (tmp_binding != NULL); fail_unless (tmp_binding != NULL);
ges_track_element_set_property_controlling_parameters (element, ges_track_element_set_control_source (element,
source, "scratch-lines", "direct"); source, "scratch-lines", "direct");
binding = binding =
ges_track_element_get_control_binding (element, ges_track_element_get_control_binding (element,
@ -393,7 +393,6 @@ _check_keyframes (GESTimeline * timeline)
GST_START_TEST (test_project_add_keyframes) GST_START_TEST (test_project_add_keyframes)
{ {
GMainLoop *mainloop; GMainLoop *mainloop;
//GESTimelinePipeline *pipeline;
GESProject *project; GESProject *project;
GESTimeline *timeline; GESTimeline *timeline;
GESAsset *formatter_asset; GESAsset *formatter_asset;