Rename gst_caps_structure_fixate_* to gst_structure_fixate_* (#322027)

Original commit message from CVS:
* ext/aalib/gstaasink.c: (gst_aasink_fixate):
* ext/mikmod/gstmikmod.c: (gst_mikmod_srcfixate):
* gst/goom/gstgoom.c: (gst_goom_src_negotiate):
* sys/osxvideo/osxvideosink.m:
Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
(#322027)
This commit is contained in:
Jan Schmidt 2005-11-21 14:31:05 +00:00
parent c36b3310f3
commit c8c73fd8e3
4 changed files with 17 additions and 8 deletions

View file

@ -1,3 +1,12 @@
2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
* ext/aalib/gstaasink.c: (gst_aasink_fixate):
* ext/mikmod/gstmikmod.c: (gst_mikmod_srcfixate):
* gst/goom/gstgoom.c: (gst_goom_src_negotiate):
* sys/osxvideo/osxvideosink.m:
Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
(#322027)
2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
* ext/aalib/gstaasink.c: (gst_aasink_setcaps):

View file

@ -238,9 +238,9 @@ gst_aasink_fixate (GstPad * pad, GstCaps * caps)
structure = gst_caps_get_structure (caps, 0);
gst_caps_structure_fixate_field_nearest_int (structure, "width", 320);
gst_caps_structure_fixate_field_nearest_int (structure, "height", 240);
gst_caps_structure_fixate_field_nearest_double (structure, "framerate", 30.0);
gst_structure_fixate_field_nearest_int (structure, "width", 320);
gst_structure_fixate_field_nearest_int (structure, "height", 240);
gst_structure_fixate_field_nearest_double (structure, "framerate", 30.0);
}
static gboolean

View file

@ -253,9 +253,9 @@ gst_mikmod_srcfixate (GstPad * pad, const GstCaps * caps)
ret = gst_caps_copy (caps);
structure = gst_caps_get_structure (ret, 0);
if (gst_caps_structure_fixate_field_nearest_int (structure, "channels", 2))
if (gst_structure_fixate_field_nearest_int (structure, "channels", 2))
return ret;
if (gst_caps_structure_fixate_field_nearest_int (structure, "rate", 44100))
if (gst_structure_fixate_field_nearest_int (structure, "rate", 44100))
return ret;
gst_caps_free (ret);

View file

@ -260,9 +260,9 @@ gst_goom_src_negotiate (GstGoom * goom)
}
structure = gst_caps_get_structure (target, 0);
gst_caps_structure_fixate_field_nearest_int (structure, "width", 320);
gst_caps_structure_fixate_field_nearest_int (structure, "height", 240);
gst_caps_structure_fixate_field_nearest_double (structure, "framerate", 30.0);
gst_structure_fixate_field_nearest_int (structure, "width", 320);
gst_structure_fixate_field_nearest_int (structure, "height", 240);
gst_structure_fixate_field_nearest_double (structure, "framerate", 30.0);
gst_pad_set_caps (goom->srcpad, target);
gst_caps_unref (target);