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)
This commit is contained in:
Jan Schmidt 2005-11-21 14:33:11 +00:00
parent c8c73fd8e3
commit 858ba0f7d1

View file

@ -690,8 +690,7 @@ gst_v4l2src_fixate (GstPad * pad, const GstCaps * const_caps)
for (i = 0; i < gst_caps_get_size (caps); i++) { for (i = 0; i < gst_caps_get_size (caps); i++) {
structure = gst_caps_get_structure (caps, i); structure = gst_caps_get_structure (caps, i);
changed |= changed |=
gst_caps_structure_fixate_field_nearest_int (structure, "width", gst_structure_fixate_field_nearest_int (structure, "width", G_MAXINT);
G_MAXINT);
} }
if (changed) if (changed)
return caps; 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++) { for (i = 0; i < gst_caps_get_size (caps); i++) {
structure = gst_caps_get_structure (caps, i); structure = gst_caps_get_structure (caps, i);
changed |= changed |=
gst_caps_structure_fixate_field_nearest_int (structure, "height", gst_structure_fixate_field_nearest_int (structure, "height", G_MAXINT);
G_MAXINT);
} }
if (changed) if (changed)
return caps; return caps;