#include <gst/gst.h>
-#include <gst/gstinitstaticplugins.h>
int
main (int argc, char *argv[])
GstElement *e;
gst_init (&argc, &argv);
- gst_init_static_plugins ();
e = gst_element_factory_make ("identity", NULL);
g_assert_nonnull (e);
+++ /dev/null
-/*
- * Copyright (C) 2019 Collabora Ltd.
- * Author: Xavier Claessens <xavier.claessens@collabora.com>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation
- * version 2.1 of the License.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-#pragma once
-
-#include <gst/gst.h>
-
-G_BEGIN_DECLS
-
-void gst_init_static_plugins (void);
-
-G_END_DECLS
'@OUTPUT@',
all_plugins_paths]
)
- install_headers('gstinitstaticplugins.h', subdir : 'gstreamer-1.0/gst')
# Avoid a x264 link issue described here: https://gitlab.freedesktop.org/gstreamer/gst-build/-/issues/108
# Similar issue has been found with VLC: https://mailman.videolan.org/pipermail/vlc-devel/2009-March/057640.html