dvbsuboverlay: Set query ALLOCATION need_pool to FALSE

Set query ALLOCATION need_pool to FALSE as it only need query if can
support video overlay composition meta.

https://bugzilla.gnome.org/show_bug.cgi?id=745495
This commit is contained in:
Song Bing 2015-03-03 10:12:11 +08:00 committed by Sebastian Dröge
parent 0593480381
commit cdb06c6c99

View file

@ -715,7 +715,7 @@ gst_dvbsub_overlay_negotiate (GstDVBSubOverlay * overlay, GstCaps * caps)
GstQuery *query; GstQuery *query;
/* find supported meta */ /* find supported meta */
query = gst_query_new_allocation (caps, TRUE); query = gst_query_new_allocation (caps, FALSE);
if (!gst_pad_peer_query (overlay->srcpad, query)) { if (!gst_pad_peer_query (overlay->srcpad, query)) {
/* no problem, we use the query defaults */ /* no problem, we use the query defaults */