summaryrefslogtreecommitdiff
path: root/manual-elements.md
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@gnome.org>2016-06-05 21:50:32 -0400
committerThibault Saunier <tsaunier@gnome.org>2016-06-05 21:50:32 -0400
commit80096e588a79265fe310f1c1e5d48a18b878cd4f (patch)
tree0e14e2a11b366514d106840cd09c8e471afa06b0 /manual-elements.md
parent43a2465744d776ad5c181897e85553c8f9907b0d (diff)
Add missing language tags to code blocks
Diffstat (limited to 'manual-elements.md')
-rw-r--r--manual-elements.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/manual-elements.md b/manual-elements.md
index aaba96f..e11f72d 100644
--- a/manual-elements.md
+++ b/manual-elements.md
@@ -101,7 +101,7 @@ The following example \[1\] shows how to create an element named
*source* from the element factory named *fakesrc*. It checks if the
creation succeeded. After checking, it unrefs the element.
-```
+``` c
#include <gst/gst.h>
int
@@ -143,7 +143,7 @@ create the *fakesrc* element, a fake data source. The function
()`](http://gstreamer.freedesktop.org/data/doc/gstreamer/stable/gstreamer/html/GstElementFactory.html#gst-element-factory-create)
will use the element factory to create an element with the given name.
-```
+``` c
#include <gst/gst.h>
int
@@ -190,7 +190,7 @@ functions `gst_element_factory_make ()` or `gst_element_factory_create
`gst_object_set_name` and `gst_object_get_name` or use the `GObject`
property mechanism as shown below.
-```
+``` c
#include <gst/gst.h>
int
@@ -264,7 +264,7 @@ and a whole lot more. `gst-inspect` will give a list of all factories,
and `gst-inspect <factory-name>` will list all of the above information,
and a lot more.
-```
+``` c
#include <gst/gst.h>
int
@@ -335,7 +335,7 @@ an Ogg/Vorbis player later in this manual.
In code, the above graph is written like this:
-```
+``` c
#include <gst/gst.h>
int