[Bug 768852] appsink: add _try_pull_{sample,preroll} with timeout parameter
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Jul 18 16:29:08 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=768852
Tim-Philipp Müller <t.i.m at zen.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|git master |1.9.2
--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Thanks, pushed with minor changes (add Since markers to doc blurbs, add to API
docs, decrease padding in header, minor code style change re. 'const
gboolean'):
commit ffa9f04bb2072c0a257cbb50177dd208b9ea367b
Author: Tim-Philipp Müller <tim at centricular.com>
Date: Mon Jul 18 17:26:26 2016 +0100
tests: appsink: add minimal test for new pull with timeout functions
https://bugzilla.gnome.org/show_bug.cgi?id=768852
commit c6722c06a040a333188793d7f4403dd983c04815
Author: Joan Pau Beltran <joanpau.beltran at socib.cat>
Date: Fri Jul 15 13:20:29 2016 +0200
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
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list