Commit 858ba0f7 authored by Jan Schmidt's avatar Jan Schmidt
Browse files

Rename gst_caps_structure_fixate_* to gst_structure_fixate_* (#322027)

Original commit message from CVS:
* ext/audioresample/gstaudioresample.c:
* ext/polyp/polypsink.c: (gst_polypsink_sink_fixate):
* gst/librfb/gstrfbsrc.c: (gst_rfbsrc_fixate):
* gst/modplug/gstmodplug.cc:
* sys/glsink/glimagesink.c: (gst_glimagesink_fixate):
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_fixate):
Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
(#322027)
parent c8c73fd8
......@@ -690,8 +690,7 @@ gst_v4l2src_fixate (GstPad * pad, const GstCaps * const_caps)
for (i = 0; i < gst_caps_get_size (caps); i++) {
structure = gst_caps_get_structure (caps, i);
changed |=
gst_caps_structure_fixate_field_nearest_int (structure, "width",
G_MAXINT);
gst_structure_fixate_field_nearest_int (structure, "width", G_MAXINT);
}
if (changed)
return caps;
......@@ -699,8 +698,7 @@ gst_v4l2src_fixate (GstPad * pad, const GstCaps * const_caps)
for (i = 0; i < gst_caps_get_size (caps); i++) {
structure = gst_caps_get_structure (caps, i);
changed |=
gst_caps_structure_fixate_field_nearest_int (structure, "height",
G_MAXINT);
gst_structure_fixate_field_nearest_int (structure, "height", G_MAXINT);
}
if (changed)
return caps;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment