From 425a3fef254f7acb7ce9ff7e7596b9c2fcc95adf Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 11 Nov 2003 22:40:43 +0000 Subject: make colorspace handle the original RGB format, too, since it handles both. Add the template caps for the reverse for... Original commit message from CVS: make colorspace handle the original RGB format, too, since it handles both. Add the template caps for the reverse format to video.h --- ext/hermes/gstcolorspace.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ext') diff --git a/ext/hermes/gstcolorspace.c b/ext/hermes/gstcolorspace.c index 006c7bea..a59ef39d 100644 --- a/ext/hermes/gstcolorspace.c +++ b/ext/hermes/gstcolorspace.c @@ -443,6 +443,10 @@ gst_colorspace_base_init (gpointer g_class) GST_PROPS_FOURCC (GST_STR_FOURCC ("I420")), GST_PROPS_FOURCC (GST_STR_FOURCC ("YV12")), GST_PROPS_FOURCC (GST_STR_FOURCC ("YUY2"))))); + caps = gst_caps_append (caps, + gst_caps_new ("csp_templ_rgb24_32", + "video/x-raw-rgb", + GST_VIDEO_RGB_PAD_TEMPLATE_PROPS_24_32_REVERSE)); caps = gst_caps_append (caps, gst_caps_new ("csp_templ_rgb24_32", "video/x-raw-rgb", -- cgit v1.2.1