From ad1a25ba376885557833c19379538a57bbace0fd Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Sat, 27 Dec 2014 15:49:47 +0530 Subject: [PATCH] compositor: Document the pad properties --- gst/compositor/compositor.c | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/gst/compositor/compositor.c b/gst/compositor/compositor.c index 06d96bfce5..ba08556590 100644 --- a/gst/compositor/compositor.c +++ b/gst/compositor/compositor.c @@ -31,7 +31,31 @@ * Compositor will do colorspace conversion. * * Individual parameters for each input stream can be configured on the - * #GstCompositorPad. + * #GstCompositorPad: + * + * + * + * "xpos": The x-coordinate position of the top-left corner of the picture + * (#gint) + * + * + * "ypos": The y-coordinate position of the top-left corner of the picture + * (#gint) + * + * + * "width": The width of the picture; the input will be scaled if necessary + * (#gint) + * + * + * "height": The height of the picture; the input will be scaled if necessary + * (#gint) + * + * + * "alpha": The transparency of the picture; between 0.0 and 1.0. The blending + * is a simple copy when fully-transparent (0.0) and fully-opaque (1.0). + * (#gdouble) + * + * * * * Sample pipelines