vaapi: add NULL-sentinel to kernel_names
The array needs to be NULL-terminated according to the gst_plugin_add_dependency() documentation.
This commit is contained in:
parent
da77fd5e2e
commit
d897de9738
@ -67,7 +67,7 @@ plugin_add_dependencies (GstPlugin * plugin)
|
||||
"DISPLAY", "WAYLAND_DISPLAY", NULL
|
||||
};
|
||||
const gchar *kernel_paths[] = { "/dev/dri", NULL };
|
||||
const gchar *kernel_names[] = { "card", "render" };
|
||||
const gchar *kernel_names[] = { "card", "render", NULL };
|
||||
|
||||
/* features get updated upon changes in /dev/dri/card* */
|
||||
gst_plugin_add_dependency (plugin, NULL, kernel_paths, kernel_names,
|
||||
|
Loading…
x
Reference in New Issue
Block a user