diff options
author | Jan Schmidt <thaytan@mad.scientist.com> | 2004-01-06 14:34:52 +0000 |
---|---|---|
committer | Jan Schmidt <thaytan@mad.scientist.com> | 2004-01-06 14:34:52 +0000 |
commit | 0051f0e18ecb90e900d6c4f92a01b473408f493e (patch) | |
tree | e4bd31852443eb8e9de3de655fe2fe812a9c635e /ext/xvid/gstxviddec.c | |
parent | c0c379cccbf20df183710f757a7ac0774d9da0c6 (diff) | |
download | gst-plugins-bad-0051f0e18ecb90e900d6c4f92a01b473408f493e.tar.gz gst-plugins-bad-0051f0e18ecb90e900d6c4f92a01b473408f493e.tar.bz2 gst-plugins-bad-0051f0e18ecb90e900d6c4f92a01b473408f493e.zip |
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/gstxviddec.c')
-rw-r--r-- | ext/xvid/gstxviddec.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/xvid/gstxviddec.c b/ext/xvid/gstxviddec.c index 0766c3ef..68804f8c 100644 --- a/ext/xvid/gstxviddec.c +++ b/ext/xvid/gstxviddec.c @@ -55,7 +55,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) "; " @@ -288,7 +290,9 @@ gst_xviddec_src_getcaps (GstPad *pad) XVID_CSP_BGRA, XVID_CSP_ABGR, XVID_CSP_RGBA, +#ifdef XVID_CSP_ARGB XVID_CSP_ARGB, +#endif XVID_CSP_BGR, XVID_CSP_RGB555, XVID_CSP_RGB565, |