gstreamer/tests/check/elements
Wim Taymans db1318ab4a pad: change the semantics of get/pull_range a little
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
2012-03-16 21:37:10 +01:00
..
.gitignore tests: add some basic unit tests for queue2 2011-04-07 20:50:04 +01:00
capsfilter.c tests: fix old caps in tests now that core warns 2012-03-01 17:41:56 +01:00
fakesink.c GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING 2012-02-08 16:18:04 +01:00
fakesrc.c tests: don't return FALSE from events 2011-11-28 14:07:24 +01:00
fdsrc.c tests: don't return FALSE from events 2011-11-28 14:07:24 +01:00
filesink.c Add new GstMapInfo 2012-01-25 11:54:23 +01:00
filesrc.c pad: change the semantics of get/pull_range a little 2012-03-16 21:37:10 +01:00
funnel.c pad: add parent to other functions 2011-11-17 12:40:45 +01:00
identity.c Add new GstMapInfo 2012-01-25 11:54:23 +01:00
multiqueue.c Add new GstMapInfo 2012-01-25 11:54:23 +01:00
queue.c tests: fix queue unit test after queue changes 2012-02-21 16:39:05 +01:00
queue2.c tests: fix unusued-but-assigned-variable warnings with gcc 4.6 2011-04-11 15:08:30 +01:00
selector.c tests: fix up selector test after merge 2011-12-08 00:47:46 +00:00
tee.c tests: fix old caps in tests now that core warns 2012-03-01 17:41:56 +01:00
valve.c tests: fix old caps in tests now that core warns 2012-03-01 17:41:56 +01:00