summaryrefslogtreecommitdiffstats
path: root/ext/hermes
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2004-01-12 02:01:52 +0000
committerBenjamin Otte <otte@gnome.org>2004-01-12 02:01:52 +0000
commitf768ab94c7f8fe3aa53ee32499cedd810f1159a4 (patch)
tree6f5c79517a5b2dd9d0196aee96310b6265ea77e1 /ext/hermes
parentf4acaab1471288d74a2489cf9418c0005541b9f9 (diff)
downloadgst-plugins-bad-f768ab94c7f8fe3aa53ee32499cedd810f1159a4.tar.gz
gst-plugins-bad-f768ab94c7f8fe3aa53ee32499cedd810f1159a4.tar.bz2
gst-plugins-bad-f768ab94c7f8fe3aa53ee32499cedd810f1159a4.zip
gst-libs/gst/video/video.h: Fix caps template names to be understandable.
Original commit message from CVS: 2004-01-12 Benjamin Otte <in7y118@public.uni-hamburg.de> * gst-libs/gst/video/video.h: Fix caps template names to be understandable. Prefix everything with GST_VIDEO. * ext/aalib/gstaasink.c: * ext/divx/gstdivxdec.c: * ext/divx/gstdivxenc.c: * ext/gdk_pixbuf/gstgdkpixbuf.c: * ext/hermes/gstcolorspace.c: (gst_colorspace_base_init): * ext/jpeg/gstjpegdec.c: (raw_caps_factory): * ext/jpeg/gstjpegenc.c: (raw_caps_factory): * ext/libcaca/gstcacasink.c: * ext/libpng/gstpngenc.c: (raw_caps_factory): * ext/snapshot/gstsnapshot.c: * ext/swfdec/gstswfdec.c: * ext/xvid/gstxviddec.c: * ext/xvid/gstxvidenc.c: * gst/chart/gstchart.c: * gst/deinterlace/gstdeinterlace.c: * gst/effectv/gsteffectv.c: * gst/flx/gstflxdec.c: (gst_flxdec_loop): * gst/goom/gstgoom.c: * gst/median/gstmedian.c: * gst/monoscope/gstmonoscope.c: (gst_monoscope_init), (gst_monoscope_srcconnect), (gst_monoscope_chain): * gst/overlay/gstoverlay.c: * gst/smooth/gstsmooth.c: * gst/smpte/gstsmpte.c: * gst/synaesthesia/gstsynaesthesia.c: * gst/videocrop/gstvideocrop.c: * gst/videodrop/gstvideodrop.c: * gst/y4m/gsty4mencode.c: * sys/qcam/gstqcamsrc.c: * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_palette_to_caps): Make them work with new video.h file. * sys/ximage/ximagesink.c: (gst_ximagesink_chain), (gst_ximagesink_buffer_free), (gst_ximagesink_buffer_alloc): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain), (gst_xvimagesink_buffer_free), (gst_xvimagesink_buffer_alloc): Make it work with new buffer allocation system.
Diffstat (limited to 'ext/hermes')
-rw-r--r--ext/hermes/gstcolorspace.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/ext/hermes/gstcolorspace.c b/ext/hermes/gstcolorspace.c
index 92fa4b49..7c97ff23 100644
--- a/ext/hermes/gstcolorspace.c
+++ b/ext/hermes/gstcolorspace.c
@@ -321,11 +321,15 @@ gst_colorspace_base_init (gpointer g_class)
/* create caps for templates */
caps = gst_caps_from_string (
- GST_VIDEO_YUV_PAD_TEMPLATE_CAPS ("{ I420, YV12, YUY2 }") "; "
- GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_24_32_REVERSE "; "
- GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_24_32 "; "
- GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_15 "; "
- GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_16);
+ GST_VIDEO_CAPS_YUV ("{ I420, YV12, YUY2 }") "; "
+ GST_VIDEO_CAPS_RGB "; "
+ GST_VIDEO_CAPS_BGR "; "
+ GST_VIDEO_CAPS_xBGR "; "
+ GST_VIDEO_CAPS_xRGB "; "
+ GST_VIDEO_CAPS_BGRx "; "
+ GST_VIDEO_CAPS_RGBx "; "
+ GST_VIDEO_CAPS_RGB_15 "; "
+ GST_VIDEO_CAPS_RGB_16);
/* build templates */
srctempl = gst_pad_template_new ("src",