From 8a7c7d077f64ea13efefc7374b1c565383b32272 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Mon, 21 Nov 2005 14:33:11 +0000 Subject: 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) --- gst/librfb/gstrfbsrc.c | 3 +-- gst/modplug/gstmodplug.cc | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'gst') diff --git a/gst/librfb/gstrfbsrc.c b/gst/librfb/gstrfbsrc.c index 5f53a3a3..05fcc98d 100644 --- a/gst/librfb/gstrfbsrc.c +++ b/gst/librfb/gstrfbsrc.c @@ -292,8 +292,7 @@ gst_rfbsrc_fixate (GstPad * pad, const GstCaps * caps) newcaps = gst_caps_copy (caps); structure = gst_caps_get_structure (newcaps, 0); - if (gst_caps_structure_fixate_field_nearest_double (structure, "framerate", - 30.0)) { + if (gst_structure_fixate_field_nearest_double (structure, "framerate", 30.0)) { return newcaps; } diff --git a/gst/modplug/gstmodplug.cc b/gst/modplug/gstmodplug.cc index dabcfcb3..ec401793 100644 --- a/gst/modplug/gstmodplug.cc +++ b/gst/modplug/gstmodplug.cc @@ -480,9 +480,9 @@ gst_modplug_fixate (GstPad * pad, const GstCaps * caps) copy = gst_caps_copy (caps); structure = gst_caps_get_structure (copy, 0); - if (gst_caps_structure_fixate_field_nearest_int (structure, "rate", 44100)) + if (gst_structure_fixate_field_nearest_int (structure, "rate", 44100)) return copy; - if (gst_caps_structure_fixate_field_nearest_int (structure, "channels", 2)) + if (gst_structure_fixate_field_nearest_int (structure, "channels", 2)) return copy; gst_caps_free (copy); } -- cgit v1.2.1