mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-08 23:42:28 +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
|
"DISPLAY", "WAYLAND_DISPLAY", NULL
|
||||||
};
|
};
|
||||||
const gchar *kernel_paths[] = { "/dev/dri", 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* */
|
/* features get updated upon changes in /dev/dri/card* */
|
||||||
gst_plugin_add_dependency (plugin, NULL, kernel_paths, kernel_names,
|
gst_plugin_add_dependency (plugin, NULL, kernel_paths, kernel_names,
|
||||||
|
|
Loading…
Reference in a new issue