basetransform: Avoid increasing query reference
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 21 Jul 2015 17:14:59 +0000 (13:14 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 22 Jul 2015 17:29:35 +0000 (13:29 -0400)
commitf9aa30674781651a64c39903325bf385c34b75ec
treef526f55450524463f44fa23766102a996c568724
parent0a50d1be523e88c87dd7ded8bc9cc22eca0f5669
basetransform: Avoid increasing query reference

gst_query_find_allocation_meta() requires the query to be
writable to work. This patch ensure avoids taking a reference
on the query, so we can now check if a certain allocation meta
is present.

https://bugzilla.gnome.org/show_bug.cgi?id=752661
libs/gst/base/gstbasetransform.c