diff --git a/ges/ges-timeline-object.c b/ges/ges-timeline-object.c index 0d3fb03640..1338f33fae 100644 --- a/ges/ges-timeline-object.c +++ b/ges/ges-timeline-object.c @@ -389,7 +389,7 @@ ges_timeline_object_class_init (GESTimelineObjectClass * klass) */ g_object_class_install_property (object_class, PROP_MAX_DURATION, g_param_spec_uint64 ("max-duration", "Maximum duration", - "The duration of the object", 0, G_MAXUINT64, G_MAXUINT64, + "The maximum duration of the object", 0, G_MAXUINT64, G_MAXUINT64, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); klass->need_fill_track = TRUE; diff --git a/ges/ges-track-object.c b/ges/ges-track-object.c index 11e2d8fc9f..f7dec0bfa6 100644 --- a/ges/ges-track-object.c +++ b/ges/ges-track-object.c @@ -309,8 +309,8 @@ ges_track_object_class_init (GESTrackObjectClass * klass) */ g_object_class_install_property (object_class, PROP_MAX_DURATION, g_param_spec_uint64 ("max-duration", "Maximum duration", - "The duration of the object", GST_CLOCK_TIME_NONE, G_MAXUINT64, - G_MAXUINT64, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); + "The maximum duration of the object", 0, G_MAXUINT64, G_MAXUINT64, + G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); /** * GESTrackObject::deep-notify: