mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
baseaudiosink: make unsigned properties unsigned, not signed
This commit is contained in:
parent
73be2b4b1a
commit
0d47c615ad
1 changed files with 4 additions and 4 deletions
|
@ -255,9 +255,9 @@ gst_base_audio_sink_class_init (GstBaseAudioSinkClass * klass)
|
||||||
* Since: 0.10.36
|
* Since: 0.10.36
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_ALIGNMENT_THRESHOLD,
|
g_object_class_install_property (gobject_class, PROP_ALIGNMENT_THRESHOLD,
|
||||||
g_param_spec_int64 ("alignment-threshold", "Alignment Threshold",
|
g_param_spec_uint64 ("alignment-threshold", "Alignment Threshold",
|
||||||
"Timestamp alignment threshold in nanoseconds", 1,
|
"Timestamp alignment threshold in nanoseconds", 1,
|
||||||
G_MAXINT64, DEFAULT_ALIGNMENT_THRESHOLD,
|
G_MAXUINT64 - 1, DEFAULT_ALIGNMENT_THRESHOLD,
|
||||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -269,10 +269,10 @@ gst_base_audio_sink_class_init (GstBaseAudioSinkClass * klass)
|
||||||
* Since: 0.10.36
|
* Since: 0.10.36
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_DISCONT_WAIT,
|
g_object_class_install_property (gobject_class, PROP_DISCONT_WAIT,
|
||||||
g_param_spec_int64 ("discont-wait", "Discont Wait",
|
g_param_spec_uint64 ("discont-wait", "Discont Wait",
|
||||||
"Window of time in nanoseconds to wait before "
|
"Window of time in nanoseconds to wait before "
|
||||||
"creating a discontinuity", 0,
|
"creating a discontinuity", 0,
|
||||||
G_MAXINT64, DEFAULT_DISCONT_WAIT,
|
G_MAXUINT64 - 1, DEFAULT_DISCONT_WAIT,
|
||||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
gstelement_class->change_state =
|
gstelement_class->change_state =
|
||||||
|
|
Loading…
Reference in a new issue