reinstated exit(-1) when gstparse.c doesn't find the plugin mentioned

Original commit message from CVS:
reinstated exit(-1) when gstparse.c doesn't find the plugin mentioned
This commit is contained in:
Thomas Vander Stichele 2001-05-20 14:55:02 +00:00
parent 8a89e0b83e
commit 90c0acec1c

View file

@ -232,7 +232,7 @@ if (GST_IS_GHOST_PAD(srcpad)) GST_DEBUG(0,"it's a ghost pad\n");
g_free(ptr);
if (!element) {
fprintf(stderr,"Couldn't create a '%s', no such element or need to run gstreamer-register?\n",arg);
// exit(-1);
exit(-1);
}
GST_DEBUG(0,"CREATED element %s\n",GST_ELEMENT_NAME(element));
}