put offending pipeline in error

Original commit message from CVS:
put offending pipeline in error
This commit is contained in:
Thomas Vander Stichele 2004-05-06 17:09:10 +00:00
parent 2f043c0996
commit c87049e9e2

View file

@ -815,7 +815,7 @@ _gst_parse_launch (const gchar *str, GError **error)
#endif
if (yyparse (&g) != 0) {
SET_ERROR (error, GST_PARSE_ERROR_SYNTAX, "Unrecoverable syntax error while parsing pipeline");
SET_ERROR (error, GST_PARSE_ERROR_SYNTAX, "Unrecoverable syntax error while parsing pipeline %s", str);
goto error1;
}