mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
snapshot: add a newline to the usage and error output
This commit is contained in:
parent
69436bb8a6
commit
5075b891aa
1 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ main (int argc, char *argv[])
|
|||
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);
|
||||
}
|
||||
|
@ -53,7 +53,7 @@ main (int argc, char *argv[])
|
|||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue