mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +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 |
||
---|---|---|
.. | ||
app.h | ||
gstappsink.c | ||
gstappsink.h | ||
gstappsrc.c | ||
gstappsrc.h | ||
Makefile.am |