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_by_pspec
ges_track_element_edit
ges_track_element_copy
ges_track_element_set_control_source
ges_track_element_get_control_binding
<SUBSECTION Standard>
GESTrackElementPrivate
ges_track_element_set_track

View file

@ -850,7 +850,7 @@ ges_base_xml_formatter_add_control_binding (GESBaseXmlFormatter * self,
GstControlSource *source;
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);
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);
G_GNUC_INTERNAL void ges_base_xml_formatter_add_control_binding(GESBaseXmlFormatter * self,
const gchar * binding_type,
const gchar * source_type,
const gchar * property_name,
gint mode,
GSList * timed_values);
const gchar * binding_type,
const gchar * source_type,
const gchar * property_name,
gint mode,
GSList * timed_values);
G_GNUC_INTERNAL void set_property_foreach (GQuark field_id,
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
* @source: (element-type GstControlSource): the #GstControlSource to set on the binding.
* @property_name: The name of the property to control.
@ -1484,7 +1484,7 @@ ges_track_element_edit (GESTrackElement * object,
* Since: 1.0.XX
*/
gboolean
ges_track_element_set_property_controlling_parameters (GESTrackElement * object,
ges_track_element_set_control_source (GESTrackElement * object,
GstControlSource * source,
const gchar * property_name, const gchar * binding_type)
{

View file

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

View file

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