Commit ff755250 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

goom: Call orc_init() before trying to get target flags

parent a11b271b
...@@ -43,6 +43,10 @@ ...@@ -43,6 +43,10 @@
#include <gst/video/video.h> #include <gst/video/video.h>
#include "goom.h" #include "goom.h"
#if HAVE_ORC
#include <orc/orc.h>
#endif
GST_DEBUG_CATEGORY (goom_debug); GST_DEBUG_CATEGORY (goom_debug);
#define GST_CAT_DEFAULT goom_debug #define GST_CAT_DEFAULT goom_debug
...@@ -585,6 +589,10 @@ plugin_init (GstPlugin * plugin) ...@@ -585,6 +589,10 @@ plugin_init (GstPlugin * plugin)
{ {
GST_DEBUG_CATEGORY_INIT (goom_debug, "goom", 0, "goom visualisation element"); 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); return gst_element_register (plugin, "goom", GST_RANK_NONE, GST_TYPE_GOOM);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment