the percent sign is now valid XML

Original commit message from CVS:
the percent sign is now valid XML
This commit is contained in:
Andy Wingo 2002-07-09 18:43:13 +00:00
parent fcfefdca75
commit 959fc2b57e
18 changed files with 26 additions and 26 deletions

View file

@ -100,7 +100,7 @@ main (int argc, char *argv[])
GstElement *thread;
if (argc != 2) {
g_print ("usage: %s <filename>\n", argv[0]);
g_print ("usage: %s <filename>\n", argv[0]);
exit (-1);
}

View file

@ -53,13 +53,13 @@ main (int argc, char *argv[])
gst_init (&argc, &argv);
if (argc != 2) {
g_print ("usage: %s <filename>\n", argv[0]);
g_print ("usage: %s <filename>\n", argv[0]);
return -1;
}
pipeline = gst_parse_launch ("filesrc name=my_filesrc ! mad ! osssink", &error);
if (!pipeline) {
g_print ("Parse error: %s\n", error->message);
g_print ("Parse error: %s\n", error->message);
exit (1);
}

View file

@ -112,7 +112,7 @@
while (elements) {
GstElement *element = GST_ELEMENT (elements->data);
g_print ("element in bin: %s\n", GST_OBJECT_NAME (GST_OBJECT (element)));
g_print ("element in bin: %s\n", GST_OBJECT_NAME (GST_OBJECT (element)));
elements = g_list_next (elements);
}

View file

@ -26,7 +26,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 <filename>\n", argv[0]);
exit (-1);
}

View file

@ -34,7 +34,7 @@
while (pads) {
GstPad *pad = GST_PAD (pads->data);
g_print ("pad name %s\n", gst_pad_get_name (pad));
g_print ("pad name %s\n", gst_pad_get_name (pad));
pads = g_list_next (pads);
}
@ -82,7 +82,7 @@
static void
pad_connect_func (GstElement *parser, GstPad *pad, GstElement *pipeline)
{
g_print("***** a new pad %s was created\n", gst_pad_get_name(pad));
g_print("***** a new pad %s was created\n", gst_pad_get_name(pad));
gst_element_set_state (pipeline, GST_STATE_PAUSED);
@ -327,10 +327,10 @@ Pads:
...
caps = gst_pad_get_caps (pad);
g_print ("pad name %s\n", gst_pad_get_name (pad));
g_print ("pad name %s\n", gst_pad_get_name (pad));
while (caps) {
g_print (" Capability name %s, MIME type %s\n",
g_print (" Capability name %s, MIME type %s\n",
gst_caps_get_name (cap),
gst_caps_get_mime (cap));

View file

@ -67,7 +67,7 @@ struct _GstPlugin {
while (plugins) {
GstPlugin *plugin = (GstPlugin *)plugins->data;
g_print ("plugin: %s\n", gst_plugin_get_name (plugin));
g_print ("plugin: %s\n", gst_plugin_get_name (plugin));
plugins = g_list_next (plugins);
}

View file

@ -112,7 +112,7 @@
while (elements) {
GstElement *element = GST_ELEMENT (elements->data);
g_print ("element in bin: %s\n", GST_OBJECT_NAME (GST_OBJECT (element)));
g_print ("element in bin: %s\n", GST_OBJECT_NAME (GST_OBJECT (element)));
elements = g_list_next (elements);
}

View file

@ -97,7 +97,7 @@ new_pad_created (GstElement *parse, GstPad *pad, GstElement *pipeline)
GstElement *audio_queue, *video_queue;
GstElement *audio_thread, *video_thread;
g_print ("***** a new pad %s was created\n", gst_pad_get_name (pad));
g_print ("***** a new pad %s was created\n", gst_pad_get_name (pad));
gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_PAUSED);

View file

@ -26,7 +26,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 <filename>\n", argv[0]);
exit (-1);
}

View file

@ -35,7 +35,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 <filename>\n", argv[0]);
exit (-1);
}

View file

@ -38,7 +38,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 <filename>\n", argv[0]);
exit (-1);
}

View file

@ -34,7 +34,7 @@
while (pads) {
GstPad *pad = GST_PAD (pads->data);
g_print ("pad name %s\n", gst_pad_get_name (pad));
g_print ("pad name %s\n", gst_pad_get_name (pad));
pads = g_list_next (pads);
}
@ -82,7 +82,7 @@
static void
pad_connect_func (GstElement *parser, GstPad *pad, GstElement *pipeline)
{
g_print("***** a new pad %s was created\n", gst_pad_get_name(pad));
g_print("***** a new pad %s was created\n", gst_pad_get_name(pad));
gst_element_set_state (pipeline, GST_STATE_PAUSED);
@ -327,10 +327,10 @@ Pads:
...
caps = gst_pad_get_caps (pad);
g_print ("pad name %s\n", gst_pad_get_name (pad));
g_print ("pad name %s\n", gst_pad_get_name (pad));
while (caps) {
g_print (" Capability name %s, MIME type %s\n",
g_print (" Capability name %s, MIME type %s\n",
gst_caps_get_name (cap),
gst_caps_get_mime (cap));

View file

@ -67,7 +67,7 @@ struct _GstPlugin {
while (plugins) {
GstPlugin *plugin = (GstPlugin *)plugins->data;
g_print ("plugin: %s\n", gst_plugin_get_name (plugin));
g_print ("plugin: %s\n", gst_plugin_get_name (plugin));
plugins = g_list_next (plugins);
}

View file

@ -53,13 +53,13 @@ main (int argc, char *argv[])
gst_init (&argc, &argv);
if (argc != 2) {
g_print ("usage: %s <filename>\n", argv[0]);
g_print ("usage: %s <filename>\n", argv[0]);
return -1;
}
pipeline = gst_parse_launch ("filesrc name=my_filesrc ! mad ! osssink", &error);
if (!pipeline) {
g_print ("Parse error: %s\n", error->message);
g_print ("Parse error: %s\n", error->message);
exit (1);
}

View file

@ -70,7 +70,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 <filename>\n", argv[0]);
exit (-1);
}

View file

@ -100,7 +100,7 @@ main (int argc, char *argv[])
GstElement *thread;
if (argc != 2) {
g_print ("usage: %s <filename>\n", argv[0]);
g_print ("usage: %s <filename>\n", argv[0]);
exit (-1);
}

View file

@ -64,7 +64,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 <filename>\n", argv[0]);
exit (-1);
}

View file

@ -38,7 +38,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 <filename>\n", argv[0]);
exit (-1);
}