summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));