gstreamer/gst
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
..
parse Merge remote-tracking branch 'origin/master' into symbol-exports 2011-10-08 19:54:06 +01:00
.gitignore gstbase: Add gobject-introspection support 2009-09-05 10:28:46 +02:00
gettext.h gettext: build fixes: #if -> #ifdef 2010-03-22 17:10:06 +02:00
glib-compat-private.h Use recent GLib API unconditionally now that we depend on the latest GLib 2012-01-22 01:25:22 +00:00
glib-compat.c glib-compat: Add license boilerplate for LGPL 2011-12-12 11:55:52 +01:00
glib-compat.h Remove some compatibility stuff for GLib < 2.14 2009-03-26 11:08:27 +01:00
gst-i18n-app.h gst: include locale.h before any other i18n headers 2012-01-05 00:32:42 +00:00
gst-i18n-lib.h gst: include locale.h before any other i18n headers 2012-01-05 00:32:42 +00:00
gst.c GstBufferPoolParams -> GstBufferPoolAcquireParams 2012-03-15 14:01:44 +01:00
gst.h gst: include gstmeta.h 2012-03-02 17:04:05 +01:00
gst_private.h meta: improve debugging 2012-03-01 17:41:57 +01:00
gstatomicqueue.c atomicqueue: fix race 2012-02-24 15:24:42 +01:00
gstatomicqueue.h gst: sprinkle some G_GNUC_MALLOC 2011-11-26 18:57:44 +00:00
gstbin.c bin: remove old compat mode 2012-03-13 15:40:37 +01:00
gstbin.h cleanups 2011-02-22 16:04:12 +01:00
gstbuffer.c memory: group allocation parameters in a struct 2012-03-15 13:42:17 +01:00
gstbuffer.h memory: group allocation parameters in a struct 2012-03-15 13:42:17 +01:00
gstbufferlist.c bufferlist: small doc fix 2011-12-22 16:02:05 +01:00
gstbufferlist.h win32: fix exported variables for VS 2010 2011-12-27 23:26:07 +00:00
gstbufferpool.c bufferpool: split bufferpool configuration 2012-03-15 22:09:02 +01:00
gstbufferpool.h bufferpool: split bufferpool configuration 2012-03-15 22:09:02 +01:00
gstbus.c gst: Remove gstmarshal.[ch] completely and use the generic marshaller 2012-03-02 11:05:48 +01:00
gstbus.h remove some useless includes in .h 2012-02-27 09:48:06 +01:00
gstcaps.c caps: small docs update 2012-03-13 15:40:23 +01:00
gstcaps.h caps: remove gst_caps_union() 2012-03-13 10:04:36 +01:00
gstchildproxy.c gst: Remove gstmarshal.[ch] completely and use the generic marshaller 2012-03-02 11:05:48 +01:00
gstchildproxy.h .h: fix header files 2011-11-11 17:30:03 +01:00
gstclock.c clock: make more stuff private 2012-02-27 09:11:36 +01:00
gstclock.h clock: make more stuff private 2012-02-27 09:11:36 +01:00
gstcompat.h memory: group allocation parameters in a struct 2012-03-15 13:42:17 +01:00
gstconfig.h.in Merge branch 'master' into 0.11 2012-01-10 13:00:07 +01:00
gstcontrolbinding.c controller: cleanup the control-binding construction 2012-01-24 21:57:44 +01:00
gstcontrolbinding.h controlbindings: name is not a const 2012-01-25 11:50:49 +01:00
gstcontrolsource.c controlsource: sink the floating ref 2012-01-30 18:18:28 +01:00
gstcontrolsource.h control-sources: turn into GstObjects 2011-12-31 09:57:49 +01:00
gstdatetime.c Use recent GLib API unconditionally now that we depend on the latest GLib 2012-01-22 01:25:22 +00:00
gstdatetime.h Merge remote-tracking branch 'origin/master' into 0.11 2011-11-26 19:44:23 +00:00
gstdebugutils.c tests: fix some more leaks 2012-01-27 12:52:01 +01:00
gstdebugutils.h Also add headerfile 2012-01-09 15:59:42 +00:00
gstelement.c gst: Remove gstmarshal.[ch] completely and use the generic marshaller 2012-03-02 11:05:48 +01:00
gstelement.h GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING 2012-02-08 16:18:04 +01:00
gstelementfactory.c caps: Store a pointer to GstCaps in GstStaticCaps 2012-01-26 14:37:02 +01:00
gstelementfactory.h Merge remote-tracking branch 'origin/master' into 0.11 2011-11-26 19:44:23 +00:00
gstelementmetadata.h element: rework GstElementDetails 2010-12-07 15:33:04 +01:00
gsterror.c Use GLib's type for GError instead of our own 2012-01-22 15:16:14 +00:00
gsterror.h Use GLib's type for GError instead of our own 2012-01-22 15:16:14 +00:00
gstevent.c event: fix docs a little, alloc_buffer is gone 2012-03-16 18:39:08 +01:00
gstevent.h doc fixups 2012-02-17 15:53:58 -08:00
gstformat.c Replace deprecated GStaticMutex with GMutex 2012-01-22 22:44:59 +00:00
gstformat.h .h: fix header files 2011-11-11 17:30:03 +01:00
gstghostpad.c gst: Changed introspection transfer flag to (transfer floating) 2012-01-25 15:05:21 +01:00
gstghostpad.h Merge remote-tracking branch 'origin/master' into 0.11 2011-11-26 19:44:23 +00:00
gstinfo.c meta: improve debugging 2012-03-01 17:41:57 +01:00
gstinfo.h win32: fix exported variables for VS 2010 2011-12-27 23:26:07 +00:00
gstiterator.c Use macros to register boxed types thread safely 2012-01-28 16:42:38 +00:00
gstiterator.h Merge remote-tracking branch 'origin/master' into 0.11 2011-11-26 19:44:23 +00:00
gstmacros.h macros: Define restrict keyword if not available 2010-12-02 19:02:07 +01:00
gstmemory.c memory: group allocation parameters in a struct 2012-03-15 13:42:17 +01:00
gstmemory.h bufferpool: split bufferpool configuration 2012-03-15 22:09:02 +01:00
gstmessage.c clean up object init 2012-02-10 15:02:23 +01:00
gstmessage.h remove TRACE_NAME from headers 2012-02-02 15:52:19 +01:00
gstmeta.c caps: _do_simplify() -> _simplify() 2012-03-12 11:38:37 +01:00
gstmeta.h caps: _do_simplify() -> _simplify() 2012-03-12 11:38:37 +01:00
gstminiobject.c gst: improve debugging 2012-02-06 09:46:47 +01:00
gstminiobject.h minobject: small .h indent fix 2012-02-29 17:37:09 +01:00
gstobject.c gst: Remove gstmarshal.[ch] completely and use the generic marshaller 2012-03-02 11:05:48 +01:00
gstobject.h controller: improve control binding handling 2012-01-20 14:42:31 +01:00
gstpad.c pad: change the semantics of get/pull_range a little 2012-03-16 21:37:10 +01:00
gstpad.h pad: change the semantics of get/pull_range a little 2012-03-16 21:37:10 +01:00
gstpadtemplate.c caps: avoid using in-place oprations 2012-03-11 18:57:44 +01:00
gstpadtemplate.h Merge remote-tracking branch 'origin/master' into 0.11 2011-11-26 19:44:23 +00:00
gstparamspecs.c introspection: Add missing annotations 2011-10-19 10:23:53 +02:00
gstparamspecs.h Merge remote-tracking branch 'origin/master' into 0.11 2011-11-26 19:44:23 +00:00
gstparse.c Use macros to register boxed types thread safely 2012-01-28 16:42:38 +00:00
gstparse.h gst: sprinkle some G_GNUC_MALLOC 2011-11-26 18:57:44 +00:00
gstpipeline.c gst_pipeline_new now returns a floating reference. 2012-01-25 18:51:42 +01:00
gstpipeline.h Merge remote-tracking branch 'origin/master' into 0.11 2011-11-26 19:44:23 +00:00
gstplugin.c Merge branch 'master' into 0.11 2012-01-27 15:09:35 +01:00
gstplugin.h .h: fix header files 2011-11-11 17:30:03 +01:00
gstpluginfeature.c registry: rename gst_registry_get_default() to gst_registry_get() 2012-01-02 02:22:51 +00:00
gstpluginfeature.h Merge remote-tracking branch 'origin/master' into 0.11 2011-11-26 19:44:23 +00:00
gstpluginloader.c registry: rename gst_registry_get_default() to gst_registry_get() 2012-01-02 02:22:51 +00:00
gstpluginloader.h .h: fix header files 2011-11-11 17:30:03 +01:00
gstpoll.c poll: fix spelling of writable 2012-02-23 08:48:40 -08:00
gstpoll.h gst: sprinkle some G_GNUC_MALLOC 2011-11-26 18:57:44 +00:00
gstpreset.c Merge remote-tracking branch 'origin/master' into 0.11 2011-12-12 12:00:16 +00:00
gstpreset.h Merge branch 'master' into 0.11 2012-02-08 14:45:25 +01:00
gstquark.c bufferpool: split bufferpool configuration 2012-03-15 22:09:02 +01:00
gstquark.h bufferpool: split bufferpool configuration 2012-03-15 22:09:02 +01:00
gstquery.c query: rework the ALLOCATION query 2012-03-15 20:23:59 +01:00
gstquery.h query: rework the ALLOCATION query 2012-03-15 20:23:59 +01:00
gstregistry.c gst: Remove gstmarshal.[ch] completely and use the generic marshaller 2012-03-02 11:05:48 +01:00
gstregistry.h registry: get rid of gst_default_registry_*() convenience macros 2012-01-02 02:32:49 +00:00
gstregistrybinary.c Merge remote-tracking branch 'origin/master' into 0.11 2012-02-27 00:08:39 +00:00
gstregistrybinary.h registrybinary: small cleanups 2011-05-24 20:30:11 +03:00
gstregistrychunks.c caps: _do_simplify() -> _simplify() 2012-03-12 11:38:37 +01:00
gstregistrychunks.h binaryregistry: ignore the plugin cache if the filter environment has changed 2010-06-23 17:56:51 +01:00
gstsample.c docs: fix some docs 2012-01-03 15:03:38 +01:00
gstsample.h remove TRACE_NAME from headers 2012-02-02 15:52:19 +01:00
gstsegment.c segment: don't use duration in clipping 2012-02-20 14:39:26 +01:00
gstsegment.h segment: Add padding to the public struct 2012-01-27 18:47:13 +01:00
gststructure.c structure: add allocation debug 2012-03-11 17:22:01 +01:00
gststructure.h win32: fix exported variables for VS 2010 2011-12-27 23:26:07 +00:00
gstsystemclock.c clock: make more stuff private 2012-02-27 09:11:36 +01:00
gstsystemclock.h systemclock: make more stuff private 2012-02-27 09:11:36 +01:00
gsttaglist.c Use macros to register boxed types thread safely 2012-01-28 16:42:38 +00:00
gsttaglist.h taglist: avoid exposing the lists in tags 2012-01-03 14:43:05 +01:00
gsttagsetter.c Use recent GLib API unconditionally now that we depend on the latest GLib 2012-01-22 01:25:22 +00:00
gsttagsetter.h .h: fix header files 2011-11-11 17:30:03 +01:00
gsttask.c Merge remote-tracking branch 'origin/master' into 0.11 2012-03-08 19:55:30 +00:00
gsttask.h Update for new gthread API 2012-01-19 09:27:04 +01:00
gsttaskpool.c docs: gst: more gobject introspection annotations 2010-12-07 18:37:04 +00:00
gsttaskpool.h .h: fix header files 2011-11-11 17:30:03 +01:00
gsttrace.c trace: print caps in dump 2012-02-02 16:59:12 +01:00
gsttrace.h trace: rework alloc tracing 2012-01-27 17:54:43 +01:00
gsttypefind.c typefind: remove const from refcounted GstCaps 2012-03-10 09:25:43 +01:00
gsttypefind.h typefind: remove const from refcounted GstCaps 2012-03-10 09:25:43 +01:00
gsttypefindfactory.c registry: rename gst_registry_get_default() to gst_registry_get() 2012-01-02 02:22:51 +00:00
gsttypefindfactory.h .h: fix header files 2011-11-11 17:30:03 +01:00
gsturi.c gst: Remove gstmarshal.[ch] completely and use the generic marshaller 2012-03-02 11:05:48 +01:00
gsturi.h uri: fix wrong G_GNUC_MALLOC 2011-11-26 19:45:48 +00:00
gstutils.c utils: improve debug 2012-03-15 16:49:33 +01:00
gstutils.h caps: avoid using in-place oprations 2012-03-11 18:57:44 +01:00
gstvalue.c memory: group allocation parameters in a struct 2012-03-15 13:42:17 +01:00
gstvalue.h value: remove gst_value_register_{subtract,union,intersect}_func() API 2012-03-08 11:21:37 +00:00
gstversion.h.in version: Take nano version into account in GST_CHECK_VERSION() 2010-12-02 19:02:08 +01:00
Makefile.am gst: Remove gstmarshal.[ch] completely and use the generic marshaller 2012-03-02 11:05:48 +01:00
math-compat.h math-compat: move static variable for NAN into #ifndef NAN block 2011-12-30 12:59:46 +00:00