mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
goom: Call orc_init() before trying to get target flags
This commit is contained in:
parent
a11b271bf4
commit
ff755250c3
1 changed files with 8 additions and 0 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue