From: Stefan Kost Date: Mon, 11 Oct 2010 13:41:26 +0000 (+0300) Subject: docs: use the gtk-doc shortcuts to get coloured and xrefed example X-Git-Tag: RELEASE-0.10.31~49 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ad2e7b1de3e58ab3bc109e9f8c1be095af9f3f3b;p=platform%2Fupstream%2Fgstreamer.git docs: use the gtk-doc shortcuts to get coloured and xrefed example --- 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: - * + * |[ * static GstFlowReturn * sink_pad_chain (GstPad *pad, GstBuffer *buffer) * { @@ -66,7 +66,8 @@ * gst_object_unref (this); * return ret; * } - * + * ]| + * * For another example, a simple element inside GStreamer that uses GstAdapter * is the libvisual element. *