* 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,
g_object_new (GST_TYPE_D3D11_WINDOW_DUMMY, "d3d11device", device, NULL);
window->initialized = TRUE;
- g_object_ref_sink (window);
+ gst_object_ref_sink (window);
return window;
}