mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
track-object: Set minimum value of max-duration to 0
GST_CLOCK_TIME_NONE was nonsense Minor documentation fixing on the way
This commit is contained in:
parent
151f491549
commit
43b815925a
2 changed files with 3 additions and 3 deletions
|
@ -389,7 +389,7 @@ ges_timeline_object_class_init (GESTimelineObjectClass * klass)
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_MAX_DURATION,
|
g_object_class_install_property (object_class, PROP_MAX_DURATION,
|
||||||
g_param_spec_uint64 ("max-duration", "Maximum 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));
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||||
|
|
||||||
klass->need_fill_track = TRUE;
|
klass->need_fill_track = TRUE;
|
||||||
|
|
|
@ -309,8 +309,8 @@ ges_track_object_class_init (GESTrackObjectClass * klass)
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class, PROP_MAX_DURATION,
|
g_object_class_install_property (object_class, PROP_MAX_DURATION,
|
||||||
g_param_spec_uint64 ("max-duration", "Maximum duration",
|
g_param_spec_uint64 ("max-duration", "Maximum duration",
|
||||||
"The duration of the object", GST_CLOCK_TIME_NONE, G_MAXUINT64,
|
"The maximum duration of the object", 0, G_MAXUINT64, G_MAXUINT64,
|
||||||
G_MAXUINT64, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GESTrackObject::deep-notify:
|
* GESTrackObject::deep-notify:
|
||||||
|
|
Loading…
Reference in a new issue