query: copy structure in _add_allocation_meta()
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 10 Jul 2012 08:31:00 +0000 (10:31 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 10 Jul 2012 08:31:00 +0000 (10:31 +0200)
commit82eb275ef93ab8798a289c79fc2633289253fe83
tree690939bb1cfb15aeafe6b6bd769eddbd6c86cfe1
parent77bc2170f8cd8a0729fc1268ce821cabcb70e2fc
query: copy structure in _add_allocation_meta()

Make gst_query_add_allocation_meta() take a copy of the passed caps instead of
taking ownership. This makes it easier for the caller in most cases because it
doesn't have to make a copy and deal with NULL values.
gst/gstquery.c
gst/gstquery.h
libs/gst/base/gstbasetransform.c