mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
[baseaudiosink] add docs for can-activate-pull
* gst-libs/gst/audio/gstbaseaudiosink.c: Add documentation for can-activate-pull.
This commit is contained in:
parent
c4074a2ee4
commit
416ce16f26
1 changed files with 12 additions and 0 deletions
|
@ -204,6 +204,18 @@ gst_base_audio_sink_class_init (GstBaseAudioSinkClass * klass)
|
||||||
GST_TYPE_BASE_AUDIO_SINK_SLAVE_METHOD, DEFAULT_SLAVE_METHOD,
|
GST_TYPE_BASE_AUDIO_SINK_SLAVE_METHOD, DEFAULT_SLAVE_METHOD,
|
||||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* GstBaseAudioSink:can-activate-pull
|
||||||
|
*
|
||||||
|
* If set to #TRUE, the baseaudiosink will attempt to activate its upstream
|
||||||
|
* peer in pull mode, before falling back to push mode.
|
||||||
|
* When set to #FALSE, push mode will be assumed.
|
||||||
|
* Pull mode is not enabled by default, as it interferes with clock slaving
|
||||||
|
* and trick modes.
|
||||||
|
* not required.
|
||||||
|
*
|
||||||
|
* Since: 0.10.23
|
||||||
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_CAN_ACTIVATE_PULL,
|
g_object_class_install_property (gobject_class, PROP_CAN_ACTIVATE_PULL,
|
||||||
g_param_spec_boolean ("can-activate-pull", "Allow Pull Scheduling",
|
g_param_spec_boolean ("can-activate-pull", "Allow Pull Scheduling",
|
||||||
"Allow pull-based scheduling", DEFAULT_CAN_ACTIVATE_PULL,
|
"Allow pull-based scheduling", DEFAULT_CAN_ACTIVATE_PULL,
|
||||||
|
|
Loading…
Reference in a new issue