diff --git a/docs/manual/basics-helloworld.xml b/docs/manual/basics-helloworld.xml
index 393f58cf47..cfcd285f6a 100644
--- a/docs/manual/basics-helloworld.xml
+++ b/docs/manual/basics-helloworld.xml
@@ -16,7 +16,7 @@
-
+/* example-begin helloworld.c */
#include <gst/gst.h>
int
@@ -27,7 +27,7 @@ main (int argc, char *argv[])
gst_init(&argc, &argv);
if (argc != 2) {
- g_print ("usage: %s <filename>\n", argv[0]);
+ g_print ("usage: %s <mp3 filename>\n", argv[0]);
exit (-1);
}
@@ -64,7 +64,7 @@ main (int argc, char *argv[])
exit (0);
}
-
+/* example-end helloworld.c */
@@ -72,7 +72,8 @@ main (int argc, char *argv[])
- The first thing you have to do is to include the standard GStreamer headers and
+ The first thing you have to do is to include the standard
+ GStreamer headers and
initialize the framework.
diff --git a/docs/manual/helloworld.xml b/docs/manual/helloworld.xml
index 393f58cf47..cfcd285f6a 100644
--- a/docs/manual/helloworld.xml
+++ b/docs/manual/helloworld.xml
@@ -16,7 +16,7 @@
-
+/* example-begin helloworld.c */
#include <gst/gst.h>
int
@@ -27,7 +27,7 @@ main (int argc, char *argv[])
gst_init(&argc, &argv);
if (argc != 2) {
- g_print ("usage: %s <filename>\n", argv[0]);
+ g_print ("usage: %s <mp3 filename>\n", argv[0]);
exit (-1);
}
@@ -64,7 +64,7 @@ main (int argc, char *argv[])
exit (0);
}
-
+/* example-end helloworld.c */
@@ -72,7 +72,8 @@ main (int argc, char *argv[])
- The first thing you have to do is to include the standard GStreamer headers and
+ The first thing you have to do is to include the standard
+ GStreamer headers and
initialize the framework.
diff --git a/docs/manual/helloworld2.xml b/docs/manual/helloworld2.xml
index 14b83d0e8e..f1fe2ef47a 100644
--- a/docs/manual/helloworld2.xml
+++ b/docs/manual/helloworld2.xml
@@ -18,6 +18,7 @@
+/* example-begin helloworld.c */
#include <gst/gst.h>
static void gst_play_have_type (GstElement *typefind, GstCaps *caps, GstElement *pipeline);
@@ -78,6 +79,7 @@ main (int argc, char *argv[])
exit(0);
}
+/* example-end helloworld.c */
We start by constructing a 'filesrc' element and an 'autobin' element that