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: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/191>
This commit is contained in:
Xavier Claessens 2020-09-23 13:47:40 -04:00
parent debe544d3f
commit 4dc93ef130
3 changed files with 0 additions and 32 deletions

View file

@ -1,5 +1,4 @@
#include <gst/gst.h>
#include <gst/gstinitstaticplugins.h>
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);

View file

@ -1,29 +0,0 @@
/*
* 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

View file

@ -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