From 365557edc1107b5be7b6ab175b99ad1cc9558055 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 6 Jul 2012 11:26:55 +0200 Subject: [PATCH] [MOVED FROM BAD 116/134] update for query api changes --- ext/vp8/gstvp8dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/vp8/gstvp8dec.c b/ext/vp8/gstvp8dec.c index 52e0f5f..e4c956c 100644 --- a/ext/vp8/gstvp8dec.c +++ b/ext/vp8/gstvp8dec.c @@ -536,7 +536,7 @@ gst_vp8_dec_decide_allocation (GstVideoDecoder * bdec, GstQuery * query) g_assert (pool != NULL); config = gst_buffer_pool_get_config (pool); - if (gst_query_has_allocation_meta (query, GST_VIDEO_META_API_TYPE)) { + if (gst_query_find_allocation_meta (query, GST_VIDEO_META_API_TYPE, NULL)) { gst_buffer_pool_config_add_option (config, GST_BUFFER_POOL_OPTION_VIDEO_META); } -- 2.7.4