caps: small cleanup, remove const

This commit is contained in:
Wim Taymans 2012-03-12 18:22:05 +01:00
parent 4bbc3b6f04
commit f4aa1b1011

View file

@ -1688,7 +1688,7 @@ gst_caps_structure_figure_out_union (GQuark field_id, const GValue * value,
static gboolean
gst_caps_structure_simplify (GstStructure ** result,
const GstStructure * simplify, GstStructure * compare)
GstStructure * simplify, GstStructure * compare)
{
GSList *list;
UnionField field = { 0, {0,}, NULL };
@ -1711,7 +1711,7 @@ gst_caps_structure_simplify (GstStructure ** result,
/* try to union both structs */
field.compare = compare;
if (gst_structure_foreach ((GstStructure *) simplify,
if (gst_structure_foreach (simplify,
gst_caps_structure_figure_out_union, &field)) {
gboolean ret = FALSE;