gstreamer/docs/libs
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
..
.gitignore gitignore: remove bogus *.sgml wildcard - these files are tracked in git 2009-05-19 17:50:24 +01:00
compiling.sgml gst: Update versioning 2012-04-04 14:55:15 +02:00
gst-plugins-base-libs-docs.sgml docs: add new audio API 2016-01-05 22:52:34 +00:00
gst-plugins-base-libs-overrides.txt first stab at documenting elements 2005-08-05 17:13:10 +00:00
gst-plugins-base-libs-sections.txt appsink: add _pull_sample/preroll() variants with timeout 2016-07-18 16:55:16 +01:00
gst-plugins-base-libs.types video: Base classes for video decoders and encoders 2012-04-24 17:03:40 +02:00
Makefile.am docs: remove variables that we define in the snippet from common 2015-06-07 17:18:05 +02:00