From 4dc93ef1308dac0b6b1f38279e9825228a4e9458 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 23 Sep 2020 13:47:40 -0400 Subject: [PATCH] gst-full: Remove gstinitstaticplugins.h That header is not needed any more because gst_init() now calls gst_init_static_plugins() automatically when available. This is an API break compared to 1.18, but release notes made it clear it was an experimental feature. Part-of: --- examples/static-plugins/main.c | 2 -- gstinitstaticplugins.h | 29 ----------------------------- meson.build | 1 - 3 files changed, 32 deletions(-) delete mode 100644 gstinitstaticplugins.h diff --git a/examples/static-plugins/main.c b/examples/static-plugins/main.c index a205b78..1917726 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 bd6245e..0000000 --- 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 aec7d52..e519f30 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 -- 2.7.4