mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
dc9983cbea
Original commit message from CVS: * libs/gst/base/gstbasetransform.c: (gst_base_transform_transform_caps), (gst_base_transform_prepare_output_buffer), (gst_base_transform_buffer_alloc), (gst_base_transform_suggest): Don't overwrite the outsize when calculating the expected size of a new buffer because we still need it in case we cannot process the new buffer. When converting the size of the new buffer to an upstream size, actually use the expected size of the buffer, not some other random value. Use an atomic int to signal that a new upstream caps suggestion is available. When we can convert the current buffer to a new format, check if the buffer size is of the expected size and allocate a new buffer of the expected size when this is not the case. * tests/check/libs/transform1.c: (GST_START_TEST): remove ifdeffed code from the unit test. |
||
---|---|---|
.. | ||
.gitignore | ||
adapter.c | ||
basesrc.c | ||
collectpads.c | ||
controller.c | ||
gdp.c | ||
gstnetclientclock.c | ||
gstnettimeprovider.c | ||
libsabi.c | ||
struct_hppa.h | ||
struct_i386.h | ||
struct_ppc32.h | ||
struct_ppc64.h | ||
struct_x86_64.h | ||
test_transform.c | ||
transform1.c | ||
typefindhelper.c |