trackobject: Take into account the max duration when trying to set a new duration
authorThibault Saunier <thibault.saunier@collabora.com>
Tue, 24 Apr 2012 00:17:42 +0000 (20:17 -0400)
committerThibault Saunier <thibault.saunier@collabora.com>
Tue, 24 Apr 2012 02:03:12 +0000 (22:03 -0400)
commit606a7883145f8addbbaed895af6056b11b0b0117
tree6881ad0ae649462cea0f52973b60b0c7c2c9eb17
parent5cae3f844f9a65dfd61cca8c62d3100169bf4fb0
trackobject: Take into account the max duration when trying to set a new duration

Change its default value to GST_CLOCK_TIME_NONE instead of 0.

(unreleased code so it still can be changed)
ges/ges-timeline-file-source.c
ges/ges-track-object.c