Commit bdb1e59d authored by Sebastian Dröge's avatar Sebastian Dröge

cairorender: Add to the documentation

parent 7ba6ef66
......@@ -80,6 +80,7 @@ EXTRA_HFILES = \
$(top_srcdir)/ext/annodex/gstcmmlenc.h \
$(top_srcdir)/ext/cairo/gsttextoverlay.h \
$(top_srcdir)/ext/cairo/gsttimeoverlay.h \
$(top_srcdir)/ext/cairo/gstcairorender.h \
$(top_srcdir)/ext/dv/gstdvdec.h \
$(top_srcdir)/ext/dv/gstdvdemux.h \
$(top_srcdir)/ext/esd/esdsink.h \
......
......@@ -48,6 +48,7 @@
<xi:include href="xml/element-cacasink.xml" />
<xi:include href="xml/element-cairotextoverlay.xml" />
<xi:include href="xml/element-cairotimeoverlay.xml" />
<xi:include href="xml/element-cairorender.xml" />
<xi:include href="xml/element-cmmldec.xml" />
<xi:include href="xml/element-cmmlenc.xml" />
<xi:include href="xml/element-cutter.xml" />
......
......@@ -420,6 +420,20 @@ GST_IS_CAIRO_TIME_OVERLAY_CLASS
gst_cairo_time_overlay_get_type
</SECTION>
<SECTION>
<FILE>element-cairorender</FILE>
<TITLE>cairorender</TITLE>
GstCairoRender
<SUBSECTION Standard>
GstCairoRenderClass
GST_TYPE_CAIRO_RENDER
GST_CAIRO_RENDER
GST_CAIRO_RENDER_CLASS
GST_IS_CAIRO_RENDER
GST_IS_CAIRO_RENDER_CLASS
gst_cairo_render_get_type
</SECTION>
<SECTION>
<FILE>element-cmmldec</FILE>
<TITLE>cmmldec</TITLE>
......
......@@ -1668,6 +1668,16 @@
<DEFAULT>TRUE</DEFAULT>
</ARG>
<ARG>
<NAME>GstFlacEnc::padding</NAME>
<TYPE>guint</TYPE>
<RANGE></RANGE>
<FLAGS>rwx</FLAGS>
<NICK>Padding</NICK>
<BLURB>Write a PADDING block with this length in bytes.</BLURB>
<DEFAULT>0</DEFAULT>
</ARG>
<ARG>
<NAME>GstOssSink::device</NAME>
<TYPE>gchar*</TYPE>
......
......@@ -78,6 +78,7 @@ GObject
GstRgAnalysis
GstRgLimiter
GstVideoCrop
GstCairoRender
GstBaseSrc
GstPushSrc
GstSoupHTTPSrc
......
<plugin>
<name>cairo</name>
<description>Cairo-based overlaying</description>
<description>Cairo-based elements</description>
<filename>../../ext/cairo/.libs/libgstcairo.so</filename>
<basename>libgstcairo.so</basename>
<version>0.10.15.1</version>
......@@ -9,6 +9,27 @@
<package>GStreamer Good Plug-ins git/prerelease</package>
<origin>Unknown package origin</origin>
<elements>
<element>
<name>cairorender</name>
<longname>Cairo encoder</longname>
<class>Codec/Encoder</class>
<description>Encodes streams using Cairo</description>
<author>Lutz Mueller &lt;lutz@topfrose.de&gt;</author>
<pads>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>application/pdf, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ]; application/postscript, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ]; image/svg+xml, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ]; image/png, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ]</details>
</caps>
<caps>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<details>video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv, format=(fourcc)Y800, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-gray, bpp=(int)8, depth=(int)8, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; image/png, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ]</details>
</caps>
</pads>
</element>
<element>
<name>cairotextoverlay</name>
<longname>Text overlay</longname>
......
......@@ -17,6 +17,20 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
/**
* SECTION:element-cairorender
*
* cairorender encodes a video stream into PDF, SVG, PNG or Postscript
*
* <refsect2>
* <title>Example launch line</title>
* |[
* gst-launch videotestsrc num-buffers=3 ! cairorender ! "application/pdf" ! filesink location=test.pdf
* ]|
* </refsect2>
*/
#include "gstcairorender.h"
#include <cairo.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment