mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 13:25:56 +00:00
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:
parent
debe544d3f
commit
4dc93ef130
3 changed files with 0 additions and 32 deletions
|
@ -1,5 +1,4 @@
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
#include <gst/gstinitstaticplugins.h>
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc, char *argv[])
|
main (int argc, char *argv[])
|
||||||
|
@ -7,7 +6,6 @@ main (int argc, char *argv[])
|
||||||
GstElement *e;
|
GstElement *e;
|
||||||
|
|
||||||
gst_init (&argc, &argv);
|
gst_init (&argc, &argv);
|
||||||
gst_init_static_plugins ();
|
|
||||||
|
|
||||||
e = gst_element_factory_make ("identity", NULL);
|
e = gst_element_factory_make ("identity", NULL);
|
||||||
g_assert_nonnull (e);
|
g_assert_nonnull (e);
|
||||||
|
|
|
@ -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
|
|
|
@ -266,7 +266,6 @@ if get_option('default_library') == 'static'
|
||||||
'@OUTPUT@',
|
'@OUTPUT@',
|
||||||
all_plugins_paths]
|
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
|
# 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
|
# Similar issue has been found with VLC: https://mailman.videolan.org/pipermail/vlc-devel/2009-March/057640.html
|
||||||
|
|
Loading…
Reference in a new issue