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:
Philippe Normand 2018-01-30 12:56:49 +00:00
parent da77fd5e2e
commit d897de9738

View file

@ -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,