From b5c817cb14237c402684c24010875350b8edde09 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Fri, 9 Jan 2004 09:48:43 +0000 Subject: ext/divx/gstdivxenc.c: Use explicit caps - fix capsnego. Original commit message from CVS: 2004-01-09 Ronald Bultje * ext/divx/gstdivxenc.c: (gst_divxenc_init): Use explicit caps - fix capsnego. * ext/xvid/gstxviddec.c: * ext/xvid/gstxvidenc.c: Remove macro-inside-macro which caused compile errors. * gst-libs/gst/riff/riff-read.c: (gst_riff_read_header): Error out if it's not a RIFF file. Else we error out without gst_element_error() which is not good... --- ext/xvid/gstxviddec.c | 2 -- ext/xvid/gstxvidenc.c | 2 -- 2 files changed, 4 deletions(-) (limited to 'ext/xvid') diff --git a/ext/xvid/gstxviddec.c b/ext/xvid/gstxviddec.c index 68804f8c..82655f1f 100644 --- a/ext/xvid/gstxviddec.c +++ b/ext/xvid/gstxviddec.c @@ -55,9 +55,7 @@ GST_STATIC_PAD_TEMPLATE ( GST_PAD_ALWAYS, GST_STATIC_CAPS ( GST_VIDEO_YUV_PAD_TEMPLATE_CAPS ("{ I420, YUY2, YV12, YVYU, UYVY }") "; " -#ifdef XVID_CSP_ARGB RGB_24_32_STATIC_CAPS (32, 0x00ff0000, 0x0000ff00, 0x000000ff) "; " -#endif RGB_24_32_STATIC_CAPS (32, 0xff000000, 0x00ff0000, 0x0000ff00) "; " RGB_24_32_STATIC_CAPS (32, 0x0000ff00, 0x00ff0000, 0xff000000) "; " RGB_24_32_STATIC_CAPS (32, 0x000000ff, 0x0000ff00, 0x00ff0000) "; " diff --git a/ext/xvid/gstxvidenc.c b/ext/xvid/gstxvidenc.c index 9ff4dd86..72ec9d78 100644 --- a/ext/xvid/gstxvidenc.c +++ b/ext/xvid/gstxvidenc.c @@ -43,9 +43,7 @@ GST_STATIC_PAD_TEMPLATE ( GST_PAD_ALWAYS, GST_STATIC_CAPS ( GST_VIDEO_YUV_PAD_TEMPLATE_CAPS ("{ I420, YUY2, YV12, YVYU, UYVY }") "; " -#ifdef XVID_CSP_ARGB RGB_24_32_STATIC_CAPS (32, 0x00ff0000, 0x0000ff00, 0x000000ff) "; " -#endif RGB_24_32_STATIC_CAPS (32, 0xff000000, 0x00ff0000, 0x0000ff00) "; " RGB_24_32_STATIC_CAPS (32, 0x0000ff00, 0x00ff0000, 0xff000000) "; " RGB_24_32_STATIC_CAPS (32, 0x000000ff, 0x0000ff00, 0x00ff0000) "; " -- cgit v1.2.1