mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
docs: use the gtk-doc shortcuts to get coloured and xrefed example
This commit is contained in:
parent
87d02b7b32
commit
ad2e7b1de3
1 changed files with 3 additions and 2 deletions
|
@ -42,7 +42,7 @@
|
||||||
*
|
*
|
||||||
* For example, a sink pad's chain function that needs to pass data to a library
|
* 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:
|
* in 512-byte chunks could be implemented like this:
|
||||||
* <programlisting>
|
* |[
|
||||||
* static GstFlowReturn
|
* static GstFlowReturn
|
||||||
* sink_pad_chain (GstPad *pad, GstBuffer *buffer)
|
* sink_pad_chain (GstPad *pad, GstBuffer *buffer)
|
||||||
* {
|
* {
|
||||||
|
@ -66,7 +66,8 @@
|
||||||
* gst_object_unref (this);
|
* gst_object_unref (this);
|
||||||
* return ret;
|
* return ret;
|
||||||
* }
|
* }
|
||||||
* </programlisting>
|
* ]|
|
||||||
|
*
|
||||||
* For another example, a simple element inside GStreamer that uses GstAdapter
|
* For another example, a simple element inside GStreamer that uses GstAdapter
|
||||||
* is the libvisual element.
|
* is the libvisual element.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue