mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 07:26:33 +00:00
c6722c06a0
The _pull_sample() and _pull_preroll() functions block until a sample is available, EOS happens or the pipeline is shut down (returning NULL in the last two cases). This adds _try_pull_sample() and _try_pull_preroll() functions with a timeout argument to specify the maximum amount of time to wait for a new sample. To avoid code duplication, wait forever if the timeout is GST_CLOCK_TIME_NONE and use that to implement _pull_sample/_pull_preroll with the original behavior. Add also corresponding action signals "try-pull-sample" and "try-pull-preroll". https://bugzilla.gnome.org/show_bug.cgi?id=768852
39 lines
1,023 B
Modula-2
39 lines
1,023 B
Modula-2
EXPORTS
|
|
gst_app_sink_get_caps
|
|
gst_app_sink_get_drop
|
|
gst_app_sink_get_emit_signals
|
|
gst_app_sink_get_max_buffers
|
|
gst_app_sink_get_type
|
|
gst_app_sink_get_wait_on_eos
|
|
gst_app_sink_is_eos
|
|
gst_app_sink_pull_preroll
|
|
gst_app_sink_pull_sample
|
|
gst_app_sink_set_callbacks
|
|
gst_app_sink_set_caps
|
|
gst_app_sink_set_drop
|
|
gst_app_sink_set_emit_signals
|
|
gst_app_sink_set_max_buffers
|
|
gst_app_sink_set_wait_on_eos
|
|
gst_app_sink_try_pull_preroll
|
|
gst_app_sink_try_pull_sample
|
|
gst_app_src_end_of_stream
|
|
gst_app_src_get_caps
|
|
gst_app_src_get_current_level_bytes
|
|
gst_app_src_get_duration
|
|
gst_app_src_get_emit_signals
|
|
gst_app_src_get_latency
|
|
gst_app_src_get_max_bytes
|
|
gst_app_src_get_size
|
|
gst_app_src_get_stream_type
|
|
gst_app_src_get_type
|
|
gst_app_src_push_buffer
|
|
gst_app_src_push_sample
|
|
gst_app_src_set_callbacks
|
|
gst_app_src_set_caps
|
|
gst_app_src_set_duration
|
|
gst_app_src_set_emit_signals
|
|
gst_app_src_set_latency
|
|
gst_app_src_set_max_bytes
|
|
gst_app_src_set_size
|
|
gst_app_src_set_stream_type
|
|
gst_app_stream_type_get_type
|