gstreamer/gst-libs/gst/app
Guillaume Desmottes 0a657d6db5 appsink: add API to catch events
There is currently no way for users to receive incoming events from
appsink while keeping them properly serialized with the buffers flow.
This can be especially useful when application is injecting custom
downstream events into the pipeline and needs to know when they reached
appsink.

Solving this by adding a new signal notifying about new incoming events
and a set of action signals and method to pull those events.
The API is actually pulling the samples and events all together as they
are actually fetched from the same queue.
Having a specific API to pull only events would have the side effect of
discarding samples (and pulling samples would discard events) making
this API not convenient for users.

Partially fix #247

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1046>
2021-07-22 13:56:22 +02:00
..
app-prelude.h libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 08:45:34 +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 API to catch events 2021-07-22 13:56:22 +02:00
gstappsink.h appsink: add API to catch events 2021-07-22 13:56:22 +02:00
gstappsrc.c appsrc: When dropping buffers before handling the initial segment use the latest input segment 2021-06-08 17:31:02 +03:00
gstappsrc.h appsrc: Implement a leaky property similar to the queue element 2021-05-05 15:13:33 +00:00
meson.build app: Add gstappsrc.h to the enum headers in meson.build 2021-05-03 05:42:07 +00:00