diff --git a/examples/static-plugins/main.c b/examples/static-plugins/main.c index a205b7834a..1917726f25 100644 --- a/examples/static-plugins/main.c +++ b/examples/static-plugins/main.c @@ -1,5 +1,4 @@ #include -#include int main (int argc, char *argv[]) @@ -7,7 +6,6 @@ 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); diff --git a/gstinitstaticplugins.h b/gstinitstaticplugins.h deleted file mode 100644 index bd6245e3b1..0000000000 --- a/gstinitstaticplugins.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (C) 2019 Collabora Ltd. - * Author: Xavier Claessens - * - * 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 - -G_BEGIN_DECLS - -void gst_init_static_plugins (void); - -G_END_DECLS diff --git a/meson.build b/meson.build index aec7d52dc6..e519f306aa 100644 --- a/meson.build +++ b/meson.build @@ -266,7 +266,6 @@ if get_option('default_library') == 'static' '@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