From 8284d0d3a2911a9ef9667aa52f0fd42e4c93405f Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sun, 21 Dec 2003 23:24:38 +0000 Subject: Global change from "caps2" to "caps" Original commit message from CVS: Global change from "caps2" to "caps" --- gst/flx/gstflxdec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gst/flx') diff --git a/gst/flx/gstflxdec.c b/gst/flx/gstflxdec.c index 3fb0598c..ca893394 100644 --- a/gst/flx/gstflxdec.c +++ b/gst/flx/gstflxdec.c @@ -430,7 +430,7 @@ gst_flxdec_loop (GstElement *element) GstBuffer *buf; GstBuffer *databuf; guchar *data, *chunk; - GstCaps2 *caps; + GstCaps *caps; GstFlxDec *flxdec; FlxHeader *flxh; @@ -484,8 +484,8 @@ gst_flxdec_loop (GstElement *element) flxdec->frame_time = flxh->speed * GST_MSECOND; } - caps = gst_caps2_from_string (GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_32); - gst_caps2_set_simple (caps, + caps = gst_caps_from_string (GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_32); + gst_caps_set_simple (caps, "width", G_TYPE_INT, flxh->width, "height", G_TYPE_INT, flxh->height, "framerate", G_TYPE_DOUBLE, GST_SECOND/flxdec->frame_time, NULL); -- cgit v1.2.1