From 0fc739a48fa3ba81e8736eaf9cd068f016bca23f Mon Sep 17 00:00:00 2001 From: Erik Walthinsen Date: Tue, 2 Oct 2001 06:05:20 +0000 Subject: [PATCH] minor patch to error message in case of no registry support Original commit message from CVS: minor patch to error message in case of no registry support --- gst/gstparse.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gst/gstparse.c b/gst/gstparse.c index 336818c2a30..a0f3fe12f50 100644 --- a/gst/gstparse.c +++ b/gst/gstparse.c @@ -296,7 +296,11 @@ gst_parse_launch_cmdline(int argc,char *argv[],GstBin *parent,gst_parse_priv *pr element = gst_elementfactory_make(arg,ptr); g_free(ptr); if (!element) { +#ifndef GST_DISABLE_REGISTRY fprintf(stderr,"Couldn't create a '%s', no such element or need to run gstreamer-register?\n",arg); +#else + fprintf(stderr,"Couldn't create a '%s', no such element or need to load pluginn?\n",arg); +#endif exit(-1); } GST_DEBUG(0,"CREATED element %s\n",GST_ELEMENT_NAME(element));