meta: Add missing include of gststructure.h
authorPeter Kjellerstedt <pkj@axis.com>
Sat, 14 Sep 2024 02:01:42 +0000 (04:01 +0200)
committerBackport Bot <gitlab-backport-bot@gstreamer-foundation.org>
Mon, 16 Sep 2024 07:31:49 +0000 (08:31 +0100)
This avoids the following error when only including gstmeta.h:

  /usr/include/gstreamer-1.0/gst/gstmeta.h:146:3: error: unknown type
  name 'GstStructure'
    146 |   GstStructure *structure;
        |   ^~~~~~~~~~~~

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7525>

subprojects/gstreamer/gst/gstmeta.h

index 6d5c13a6147aeb6ad0c4047216fb2ff0f974d5a9..214847146cb2554e8ae0e117f78d6ce8ab8e93d7 100644 (file)
@@ -26,7 +26,7 @@
 #include <glib.h>
 
 #include <gst/gstbytearrayinterface.h>
-
+#include <gst/gststructure.h>
 
 G_BEGIN_DECLS