timeline-object: Edit can only work work with GESTrackSource

This commit is contained in:
Thibault Saunier 2012-12-01 13:51:33 -03:00
parent ce9aa02723
commit ab9e2364c3

View file

@ -1362,7 +1362,8 @@ ges_timeline_object_edit (GESTimelineObject * object, GList * layers,
}
for (tmp = object->trackobjects; tmp; tmp = g_list_next (tmp)) {
if (ges_track_object_is_locked (tmp->data)) {
if (ges_track_object_is_locked (tmp->data)
&& GES_IS_TRACK_SOURCE (tmp->data)) {
ret &= ges_track_object_edit (tmp->data, layers, mode, edge, position);
break;
}