summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Walthinsen <omega@temple-baptist.org>2001-10-02 06:05:20 +0000
committerErik Walthinsen <omega@temple-baptist.org>2001-10-02 06:05:20 +0000
commit0fc739a48fa3ba81e8736eaf9cd068f016bca23f (patch)
tree804fb9904f81643a90a9664aca53298d1b2c9b02
parentf71850c59b79d8580ff636efb50f237142cd5119 (diff)
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
-rw-r--r--gst/gstparse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/gstparse.c b/gst/gstparse.c
index 336818c2a3..a0f3fe12f5 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));