mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
GESSimpleTimelineLayer: _nth() returns a const
The refcount isn't incremented.
This commit is contained in:
parent
ed6b2ce4c4
commit
7ef6f365d9
3 changed files with 3 additions and 3 deletions
|
@ -362,7 +362,7 @@ ges_simple_timeline_layer_add_object (GESSimpleTimelineLayer * layer,
|
||||||
* the position is off the end of the layer.
|
* the position is off the end of the layer.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
GESTimelineObject *
|
const GESTimelineObject *
|
||||||
ges_simple_timeline_layer_nth (GESSimpleTimelineLayer * layer, gint position)
|
ges_simple_timeline_layer_nth (GESSimpleTimelineLayer * layer, gint position)
|
||||||
{
|
{
|
||||||
GList *list;
|
GList *list;
|
||||||
|
|
|
@ -87,7 +87,7 @@ ges_simple_timeline_layer_move_object (GESSimpleTimelineLayer *layer,
|
||||||
gboolean
|
gboolean
|
||||||
ges_simple_timeline_layer_is_valid (GESSimpleTimelineLayer *layer);
|
ges_simple_timeline_layer_is_valid (GESSimpleTimelineLayer *layer);
|
||||||
|
|
||||||
GESTimelineObject *
|
const GESTimelineObject *
|
||||||
ges_simple_timeline_layer_nth (GESSimpleTimelineLayer *layer,
|
ges_simple_timeline_layer_nth (GESSimpleTimelineLayer *layer,
|
||||||
gint position);
|
gint position);
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@ GST_START_TEST (test_gsl_add)
|
||||||
GESTimelineLayer *layer;
|
GESTimelineLayer *layer;
|
||||||
GESTrack *track;
|
GESTrack *track;
|
||||||
GESCustomTimelineSource *source;
|
GESCustomTimelineSource *source;
|
||||||
GESTimelineObject *source2;
|
const GESTimelineObject *source2;
|
||||||
|
|
||||||
ges_init ();
|
ges_init ();
|
||||||
/* This is the simplest scenario ever */
|
/* This is the simplest scenario ever */
|
||||||
|
|
Loading…
Reference in a new issue