mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
db1318ab4a
Make it so that one can specify a buffer for get/pull_range where the downstream element should write into. When passing NULL, upstream should allocate a buffer, like in 0.10. We also need to change the probes a little because before the pull probe, there could already be a buffer passed. This then allows us to use the same PROBE macro for before and after pulling. While we're at the probes, make the query probe more powerful by handling the GST_PAD_PROBE_DROP return value. Returning _DROP from a query probe will now return TRUE upstream and will not forward the probe to the peer or handler. Also handle _DROP for get/pull_range properly by not dispatching to the peer/handler or by generating EOS when the probe returns DROP and no buffer. Make filesrc handle the non-NULL buffer passed in the get_range function and skip the allocation in that case, writing directly into the downstream provided buffer. Update tests because now we need to make sure to not pass a random value in the buffer pointer to get/pull_range |
||
---|---|---|
.. | ||
.gitignore | ||
gstcapsfilter.c | ||
gstcapsfilter.h | ||
gstdataqueue.c | ||
gstdataqueue.h | ||
gstelements.c | ||
gstfakesink.c | ||
gstfakesink.h | ||
gstfakesrc.c | ||
gstfakesrc.h | ||
gstfdsink.c | ||
gstfdsink.h | ||
gstfdsrc.c | ||
gstfdsrc.h | ||
gstfilesink.c | ||
gstfilesink.h | ||
gstfilesrc.c | ||
gstfilesrc.h | ||
gstfunnel.c | ||
gstfunnel.h | ||
gstidentity.c | ||
gstidentity.h | ||
gstinputselector.c | ||
gstinputselector.h | ||
gstmultiqueue.c | ||
gstmultiqueue.h | ||
gstoutputselector.c | ||
gstoutputselector.h | ||
gstqueue.c | ||
gstqueue.h | ||
gstqueue2.c | ||
gstqueue2.h | ||
gsttee.c | ||
gsttee.h | ||
gsttypefindelement.c | ||
gsttypefindelement.h | ||
gstvalve.c | ||
gstvalve.h | ||
Makefile.am |