mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
[017/906] * 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
78c55796e0
commit
a6b932af62
1 changed files with 3 additions and 4 deletions
|
@ -840,14 +840,13 @@ gst_glimagesink_fixate (GstPad * pad, const GstCaps * caps)
|
||||||
newcaps = gst_caps_copy (caps);
|
newcaps = gst_caps_copy (caps);
|
||||||
structure = gst_caps_get_structure (newcaps, 0);
|
structure = gst_caps_get_structure (newcaps, 0);
|
||||||
|
|
||||||
if (gst_caps_structure_fixate_field_nearest_int (structure, "width", 320)) {
|
if (gst_structure_fixate_field_nearest_int (structure, "width", 320)) {
|
||||||
return newcaps;
|
return newcaps;
|
||||||
}
|
}
|
||||||
if (gst_caps_structure_fixate_field_nearest_int (structure, "height", 240)) {
|
if (gst_structure_fixate_field_nearest_int (structure, "height", 240)) {
|
||||||
return newcaps;
|
return newcaps;
|
||||||
}
|
}
|
||||||
if (gst_caps_structure_fixate_field_nearest_double (structure, "framerate",
|
if (gst_structure_fixate_field_nearest_double (structure, "framerate", 30.0)) {
|
||||||
30.0)) {
|
|
||||||
return newcaps;
|
return newcaps;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue