gst-inspect: Fix inspection of third-party plugins
authorPhilippe Normand <philn@igalia.com>
Mon, 20 Jun 2022 14:29:21 +0000 (15:29 +0100)
committerPhilippe Normand <philn@igalia.com>
Mon, 20 Jun 2022 14:29:21 +0000 (15:29 +0100)
Since commit de57657de1d1916503b4ad451ac13a3e191465f8 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>

subprojects/gstreamer/tools/gst-inspect.c

index c36bf37cf77dfcf7127ee80df54961f8c7515180..95aa7eb8379a6b5de0ef75e60230fd7e4eb08128 100644 (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;