diff options
Diffstat (limited to 'ext/gio/gstgiostreamsink.c')
-rw-r--r-- | ext/gio/gstgiostreamsink.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/ext/gio/gstgiostreamsink.c b/ext/gio/gstgiostreamsink.c index da3892203..dfade6811 100644 --- a/ext/gio/gstgiostreamsink.c +++ b/ext/gio/gstgiostreamsink.c @@ -21,20 +21,17 @@ /** * SECTION:element-giostreamsink - * @short_description: Write to a GIO GOutputStream * - * <refsect2> - * <para> * This plugin writes incoming data to a custom GIO #GOutputStream. - * </para> - * <para> + * * It can, for example, be used to write a stream to memory with a * #GMemoryOuputStream or to write to a file with a #GFileOuputStream. - * </para> + * + * <refsect2> * <title>Example code</title> * <para> * The following example writes the received data to a #GMemoryOutputStream. - * <programlisting> + * |[ #include <gst/gst.h> #include <gio/gio.h> @@ -60,7 +57,7 @@ out_data = g_memory_ouput_stream_get_data (G_MEMORY_OUTPUT_STREAM (stream)); ... - * </programlisting> + * ]| * </para> * </refsect2> */ |