gstreamer/libs/gst/base
Tim-Philipp Müller 46ed0f0489 libs: fix 'inconsistent DLL linkage' warnings on Windows
For each lib we build export its own API in headers when we're
building it, otherwise import the API from the headers.

This fixes linker warnings on Windows when building with MSVC.

The problem was that we had defined all GST_*_API decorators
unconditionally to GST_EXPORT. This was intentional and only
supposed to be temporary, but caused linker warnings because
we tell the linker that we want to export all symbols even
those from externall DLLs, and when the linker notices that
they were in external DLLS and not present locally it warns.

What we need to do when building each library is: export
the library's own symbols and import all other symbols. To
this end we define e.g. BUILDING_GST_FOO and then we define
the GST_FOO_API decorator either to export or to import
symbols depending on whether BUILDING_GST_FOO is set or not.
That way external users of each library API automatically
get the import.

https://bugzilla.gnome.org/show_bug.cgi?id=797185
2018-09-23 23:23:01 +01:00
..
.gitignore Update a bunch of gitignores to clean up my git status output 2009-01-23 16:08:40 +00:00
base-prelude.h libs: fix 'inconsistent DLL linkage' warnings on Windows 2018-09-23 23:23:01 +01:00
base.h base: GST_EXPORT -> GST_BASE_API 2018-03-13 00:46:00 +00:00
gstadapter.c adapter: port the buffer list from GSList to GstQueueArray 2018-04-14 01:20:38 +02:00
gstadapter.h base: GST_EXPORT -> GST_BASE_API 2018-03-13 00:46:00 +00:00
gstaggregator.c aggregator: Fixup for previous commit to prevent infinite loop if no events are pending 2018-08-14 12:30:19 +03:00
gstaggregator.h aggregator: define autoptr cleanup functions 2018-09-20 16:22:17 +02:00
gstbaseparse.c baseparse: avg_bitrate calculation critical warning fix 2018-08-31 15:35:35 +01:00
gstbaseparse.h baseparse: Documentation improvements 2018-05-30 14:06:06 +02:00
gstbasesink.c sink: Only add processing latency if upstream is live 2018-07-16 13:04:44 -04:00
gstbasesink.h basesink: Add processing deadline 2018-07-07 09:05:26 -04:00
gstbasesrc.c Update for g_type_class_add_private() deprecation in recent GLib 2018-06-24 12:49:14 +02:00
gstbasesrc.h base: GST_EXPORT -> GST_BASE_API 2018-03-13 00:46:00 +00:00
gstbasetransform.c basetransform: Do not check if NULL is an emtpy caps 2018-07-18 21:18:56 -04:00
gstbasetransform.h base: GST_EXPORT -> GST_BASE_API 2018-03-13 00:46:00 +00:00
gstbitreader-docs.h docs: align the comments correctly with the declaration in bitreader docs 2013-01-29 15:43:05 +00:00
gstbitreader.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstbitreader.h base: GST_EXPORT -> GST_BASE_API 2018-03-13 00:46:00 +00:00
gstbitwriter-docs.h bitwriter: Add a generic bit writer 2018-05-06 17:05:21 +02:00
gstbitwriter.c bitwriter: Add a generic bit writer 2018-05-06 17:05:21 +02:00
gstbitwriter.h bitwriter: fix compiler warning 2018-08-26 11:45:58 +02:00
gstbytereader-docs.h docs: add a missing const in bytereader docs 2017-06-29 21:08:01 +02:00
gstbytereader.c base: fix some GIR annotations 2018-04-13 20:16:45 +02:00
gstbytereader.h base: GST_EXPORT -> GST_BASE_API 2018-03-13 00:46:00 +00:00
gstbytewriter-docs.h docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstbytewriter.c base: fix some GIR annotations 2018-04-13 20:16:45 +02:00
gstbytewriter.h base: GST_EXPORT -> GST_BASE_API 2018-03-13 00:46:00 +00:00
gstcollectpads.c Update for g_type_class_add_private() deprecation in recent GLib 2018-06-24 12:49:14 +02:00
gstcollectpads.h Fix typos in comments and docs 2018-05-01 11:18:03 +01:00
gstdataqueue.c Update for g_type_class_add_private() deprecation in recent GLib 2018-06-24 12:49:14 +02:00
gstdataqueue.h base: GST_EXPORT -> GST_BASE_API 2018-03-13 00:46:00 +00:00
gstflowcombiner.c Fix typos in comments and docs 2018-05-01 11:18:03 +01:00
gstflowcombiner.h base: GST_EXPORT -> GST_BASE_API 2018-03-13 00:46:00 +00:00
gstindex.c Fix typos in comments and docs 2018-05-01 11:18:03 +01:00
gstindex.h base: GST_EXPORT -> GST_BASE_API 2018-03-13 00:46:00 +00:00
gstmemindex.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstpushsrc.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstpushsrc.h base: GST_EXPORT -> GST_BASE_API 2018-03-13 00:46:00 +00:00
gstqueuearray.c API: gst_queue_array_peek_nth 2018-04-14 00:14:56 +02:00
gstqueuearray.h API: gst_queue_array_peek_nth 2018-04-14 00:14:56 +02:00
gsttypefindhelper.c typefindhelper: Mark gst_type_find_helper_get_range_full() as Since 1.14.3 2018-08-02 10:57:28 +03:00
gsttypefindhelper.h typefind: Add new gst_type_find_helper_get_range_full() that returns flow return 2018-08-01 14:23:04 +03:00
Makefile.am libs: fix 'inconsistent DLL linkage' warnings on Windows 2018-09-23 23:23:01 +01:00
meson.build libs: fix 'inconsistent DLL linkage' warnings on Windows 2018-09-23 23:23:01 +01:00
README add short/long description docs to base classes add pushsrc to the docs remove consolidated doc fragments 2005-08-03 13:30:18 +00:00

Base classes
------------

GstBaseSink
  FIXME: not much point making it operate in pull mode as a generic
  base class I guess...