summaryrefslogtreecommitdiff
path: root/ext/xvid/gstxvidenc.c
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2004-01-06 14:34:52 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2004-01-06 14:34:52 +0000
commit0051f0e18ecb90e900d6c4f92a01b473408f493e (patch)
treee4bd31852443eb8e9de3de655fe2fe812a9c635e /ext/xvid/gstxvidenc.c
parentc0c379cccbf20df183710f757a7ac0774d9da0c6 (diff)
downloadgstreamer-plugins-bad-0051f0e18ecb90e900d6c4f92a01b473408f493e.tar.gz
ifdef out ARGB type when it isn't available in xvidcore 1.0.0beta2
Original commit message from CVS: ifdef out ARGB type when it isn't available in xvidcore 1.0.0beta2
Diffstat (limited to 'ext/xvid/gstxvidenc.c')
-rw-r--r--ext/xvid/gstxvidenc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/xvid/gstxvidenc.c b/ext/xvid/gstxvidenc.c
index 72ec9d780..9ff4dd86f 100644
--- a/ext/xvid/gstxvidenc.c
+++ b/ext/xvid/gstxvidenc.c
@@ -43,7 +43,9 @@ 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) "; "