* on window-resize event */
gst_query_add_allocation_pool (query, pool, size, 2, 0);
if (pool)
- g_object_unref (pool);
+ gst_object_unref (pool);
gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE, NULL);
gst_query_add_allocation_meta (query,