tools/gst-launch.c: Don't try to run erroneous pipelines.
authorTim-Philipp Müller <tim@centricular.net>
Tue, 4 Oct 2005 11:51:37 +0000 (11:51 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 4 Oct 2005 11:51:37 +0000 (11:51 +0000)
Original commit message from CVS:
* tools/gst-launch.c: (main):
Don't try to run erroneous pipelines.

ChangeLog
tools/gst-launch.c

index 792b865..16f0961 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * tools/gst-launch.c: (main):
+         Don't try to run erroneous pipelines.
+
 2005-10-04  Julien MOUTTE  <julien@moutte.net>
 
        * gst/gstbus.c: We don't need this header.
index ce49e70..2aa6377 100644 (file)
@@ -571,8 +571,8 @@ main (int argc, char *argv[])
     return 1;
   } else if (error) {
     fprintf (stderr, _("WARNING: erroneous pipeline: %s\n"), error->message);
-    fprintf (stderr, _("         Trying to run anyway.\n"));
     g_error_free (error);
+    return 1;
   }
 
   if (verbose) {