else
gst_query_add_allocation_pool(query, pool, size, min, max);
if (pool)
- g_object_unref(pool);
+ gst_object_unref(pool);
return TRUE;
/* ERRORS */
res = GST_PAD_QUERY_FUNCTION_CALL(decode->srcpad_query,
decode->srcpad, parent, query);
- g_object_unref(decode);
+ gst_object_unref(decode);
return res;
}
gst_vaapiupload_sinkpad_buffer_alloc
);
gst_pad_set_query_function(sinkpad, gst_vaapiupload_query);
- g_object_unref(sinkpad);
+ gst_object_unref(sinkpad);
/* Override query on src pad */
srcpad = gst_element_get_static_pad(GST_ELEMENT(upload), "src");
gst_pad_set_query_function(srcpad, gst_vaapiupload_query);
- g_object_unref(srcpad);
+ gst_object_unref(srcpad);
}
static inline gboolean
return GST_FLOW_UNEXPECTED;
ret = gst_vaapiupload_buffer_alloc(trans, size, caps, pbuf);
- g_object_unref(trans);
+ gst_object_unref(trans);
return ret;
}
else
res = gst_pad_query_default (pad, query);
- g_object_unref (upload);
+ gst_object_unref (upload);
return res;
}