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

This commit is contained in:
Sebastian Dröge 2010-06-14 15:35:08 +02:00
parent e49c31fd25
commit a11b271bf4

View file

@ -42,6 +42,10 @@
#include <string.h>
#if HAVE_ORC
#include <orc/orc.h>
#endif
GST_DEBUG_CATEGORY_STATIC (deinterlace_debug);
#define GST_CAT_DEFAULT (deinterlace_debug)
@ -1759,6 +1763,10 @@ plugin_init (GstPlugin * plugin)
{
GST_DEBUG_CATEGORY_INIT (deinterlace_debug, "deinterlace", 0, "Deinterlacer");
#if HAVE_ORC
orc_init ();
#endif
if (!gst_element_register (plugin, "deinterlace", GST_RANK_NONE,
GST_TYPE_DEINTERLACE)) {
return FALSE;