mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue