reinstated exit(-1) when gstparse.c doesn't find the plugin mentioned
authorThomas Vander Stichele <thomas@apestaart.org>
Sun, 20 May 2001 14:55:02 +0000 (14:55 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Sun, 20 May 2001 14:55:02 +0000 (14:55 +0000)
Original commit message from CVS:
reinstated exit(-1) when gstparse.c doesn't find the plugin mentioned

gst/gstparse.c

index 45f34b1..03eae20 100644 (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));
       }