mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
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:
parent
c8c73fd8e3
commit
858ba0f7d1
1 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue