ext/hermes/gsthermescolorspace.c: Fix another compile error. Same as below.

Original commit message from CVS:
2004-01-15  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/hermes/gsthermescolorspace.c:
Fix another compile error. Same as below.
This commit is contained in:
Ronald S. Bultje 2004-01-15 11:02:02 +00:00
parent 410421d10f
commit c01f7aee1d
2 changed files with 29 additions and 14 deletions

View file

@ -1,3 +1,8 @@
2004-01-15 Ronald Bultje <rbultje@ronald.bitfreak.net>
* ext/hermes/gsthermescolorspace.c:
Fix another compile error. Same as below.
2004-01-15 Ronald Bultje <rbultje@ronald.bitfreak.net> 2004-01-15 Ronald Bultje <rbultje@ronald.bitfreak.net>
* gst/colorspace/gstcolorspace.c: * gst/colorspace/gstcolorspace.c:

View file

@ -84,10 +84,14 @@ typedef struct _GstHermesColorspaceFormat {
} GstHermesColorspaceFormat; } GstHermesColorspaceFormat;
static GstHermesColorspaceFormat gst_hermes_colorspace_formats[] = { static GstHermesColorspaceFormat gst_hermes_colorspace_formats[] = {
{ GST_STATIC_CAPS (GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_24_32_REVERSE) }, { GST_STATIC_CAPS (GST_VIDEO_CAPS_xRGB) },
{ GST_STATIC_CAPS (GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_24_32) }, { GST_STATIC_CAPS (GST_VIDEO_CAPS_RGBx) },
{ GST_STATIC_CAPS (GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_15) }, { GST_STATIC_CAPS (GST_VIDEO_CAPS_BGRx) },
{ GST_STATIC_CAPS (GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_16) }, { GST_STATIC_CAPS (GST_VIDEO_CAPS_xBGR) },
{ GST_STATIC_CAPS (GST_VIDEO_CAPS_BGR) },
{ GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB) },
{ GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB_15) },
{ GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB_16) },
}; };
static GstElementDetails colorspace_details = { static GstElementDetails colorspace_details = {
@ -462,11 +466,14 @@ GST_STATIC_PAD_TEMPLATE (
GST_PAD_SRC, GST_PAD_SRC,
GST_PAD_ALWAYS, GST_PAD_ALWAYS,
GST_STATIC_CAPS ( GST_STATIC_CAPS (
GST_VIDEO_YUV_PAD_TEMPLATE_CAPS ("{ I420, YV12, YUY2 }") "; " GST_VIDEO_CAPS_xRGB "; "
GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_24_32_REVERSE "; " GST_VIDEO_CAPS_RGBx "; "
GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_24_32 "; " GST_VIDEO_CAPS_BGRx "; "
GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_15 "; " GST_VIDEO_CAPS_xBGR "; "
GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_16) GST_VIDEO_CAPS_BGR "; "
GST_VIDEO_CAPS_RGB "; "
GST_VIDEO_CAPS_RGB_16 "; "
GST_VIDEO_CAPS_RGB_15)
); );
static GstStaticPadTemplate gst_hermes_colorspace_sink_pad_template = static GstStaticPadTemplate gst_hermes_colorspace_sink_pad_template =
@ -475,11 +482,14 @@ GST_STATIC_PAD_TEMPLATE (
GST_PAD_SINK, GST_PAD_SINK,
GST_PAD_ALWAYS, GST_PAD_ALWAYS,
GST_STATIC_CAPS ( GST_STATIC_CAPS (
GST_VIDEO_YUV_PAD_TEMPLATE_CAPS ("{ I420, YV12, YUY2 }") "; " GST_VIDEO_CAPS_xRGB "; "
GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_24_32_REVERSE "; " GST_VIDEO_CAPS_RGBx "; "
GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_24_32 "; " GST_VIDEO_CAPS_BGRx "; "
GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_15 "; " GST_VIDEO_CAPS_xBGR "; "
GST_VIDEO_RGB_PAD_TEMPLATE_CAPS_16) GST_VIDEO_CAPS_BGR "; "
GST_VIDEO_CAPS_RGB "; "
GST_VIDEO_CAPS_RGB_16 "; "
GST_VIDEO_CAPS_RGB_15)
); );
static void static void