mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
video: GST_EXPORT -> GST_URI_VIDEO_BAD_API
We need different export decorators for the different libs. For now no actual change though, just rename before the release, and add prelude headers to define the new decorator to GST_EXPORT.
This commit is contained in:
parent
665cc1c6f2
commit
46a6d3f899
5 changed files with 37 additions and 4 deletions
|
@ -23,4 +23,4 @@ libgstbadvideo_@GST_API_VERSION@_la_LIBADD = \
|
|||
libgstbadvideo_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
|
||||
|
||||
libgstvideo_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/video
|
||||
libgstvideo_@GST_API_VERSION@include_HEADERS = gstvideoaggregatorpad.h gstvideoaggregator.h
|
||||
libgstvideo_@GST_API_VERSION@include_HEADERS = gstvideoaggregatorpad.h gstvideoaggregator.h video-bad-prelude.h
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
#include <gst/gst.h>
|
||||
#include <gst/video/video.h>
|
||||
#include <gst/base/gstaggregator.h>
|
||||
#include <gst/video/video-bad-prelude.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
@ -111,7 +112,7 @@ struct _GstVideoAggregatorClass
|
|||
gpointer _gst_reserved[GST_PADDING_LARGE];
|
||||
};
|
||||
|
||||
GST_EXPORT
|
||||
GST_VIDEO_BAD_API
|
||||
GType gst_video_aggregator_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
|
|
@ -105,7 +105,7 @@ struct _GstVideoAggregatorPadClass
|
|||
gpointer _gst_reserved[GST_PADDING_LARGE];
|
||||
};
|
||||
|
||||
GST_EXPORT
|
||||
GST_VIDEO_BAD_API
|
||||
GType gst_video_aggregator_pad_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
|
|
@ -3,7 +3,8 @@ badvideo_sources = [
|
|||
]
|
||||
badvideo_headers = [
|
||||
'gstvideoaggregatorpad.h',
|
||||
'gstvideoaggregator.h'
|
||||
'gstvideoaggregator.h',
|
||||
'video-bad-prelude.h',
|
||||
]
|
||||
install_headers(badvideo_headers, subdir : 'gstreamer-1.0/gst/video')
|
||||
|
||||
|
|
31
gst-libs/gst/video/video-bad-prelude.h
Normal file
31
gst-libs/gst/video/video-bad-prelude.h
Normal file
|
@ -0,0 +1,31 @@
|
|||
/* GStreamer Video Library
|
||||
* Copyright (C) 2018 GStreamer developers
|
||||
*
|
||||
* video-prelude.h: prelude include header for gst-video library
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Library General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* 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
|
||||
* Library General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Library General Public
|
||||
* License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
||||
* Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#ifndef __GST_VIDEO_BAD_PRELUDE_H__
|
||||
#define __GST_VIDEO_BAD_PRELUDE_H__
|
||||
|
||||
#include <gst/gst.h>
|
||||
|
||||
#ifndef GST_VIDEO_BAD_API
|
||||
#define GST_VIDEO_BAD_API GST_EXPORT
|
||||
#endif
|
||||
|
||||
#endif /* __GST_VIDEO_BAD_PRELUDE_H__ */
|
Loading…
Reference in a new issue