mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
GES: Remove useless variables
This commit is contained in:
parent
8da8dda41f
commit
4708fbb4ca
2 changed files with 2 additions and 8 deletions
|
@ -308,16 +308,14 @@ ges_timeline_test_source_new (void)
|
||||||
GESTimelineTestSource *
|
GESTimelineTestSource *
|
||||||
ges_timeline_test_source_new_for_nick (gchar * nick)
|
ges_timeline_test_source_new_for_nick (gchar * nick)
|
||||||
{
|
{
|
||||||
GESTimelineTestSource *ret;
|
|
||||||
GEnumValue *value;
|
GEnumValue *value;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0, value = &vpattern_enum_values[i]; value->value_nick;
|
for (i = 0, value = &vpattern_enum_values[i]; value->value_nick;
|
||||||
value = &vpattern_enum_values[i++]) {
|
value = &vpattern_enum_values[i++]) {
|
||||||
if (!strcmp (nick, value->value_nick)) {
|
if (!strcmp (nick, value->value_nick)) {
|
||||||
ret = g_object_new (GES_TYPE_TIMELINE_TEST_SOURCE, "vpattern",
|
return g_object_new (GES_TYPE_TIMELINE_TEST_SOURCE, "vpattern",
|
||||||
(gint) value->value, NULL);
|
(gint) value->value, NULL);
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
value++;
|
value++;
|
||||||
}
|
}
|
||||||
|
|
|
@ -184,12 +184,8 @@ ges_tl_transition_create_track_object (GESTimelineObject * obj,
|
||||||
GESTimelineTransition *
|
GESTimelineTransition *
|
||||||
ges_timeline_transition_new (GESVideoTransitionType vtype)
|
ges_timeline_transition_new (GESVideoTransitionType vtype)
|
||||||
{
|
{
|
||||||
GESTimelineTransition *ret;
|
return g_object_new (GES_TYPE_TIMELINE_TRANSITION, "vtype", (gint) vtype,
|
||||||
|
|
||||||
ret = g_object_new (GES_TYPE_TIMELINE_TRANSITION, "vtype", (gint) vtype,
|
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue