diff --git a/ChangeLog b/ChangeLog index 89b6aa812c..e15eac8e80 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-05-04 Benjamin Otte + + * testsuite/caps/renegotiate.c: (main): + improve output in error case + 2004-05-04 Benjamin Otte * gst/parse/grammar.y: diff --git a/tests/old/testsuite/caps/renegotiate.c b/tests/old/testsuite/caps/renegotiate.c index 6265a6b059..377ffe038c 100644 --- a/tests/old/testsuite/caps/renegotiate.c +++ b/tests/old/testsuite/caps/renegotiate.c @@ -71,7 +71,9 @@ main (int argc, char *argv[]) if (error != NULL) { g_print - ("oops, couldn't build pipeline. You probably don't have audioconvert or sinesrc\n"); + ("oops, couldn't build pipeline. You probably don't have audioconvert or sinesrc\n" + "the error was: %s\n", error->message); + g_error_free (error); exit (0); } diff --git a/testsuite/caps/renegotiate.c b/testsuite/caps/renegotiate.c index 6265a6b059..377ffe038c 100644 --- a/testsuite/caps/renegotiate.c +++ b/testsuite/caps/renegotiate.c @@ -71,7 +71,9 @@ main (int argc, char *argv[]) if (error != NULL) { g_print - ("oops, couldn't build pipeline. You probably don't have audioconvert or sinesrc\n"); + ("oops, couldn't build pipeline. You probably don't have audioconvert or sinesrc\n" + "the error was: %s\n", error->message); + g_error_free (error); exit (0); }