diff options
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, |