[gst-cvs] CVS: gstreamer/gst gstparse.c,1.21,1.21.4.1

Erik Walthinsen omegahacker at users.sourceforge.net
Mon Oct 1 23:06:02 PDT 2001


Update of /cvsroot/gstreamer/gstreamer/gst
In directory usw-pr-cvs1:/tmp/cvs-serv9329

Modified Files:
      Tag: BRANCH-EVENTS1
	gstparse.c 
Log Message:
minor patch to error message in case of no registry support

Index: gstparse.c
===================================================================
RCS file: /cvsroot/gstreamer/gstreamer/gst/gstparse.c,v
retrieving revision 1.21
retrieving revision 1.21.4.1
diff -u -d -r1.21 -r1.21.4.1
--- gstparse.c	2001/08/13 18:45:55	1.21
+++ gstparse.c	2001/10/02 06:05:20	1.21.4.1
@@ -296,7 +296,11 @@
         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));





More information about the Gstreamer-commits mailing list