mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +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 "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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue