From c4d785bc7b9d41f54b20eee5515b9fdfaa75e726 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Tue, 17 Feb 2009 10:48:25 +0100 Subject: [PATCH] Plugin Loader: Don't register non-gstElement subclasses --- plugin/gstpythonplugin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/gstpythonplugin.c b/plugin/gstpythonplugin.c index 0a3882278c..664802029c 100644 --- a/plugin/gstpythonplugin.c +++ b/plugin/gstpythonplugin.c @@ -128,6 +128,7 @@ gst_python_plugin_load_file (GstPlugin * plugin, const char *name) PyErr_Clear (); Py_DECREF (elementfactory); Py_DECREF (class); + return FALSE; } GST_LOG ("Valid plugin");