From 4d906b4a0ab9d5a9499d4eb0a368efb880f72000 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 8 Apr 2010 12:56:30 +0200 Subject: [PATCH] alphacolor: Improve docs a bit --- gst/alpha/gstalphacolor.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gst/alpha/gstalphacolor.c b/gst/alpha/gstalphacolor.c index 15e0f8f921..156ce04e33 100644 --- a/gst/alpha/gstalphacolor.c +++ b/gst/alpha/gstalphacolor.c @@ -21,7 +21,14 @@ * SECTION:element-alphacolor * * The alphacolor element does memory-efficient (in-place) colourspace - * conversion from RGBA to AYUV, preserving the alpha channel. + * conversion from RGBA to AYUV or AYUV to RGBA while preserving the + * alpha channel. + * + * Sample pipeline: + * |[ + * gst-launch videotestsrc ! "video/x-raw-yuv,format=(fourcc)AYUV" ! \ + * alphacolor ! "video/x-raw-rgb" ! ffmpegcolorspace ! autovideosink + * ]| */ #ifdef HAVE_CONFIG_H