summaryrefslogtreecommitdiffstats
path: root/ext/hermes/yuv2rgb.c
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2003-12-21 23:24:38 +0000
committerDavid Schleef <ds@schleef.org>2003-12-21 23:24:38 +0000
commit8284d0d3a2911a9ef9667aa52f0fd42e4c93405f (patch)
tree5fa53a115231b29afd0bc832f9c32afdd8dd51c7 /ext/hermes/yuv2rgb.c
parent26da56b423a834192f5edf413c3cb1be257f845a (diff)
downloadgst-plugins-bad-8284d0d3a2911a9ef9667aa52f0fd42e4c93405f.tar.gz
gst-plugins-bad-8284d0d3a2911a9ef9667aa52f0fd42e4c93405f.tar.bz2
gst-plugins-bad-8284d0d3a2911a9ef9667aa52f0fd42e4c93405f.zip
Global change from "caps2" to "caps"CAPS-ENDCAPS
Original commit message from CVS: Global change from "caps2" to "caps"
Diffstat (limited to 'ext/hermes/yuv2rgb.c')
-rw-r--r--ext/hermes/yuv2rgb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/hermes/yuv2rgb.c b/ext/hermes/yuv2rgb.c
index 512eb046..b3b1b494 100644
--- a/ext/hermes/yuv2rgb.c
+++ b/ext/hermes/yuv2rgb.c
@@ -105,7 +105,7 @@ static GstColorSpaceYUVTables * gst_colorspace_init_yuv(long depth,
long red_mask, long green_mask, long blue_mask);
GstColorSpaceConverter*
-gst_colorspace_yuv2rgb_get_converter (const GstCaps2 *from, const GstCaps2 *to)
+gst_colorspace_yuv2rgb_get_converter (const GstCaps *from, const GstCaps *to)
{
guint32 from_space;
GstColorSpaceConverter *new;
@@ -116,8 +116,8 @@ gst_colorspace_yuv2rgb_get_converter (const GstCaps2 *from, const GstCaps2 *to)
new = g_malloc (sizeof (GstColorSpaceConverter));
- struct_from = gst_caps2_get_nth_cap (from, 0);
- struct_to = gst_caps2_get_nth_cap (to, 0);
+ struct_from = gst_caps_get_structure (from, 0);
+ struct_to = gst_caps_get_structure (to, 0);
gst_structure_get_int (struct_from, "width", &new->width);
gst_structure_get_int (struct_from, "height", &new->height);