basetransform: improve propose_allocation
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 1 Mar 2012 13:30:58 +0000 (14:30 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 1 Mar 2012 16:41:57 +0000 (17:41 +0100)
commitd6a28a6e3abb69035b1b0d3a80d119bfdf7465c1
tree86940d5c88f74acad84e50a792c30dd0990665c3
parent4f6faa3405d8121586f355b9cc56a8c14fbdb75a
basetransform: improve propose_allocation

Improve the propose allocation vmethod by passing the downstream allocation
query to it. This way the vmethod implementation can use properties of the
downstream allocation to generate the upstream query result. If there is no
downstream quety, it means that the element is working in passthrough mode.
Implement a default decide_allocation.
libs/gst/base/gstbasetransform.c
libs/gst/base/gstbasetransform.h