mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
ges: Remove invalid ' < 0' checks
It's an unsigned value, it will never be < 0.
This commit is contained in:
parent
7a7690a9e0
commit
151f491549
2 changed files with 0 additions and 5 deletions
|
@ -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)) {
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue