ges: Remove invalid ' < 0' checks

It's an unsigned value, it will never be < 0.
This commit is contained in:
Edward Hervey 2012-05-03 15:41:08 +02:00
parent 7a7690a9e0
commit 151f491549
2 changed files with 0 additions and 5 deletions

View file

@ -1364,8 +1364,6 @@ ges_timeline_object_edit (GESTimelineObject * object, GList * layers,
GST_WARNING_OBJECT (object, "Trying to edit, but not containing"
"any TrackObject yet.");
return FALSE;
} else if (position < 0) {
GST_DEBUG_OBJECT (object, "Trying to move before 0, not moving");
}
for (tmp = object->priv->trackobjects; tmp; tmp = g_list_next (tmp)) {

View file

@ -1618,9 +1618,6 @@ ges_track_object_edit (GESTrackObject * object,
GST_WARNING_OBJECT (object, "Trying to edit in %d mode but not in"
"any Track yet.", mode);
return FALSE;
} else if (position < 0) {
GST_DEBUG_OBJECT (object, "Trying to move before 0, not moving");
return FALSE;
}
timeline = GES_TIMELINE (ges_track_get_timeline (track));