From ff755250c37b6e0a772fe6baa43d4299acfaec33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 14 Jun 2010 15:36:00 +0200 Subject: [PATCH] goom: Call orc_init() before trying to get target flags --- gst/goom/gstgoom.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gst/goom/gstgoom.c b/gst/goom/gstgoom.c index f4335e3035..50f357a55c 100644 --- a/gst/goom/gstgoom.c +++ b/gst/goom/gstgoom.c @@ -43,6 +43,10 @@ #include #include "goom.h" +#if HAVE_ORC +#include +#endif + GST_DEBUG_CATEGORY (goom_debug); #define GST_CAT_DEFAULT goom_debug @@ -585,6 +589,10 @@ plugin_init (GstPlugin * plugin) { GST_DEBUG_CATEGORY_INIT (goom_debug, "goom", 0, "goom visualisation element"); +#if HAVE_ORC + orc_init (); +#endif + return gst_element_register (plugin, "goom", GST_RANK_NONE, GST_TYPE_GOOM); }