diff options
author | Jan Schmidt <thaytan@mad.scientist.com> | 2005-11-21 14:33:11 +0000 |
---|---|---|
committer | Jan Schmidt <thaytan@mad.scientist.com> | 2005-11-21 14:33:11 +0000 |
commit | 8a7c7d077f64ea13efefc7374b1c565383b32272 (patch) | |
tree | 20b06d4d4483f84677160d4d753eae0326cccd09 | |
parent | 7f1b45229fa255f362ae560a785f9d99af14bc14 (diff) | |
download | gst-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)
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | ext/audioresample/gstaudioresample.c | 2 | ||||
-rw-r--r-- | ext/polyp/polypsink.c | 8 | ||||
-rw-r--r-- | gst/librfb/gstrfbsrc.c | 3 | ||||
-rw-r--r-- | gst/modplug/gstmodplug.cc | 4 | ||||
-rw-r--r-- | sys/glsink/glimagesink.c | 7 | ||||
-rw-r--r-- | sys/v4l2/gstv4l2src.c | 6 |
7 files changed, 24 insertions, 17 deletions
@@ -1,3 +1,14 @@ +2005-11-21 Jan Schmidt <thaytan@mad.scientist.com> + + * 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) + 2005-11-21 Edgard Lima <edgard.lima@indt.org.br> * ext/Makefile.am: diff --git a/ext/audioresample/gstaudioresample.c b/ext/audioresample/gstaudioresample.c index 363acd9b..46944b80 100644 --- a/ext/audioresample/gstaudioresample.c +++ b/ext/audioresample/gstaudioresample.c @@ -212,7 +212,7 @@ static GstCaps *gst_audioresample_fixate (GstPad * pad, const GstCaps * caps) copy = gst_caps_copy (caps); structure = gst_caps_get_structure (copy, 0); if (rate) { - if (gst_caps_structure_fixate_field_nearest_int (structure, "rate", rate)) { + if (gst_structure_fixate_field_nearest_int (structure, "rate", rate)) { return copy; } } 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); 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); } diff --git a/sys/glsink/glimagesink.c b/sys/glsink/glimagesink.c index d1a76015..efef625a 100644 --- a/sys/glsink/glimagesink.c +++ b/sys/glsink/glimagesink.c @@ -840,14 +840,13 @@ gst_glimagesink_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_int (structure, "width", 320)) { + if (gst_structure_fixate_field_nearest_int (structure, "width", 320)) { 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; } - 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/sys/v4l2/gstv4l2src.c b/sys/v4l2/gstv4l2src.c index 7d0e16a2..ef0f2be7 100644 --- a/sys/v4l2/gstv4l2src.c +++ b/sys/v4l2/gstv4l2src.c @@ -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; |