From 7d32a34c83ec1472e79257eabccd3e9622d1abe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 4 Oct 2005 11:51:37 +0000 Subject: [PATCH] tools/gst-launch.c: Don't try to run erroneous pipelines. Original commit message from CVS: * tools/gst-launch.c: (main): Don't try to run erroneous pipelines. --- ChangeLog | 5 +++++ tools/gst-launch.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 792b865206..16f0961f34 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-10-04 Tim-Philipp Müller + + * tools/gst-launch.c: (main): + Don't try to run erroneous pipelines. + 2005-10-04 Julien MOUTTE * gst/gstbus.c: We don't need this header. diff --git a/tools/gst-launch.c b/tools/gst-launch.c index ce49e70672..2aa637770d 100644 --- a/tools/gst-launch.c +++ b/tools/gst-launch.c @@ -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) {