summaryrefslogtreecommitdiff
path: root/ext/gio/gstgiostreamsink.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gio/gstgiostreamsink.c')
-rw-r--r--ext/gio/gstgiostreamsink.c13
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 &lt;gst/gst.h&gt;
#include &lt;gio/gio.h&gt;
@@ -60,7 +57,7 @@ out_data = g_memory_ouput_stream_get_data (G_MEMORY_OUTPUT_STREAM (stream));
...
- * </programlisting>
+ * ]|
* </para>
* </refsect2>
*/