deinterlace: Call orc_init() before trying to get target flags
This commit is contained in:
parent
e49c31fd25
commit
a11b271bf4
@ -42,6 +42,10 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#if HAVE_ORC
|
||||||
|
#include <orc/orc.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_STATIC (deinterlace_debug);
|
GST_DEBUG_CATEGORY_STATIC (deinterlace_debug);
|
||||||
#define GST_CAT_DEFAULT (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");
|
GST_DEBUG_CATEGORY_INIT (deinterlace_debug, "deinterlace", 0, "Deinterlacer");
|
||||||
|
|
||||||
|
#if HAVE_ORC
|
||||||
|
orc_init ();
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!gst_element_register (plugin, "deinterlace", GST_RANK_NONE,
|
if (!gst_element_register (plugin, "deinterlace", GST_RANK_NONE,
|
||||||
GST_TYPE_DEINTERLACE)) {
|
GST_TYPE_DEINTERLACE)) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user