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:
726c13d
)
ges-launch: remove dead code
author
Tim-Philipp Müller
<tim@centricular.com>
Mon, 5 May 2014 10:58:45 +0000
(11:58 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Mon, 5 May 2014 10:58:45 +0000
(11:58 +0100)
duration can't be smaller than 0 because it's unsigned,
and it can't be 0 because 0 is transformed to CLOCK_TIME_NONE
earlier.
Coverity CID 1211822.
tools/ges-launch.c
patch
|
blob
|
history
diff --git
a/tools/ges-launch.c
b/tools/ges-launch.c
index
fdceb6b
..
e4ec8d6
100644
(file)
--- a/
tools/ges-launch.c
+++ b/
tools/ges-launch.c
@@
-329,11
+329,6
@@
create_timeline (int nbargs, gchar ** argv, const gchar * proj_uri)
}
else if (!g_strcmp0 ("+transition", source)) {
- if (duration <= 0) {
- g_error ("durations must be greater than 0");
- goto build_failure;
- }
-
clip = GES_CLIP (ges_transition_clip_new_for_nick (arg0));
if (!clip) {