- 26 Mar, 2012 5 commits
-
-
Wim Taymans authored
Remove attempt to delay _make_writable
-
Mark Nauwelaerts authored
-
Wim Taymans authored
-
Wim Taymans authored
-
Wim Taymans authored
-
- 23 Mar, 2012 1 commit
-
-
Mark Nauwelaerts authored
... so they end up in a more expected debug category rather than oblivion.
-
- 22 Mar, 2012 4 commits
-
-
Wim Taymans authored
-
Wim Taymans authored
-
Mark Nauwelaerts authored
... which controls how to (forcibly) deal with (non-)writable data and is not necessarily related to identical caps. In particular, it is also not so helpful anymore with a more advanced GstVideoFilter subclass which always has a transform_ip method currently, even though its subclass may not have a corresponding _ip method.
-
Wim Taymans authored
Conflicts: configure.ac
-
- 21 Mar, 2012 2 commits
-
-
Wim Taymans authored
-
Sebastian Dröge authored
-
- 20 Mar, 2012 4 commits
-
-
Wim Taymans authored
Just call our internal query function instead of going through the pad and the query handler etc.
-
Wim Taymans authored
-
Wim Taymans authored
Improve the docs of the get/pull_range functions, define the lifetime of the buffer in case of errors and short reads. Make sure the code does what the docs say.
-
Wim Taymans authored
Make it possible to wrap all kinds of memory by exposing all properties to gst_buffer_new_wrapped_full(). This makes it possible to also create writable memory without a free function or memory with extra padding.
-
- 19 Mar, 2012 1 commit
-
-
Wim Taymans authored
-
- 16 Mar, 2012 5 commits
-
-
Wim Taymans authored
-
Wim Taymans authored
-
Wim Taymans authored
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
-
Wim Taymans authored
-
Wim Taymans authored
-
- 15 Mar, 2012 11 commits
-
-
Wim Taymans authored
Make separate methods to control the bufferpool and the allocator used by the bufferpool. Make it possible to change the allocator of a pool.
-
Wim Taymans authored
Separate the bufferpool and allocator hints in the allocation query, some of the values don't always make sense together. Keep the bufferpool and its configuration together. Keep the allocator and its parameters together. Allow for multiple bufferpool configurations in the query.
-
Wim Taymans authored
-
Wim Taymans authored
also fix a potential memory leak
-
Wim Taymans authored
-
Wim Taymans authored
Because those flags are not from the bufferpool but for the acquire function.
-
Wim Taymans authored
Group the extra allocation parameters in a GstAllocationParams structure to make it easier to deal with them and so that we can extend them later if needed. Make gst_buffer_new_allocate() take the GstAllocationParams for added functionality. Add boxed type for GstAllocationParams.
-
Wim Taymans authored
-
Wim Taymans authored
Copy the structure too.
-
Wim Taymans authored
when we align the data pointer, make sure to update the maxsize. Add some more debug
-
Wim Taymans authored
-
- 14 Mar, 2012 7 commits
-
-
Wim Taymans authored
Change gst_allocator_alloc() so that we can also spicify flags and padding. Add 2 new flags to mark the memory 0 prefixed/padded. This allows us to remove some resizes in the base classes. When allocating memory, memset prefix and padding with 0 when the flags tell us to. On resize, clear the zero padding flags if we can't guarantee the memory is still 0 filled. Update tests.
-
Wim Taymans authored
Negotiating padding is needed on second thought so include it in the ALLOCATION query. Make the bufferpool take padding into account when allocating. Make basesrc take padding into account. Use padding and prefix when allocating in basetransform.
-
Wim Taymans authored
Take into account the prefix that we received from the allocation query and use it to allocate and resize a larger buffer.
-
Mark Nauwelaerts authored
-
Wim Taymans authored
When we forward the DRAIN query and there is nothing to forward it to, assume we are drained. When a basesink receives a drain query, reply with TRUE.
-
Wim Taymans authored
With the new serialized downstream queries we can implement a drain query that makes an element waits until a downstream element replies to the query.
-
Wim Taymans authored
Before we can proceed with a serialized query, we need to be sure that all sticky events were pushed.
-