gstreamer/gst-libs/gst/app
Joan Pau Beltran c6722c06a0 appsink: add _pull_sample/preroll() variants with timeout
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
2016-07-18 16:55:16 +01:00
..
app.h libs: Use foo/foo.h as single-include header consistently everywhere 2012-12-12 17:13:10 +00:00
gstappsink.c appsink: add _pull_sample/preroll() variants with timeout 2016-07-18 16:55:16 +01:00
gstappsink.h appsink: add _pull_sample/preroll() variants with timeout 2016-07-18 16:55:16 +01:00
gstappsrc.c appsrc: Remove trailing whitespace 2016-07-11 09:54:11 +03:00
gstappsrc.h appsrc: Remove trailing whitespace 2016-07-11 09:54:11 +03:00
Makefile.am g-i: pass compiler env to g-ir-scanner 2016-05-24 00:44:21 +01:00