libs/gst/base/gstbasetransform.c: Protect sink_alloc caps with the sinkpad lock to...
authorWim Taymans <wim.taymans@gmail.com>
Tue, 21 Oct 2008 16:30:41 +0000 (16:30 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Tue, 21 Oct 2008 16:30:41 +0000 (16:30 +0000)
commitf59b56f75d7e4dbb9c057278b03a6bcc87b5ea21
treef94f405fea5731a4169c12b4ae2148d6e8e8c21a
parentca9ccf1d0271ef8bcf114abb76ba11203a668131
libs/gst/base/gstbasetransform.c: Protect sink_alloc caps with the sinkpad lock to avoid nasty caps refcount problems...

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_prepare_output_buffer),
(gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
refcount problems as seen in banshee and maybe also in farsight2.
Remove atomic int now that we need to take the lock anyways.
ChangeLog
libs/gst/base/gstbasetransform.c