mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
caps: small cleanup, remove const
This commit is contained in:
parent
4bbc3b6f04
commit
f4aa1b1011
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue