gst-inspect: Fix inspection of third-party plugins

Since commit de57657de1 inspecting a third-party
plugin would trigger a segfault (Address boundary error) due to the missing
sentinel in the list of GStreamer modules.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2636>
This commit is contained in:
Philippe Normand 2022-06-20 15:29:21 +01:00
parent eaa9943b98
commit 190f15660f

View file

@ -123,7 +123,7 @@ GMainLoop *loop = NULL;
static const gchar *gstreamer_modules[] = {
"gstreamer", "gst-plugins-base", "gst-plugins-good", "gst-plugins-ugly",
"gst-plugins-bad", "gst-editing-services", "gst-libav", "gst-rtsp-server",
"gstreamer-vaapi"
"gstreamer-vaapi", NULL
};
static char *_name = NULL;