diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-06-14 15:36:00 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-06-14 15:38:02 +0200 |
commit | ff755250c37b6e0a772fe6baa43d4299acfaec33 (patch) | |
tree | 23a3a6cd755b38a6114c9614e160bce6c90aaeed | |
parent | a11b271bf43097ac310cfd75ed64b9c0ce314b04 (diff) |
goom: Call orc_init() before trying to get target flags
-rw-r--r-- | gst/goom/gstgoom.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gst/goom/gstgoom.c b/gst/goom/gstgoom.c index f4335e303..50f357a55 100644 --- a/gst/goom/gstgoom.c +++ b/gst/goom/gstgoom.c @@ -43,6 +43,10 @@ #include <gst/video/video.h> #include "goom.h" +#if HAVE_ORC +#include <orc/orc.h> +#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); } |