projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
69436bb
)
snapshot: add a newline to the usage and error output
author
Stefan Kost
<ensonic@users.sf.net>
Mon, 17 Jan 2011 21:13:29 +0000
(23:13 +0200)
committer
Stefan Kost
<ensonic@users.sf.net>
Tue, 25 Jan 2011 19:55:36 +0000
(21:55 +0200)
tests/examples/snapshot/snapshot.c
patch
|
blob
|
history
diff --git
a/tests/examples/snapshot/snapshot.c
b/tests/examples/snapshot/snapshot.c
index
b307111
..
335c836
100644
(file)
--- a/
tests/examples/snapshot/snapshot.c
+++ b/
tests/examples/snapshot/snapshot.c
@@
-41,7
+41,7
@@
main (int argc, char *argv[])
gst_init (&argc, &argv);
if (argc != 2) {
gst_init (&argc, &argv);
if (argc != 2) {
- g_print ("usage: %s <uri>\n Writes snapshot.png in the current directory",
+ g_print ("usage: %s <uri>\n Writes snapshot.png in the current directory
\n
",
argv[0]);
exit (-1);
}
argv[0]);
exit (-1);
}
@@
-53,7
+53,7
@@
main (int argc, char *argv[])
pipeline = gst_parse_launch (descr, &error);
if (error != NULL) {
pipeline = gst_parse_launch (descr, &error);
if (error != NULL) {
- g_print ("could not construct pipeline: %s", error->message);
+ g_print ("could not construct pipeline: %s
\n
", error->message);
g_error_free (error);
exit (-1);
}
g_error_free (error);
exit (-1);
}