[gst-cvs] gstreamer: docs: use the gtk-doc shortcuts to get coloured and xrefed example
Stefan Kost
ensonic at kemper.freedesktop.org
Mon Oct 11 06:52:17 PDT 2010
Module: gstreamer
Branch: master
Commit: ad2e7b1de3e58ab3bc109e9f8c1be095af9f3f3b
URL: http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=ad2e7b1de3e58ab3bc109e9f8c1be095af9f3f3b
Author: Stefan Kost <ensonic at users.sf.net>
Date: Mon Oct 11 16:41:26 2010 +0300
docs: use the gtk-doc shortcuts to get coloured and xrefed example
---
libs/gst/base/gstadapter.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/libs/gst/base/gstadapter.c b/libs/gst/base/gstadapter.c
index 07a5bb1..a5211fb 100644
--- a/libs/gst/base/gstadapter.c
+++ b/libs/gst/base/gstadapter.c
@@ -42,7 +42,7 @@
*
* For example, a sink pad's chain function that needs to pass data to a library
* in 512-byte chunks could be implemented like this:
- * <programlisting>
+ * |[
* static GstFlowReturn
* sink_pad_chain (GstPad *pad, GstBuffer *buffer)
* {
@@ -66,7 +66,8 @@
* gst_object_unref (this);
* return ret;
* }
- * </programlisting>
+ * ]|
+ *
* For another example, a simple element inside GStreamer that uses GstAdapter
* is the libvisual element.
*
More information about the Gstreamer-commits
mailing list