From: <sl...@ke...> - 2010-06-14 13:48:26
|
Module: gst-plugins-good Branch: master Commit: ff755250c37b6e0a772fe6baa43d4299acfaec33 URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=ff755250c37b6e0a772fe6baa43d4299acfaec33 Author: Sebastian Dröge <seb...@co...> Date: Mon Jun 14 15:36:00 2010 +0200 goom: Call orc_init() before trying to get target flags --- 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 f4335e3..50f357a 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); } |