mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
ges-launch: remove dead code
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.
This commit is contained in:
parent
726c13d34f
commit
10820bd41d
1 changed files with 0 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue