gstreamer/gst-libs/gst
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
..
allocators g-i: pass compiler env to g-ir-scanner 2016-05-24 00:44:21 +01:00
app appsink: add _pull_sample/preroll() variants with timeout 2016-07-18 16:55:16 +01:00
audio audio: Ship audio-resampler-neon.h 2016-07-07 00:27:18 +03:00
fft g-i: pass compiler env to g-ir-scanner 2016-05-24 00:44:21 +01:00
pbutils encoding-profile: Remove some more fields from the caps when creating from discoverer info 2016-07-08 16:44:18 +03:00
riff g-i: pass compiler env to g-ir-scanner 2016-05-24 00:44:21 +01:00
rtp rtp: rtpbasedepayload: simplify code 2016-07-15 19:51:20 +01:00
rtsp rtspconnection: Fix potential deadlock caused by blocking read forever 2016-07-07 19:15:18 +03:00
sdp g-i: pass compiler env to g-ir-scanner 2016-05-24 00:44:21 +01:00
tag tagdemux: fix handling of very short files in push mode 2016-06-30 18:53:07 +01:00
video videoorientation: Use G_DEFINE_INTERFACE instead of a manually written get_type() 2016-07-12 09:05:32 +03:00
gettext.h Fix FSF address 2012-11-03 23:05:09 +00:00
glib-compat-private.h Fix FSF address 2012-11-03 23:05:09 +00:00
gst-i18n-app.h tools: add simple command-line gst-play utility for testing purposes 2013-08-16 15:45:23 +01:00
gst-i18n-plugin.h Fix FSF address 2012-11-03 23:05:09 +00:00
Makefile.am rtp: build audio library before rtp 2016-02-16 17:42:44 +02:00