projects
/
platform
/
upstream
/
gst-editing-services.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22ae41e
)
timeline: Setting duration to the same value is valid
author
Thibault Saunier
<tsaunier@igalia.com>
Fri, 8 Feb 2019 20:43:34 +0000
(17:43 -0300)
committer
Thibault Saunier
<tsaunier@gnome.org>
Fri, 15 Mar 2019 23:51:55 +0000
(23:51 +0000)
And should not be advertised as if the operation failed.
ges/ges-timeline.c
patch
|
blob
|
history
diff --git
a/ges/ges-timeline.c
b/ges/ges-timeline.c
index
1a54a40
..
f45343a
100644
(file)
--- a/
ges/ges-timeline.c
+++ b/
ges/ges-timeline.c
@@
-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
FALS
E;
+ return
TRU
E;
}
_set_duration0 (GES_TIMELINE_ELEMENT (track_element), duration);