mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
title-source: Rename ges_title_clip_set_backrgound_colour as appropriate
The method was badly called _clip_ instead of _source_ we have not release the API so we still can change it.
This commit is contained in:
parent
636dcc3a26
commit
bffc8a1d94
4 changed files with 6 additions and 6 deletions
|
@ -803,7 +803,7 @@ ges_title_source_set_font_desc
|
|||
ges_title_source_set_halignment
|
||||
ges_title_source_set_valignment
|
||||
ges_title_source_set_text_color
|
||||
ges_title_clip_set_background_color_color
|
||||
ges_title_source_set_background_color
|
||||
ges_title_source_set_xpos
|
||||
ges_title_source_set_ypos
|
||||
ges_title_source_get_text
|
||||
|
|
|
@ -416,7 +416,7 @@ ges_title_clip_set_background (GESTitleClip * self, guint32 background)
|
|||
self->priv->background = background;
|
||||
|
||||
for (tmp = self->priv->track_titles; tmp; tmp = tmp->next) {
|
||||
ges_title_clip_set_background_color_color (GES_TITLE_SOURCE (tmp->data),
|
||||
ges_title_source_set_background_color (GES_TITLE_SOURCE (tmp->data),
|
||||
self->priv->background);
|
||||
}
|
||||
}
|
||||
|
@ -622,7 +622,7 @@ ges_title_clip_create_track_element (GESClip * clip, GESTrackType type)
|
|||
ges_title_source_set_halignment ((GESTitleSource *) res, priv->halign);
|
||||
ges_title_source_set_valignment ((GESTitleSource *) res, priv->valign);
|
||||
ges_title_source_set_text_color ((GESTitleSource *) res, priv->color);
|
||||
ges_title_clip_set_background_color_color ((GESTitleSource *) res,
|
||||
ges_title_source_set_background_color ((GESTitleSource *) res,
|
||||
priv->background);
|
||||
ges_title_source_set_xpos ((GESTitleSource *) res, priv->xpos);
|
||||
ges_title_source_set_ypos ((GESTitleSource *) res, priv->ypos);
|
||||
|
|
|
@ -282,14 +282,14 @@ ges_title_source_set_text_color (GESTitleSource * self, guint32 color)
|
|||
}
|
||||
|
||||
/**
|
||||
* ges_title_clip_set_background_color_color:
|
||||
* ges_title_source_set_background_color:
|
||||
* @self: the #GESTitleSource* to set
|
||||
* @color: the color @self is being set to
|
||||
*
|
||||
* Sets the color of the background
|
||||
*/
|
||||
void
|
||||
ges_title_clip_set_background_color_color (GESTitleSource * self, guint32 color)
|
||||
ges_title_source_set_background_color (GESTitleSource * self, guint32 color)
|
||||
{
|
||||
GST_DEBUG ("self:%p, background color:%d", self, color);
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ void ges_title_source_set_valignment (GESTitleSource *self,
|
|||
|
||||
void ges_title_source_set_text_color (GESTitleSource *self,
|
||||
guint32 color);
|
||||
void ges_title_clip_set_background_color_color (GESTitleSource *self,
|
||||
void ges_title_source_set_background_color (GESTitleSource *self,
|
||||
guint32 color);
|
||||
void ges_title_source_set_xpos (GESTitleSource *self,
|
||||
gdouble position);
|
||||
|
|
Loading…
Reference in a new issue