Commit b7c4171f authored by Thibault Saunier's avatar Thibault Saunier 🌵

nlesource: When standalone consider object.duration==0 as not set

nleobject.duration defaults to 0, but this is pretty unintuitive for
end user in the case nlesource is use standalone, just consider
duration=0 equivalent to duration=GST_CLOCK_TIME_NONE as it makes
the element much simpler to use, we could actually forbid 0 as a value
in the future.

Also take into account potential CLOCK_TIME_NONE
parent 0be8bc9d
Pipeline #110120 failed with stages
in 64 minutes and 28 seconds