summaryrefslogtreecommitdiffstats
path: root/ext/polyp
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2005-11-21 14:33:11 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2005-11-21 14:33:11 +0000
commit8a7c7d077f64ea13efefc7374b1c565383b32272 (patch)
tree20b06d4d4483f84677160d4d753eae0326cccd09 /ext/polyp
parent7f1b45229fa255f362ae560a785f9d99af14bc14 (diff)
downloadgst-plugins-bad-8a7c7d077f64ea13efefc7374b1c565383b32272.tar.gz
gst-plugins-bad-8a7c7d077f64ea13efefc7374b1c565383b32272.tar.bz2
gst-plugins-bad-8a7c7d077f64ea13efefc7374b1c565383b32272.zip
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)
Diffstat (limited to 'ext/polyp')
-rw-r--r--ext/polyp/polypsink.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/polyp/polypsink.c b/ext/polyp/polypsink.c
index 8afc8708..a18569b4 100644
--- a/ext/polyp/polypsink.c
+++ b/ext/polyp/polypsink.c
@@ -575,10 +575,10 @@ gst_polypsink_sink_fixate (GstPad * pad, const GstCaps * caps)
NULL);
structure = gst_caps_get_structure (newcaps, 0);
- if (gst_caps_structure_fixate_field_nearest_int (structure, "rate", 44100) ||
- gst_caps_structure_fixate_field_nearest_int (structure, "depth", 16) ||
- gst_caps_structure_fixate_field_nearest_int (structure, "width", 16) ||
- gst_caps_structure_fixate_field_nearest_int (structure, "channels", 2))
+ if (gst_structure_fixate_field_nearest_int (structure, "rate", 44100) ||
+ gst_structure_fixate_field_nearest_int (structure, "depth", 16) ||
+ gst_structure_fixate_field_nearest_int (structure, "width", 16) ||
+ gst_structure_fixate_field_nearest_int (structure, "channels", 2))
return newcaps;
gst_caps_free (newcaps);