mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 03:52:25 +00:00
timeline: Setting duration to the same value is valid
And should not be advertised as if the operation failed.
This commit is contained in:
parent
22ae41e984
commit
100276d02a
1 changed files with 1 additions and 1 deletions
|
@ -1737,7 +1737,7 @@ ges_timeline_trim_object_simple (GESTimeline * timeline,
|
|||
/* Not moving, avoid overhead */
|
||||
if (duration == _DURATION (track_element)) {
|
||||
GST_DEBUG_OBJECT (track_element, "No change in duration");
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
_set_duration0 (GES_TIMELINE_ELEMENT (track_element), duration);
|
||||
|
|
Loading…
Reference in a new issue