mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
deinterlace: Call orc_init() before trying to get target flags
This commit is contained in:
parent
e49c31fd25
commit
a11b271bf4
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue