summaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)AuthorFilesLines
2018-12-05Automatic update of common submoduleThibault Saunier1-0/+0
From cd1dee0 to 59cb678
2018-09-24libs: fix API export/import and 'inconsistent linkage' on MSVCTim-Philipp Müller1-0/+0
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. While we're at it, add new GST_API_EXPORT in config.h and use that for GST_*_API decorators instead of GST_EXPORT. The right export define depends on the toolchain and whether we're using -fvisibility=hidden or not, so it's better to set it to the right thing directly than hard-coding a compiler whitelist in the public header. We put the export define into config.h instead of passing it via the command line to the compiler because it might contain spaces and brackets and in the autotools scenario we'd have to pass that through multiple layers of plumbing and Makefile/shell escaping and we're just not going to be *that* lucky. The export define is only used if we're compiling our lib, not by external users of the lib headers, so it's not a problem to put it into config.h Also, this means all .c files of libs need to include config.h to get the export marker defined, so fix up a few that didn't include config.h. This commit depends on a common submodule commit that makes gst-glib-gen.mak add an #include "config.h" to generated enum/marshal .c files for the autotools build. https://bugzilla.gnome.org/show_bug.cgi?id=797185
2018-04-16Automatic update of common submoduleTim-Philipp Müller1-0/+0
From f0c2dc9 to ed78bee
2018-03-13photography: GST_EXPORT -> GST_PHOTOGRAPHY_APITim-Philipp Müller1-0/+0
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.
2017-12-14Automatic update of common submoduleMatthew Waters1-0/+0
From e8c7a71 to 3fa2c9e
2017-11-27Automatic update of common submoduleMatthew Waters1-0/+0
From 3f4aa96 to e8c7a71
2017-08-17Automatic update of common submoduleTim-Philipp Müller1-0/+0
From 29046b8 to 3f4aa96
2017-07-18photography: mark symbols explicitly for export with GST_EXPORTTim-Philipp Müller1-0/+0
2017-04-24Automatic update of common submoduleTim-Philipp Müller1-0/+0
From 60aeef6 to 48a5d85
2017-04-10Automatic update of common submoduleTim-Philipp Müller1-0/+0
From 39ac2f5 to 60aeef6
2016-12-03Automatic update of common submoduleEdward Hervey1-0/+0
From d015674 to 39ac2f5
2016-10-12common: sync to latest revisionTim-Philipp Müller1-0/+0
Fixes accidental common change when commit patch.
2016-10-11hlsdemux: fix hls demux stream type inheritanceArnaud Vrac1-0/+0
GstHLSDemuxStream inherits GstAdaptiveDemuxStream, not GstAdaptiveDemux. Fixes memory corruption issues. https://bugzilla.gnome.org/show_bug.cgi?id=772704
2016-09-10Automatic update of common submoduleJan Schmidt1-0/+0
From b18d820 to f980fd9
2016-09-10Automatic update of common submoduleJan Schmidt1-0/+0
From 2c31690 to b18d820
2016-07-25Update common submoduleTim-Philipp Müller1-0/+0
For 'make update-exports' changes
2016-07-11Automatic update of common submoduleStefan Sauer1-0/+0
From f363b32 to f49c55e
2016-06-21Automatic update of common submoduleNicolas Dufresne1-0/+0
From ac2f647 to f363b32
2016-04-14Automatic update of common submoduleJulien Isorce1-0/+0
From 6f2d209 to ac2f647
2016-02-26Automatic update of common submoduleSebastian Dröge1-0/+0
From a253974 to 6f2d209
2016-02-16Update common: make check-exports not fail for libgstgl.defTim-Philipp Müller1-0/+0
Should fix distcheck on some build bots.
2016-02-05Automatic update of common submoduleThiago Santos1-0/+0
From e97c9bb to b64f03f
2015-12-23Update commonSebastian Dröge1-0/+0
2015-12-21configure: Use -Bsymbolic-functions if availableSebastian Dröge1-0/+0
While this is more useful for libraries, some of our plugins with multiple files and some internal API can also benefit from this.
2015-12-17revert common submodule changeMatthew Waters1-0/+0
8ae003326157438c12c45589e050c5f446723f61 contained a erroneous common change
2015-12-16applemedia: vtdec: switch to IOSurface on MacAlessandro Decina1-0/+0
Switch to using IOSurface instead of CVOpenGLTextureCache on OSX. The latter can't be used anymore to do YUV => RGB with opengl3 on El Capitan as GL_YCBCR_422_APPLE has been removed from the opengl3 driver. Also switch to NV12 from UYVY, which was the only YUV format supported by CVOpenGLTextureCache.
2015-12-12revert common submodule changeMatthew Waters1-0/+0
2015-12-12gltransformation: clear to transparentMatthew Waters1-0/+0
Otherwise composition will result in a black frame outside the transformed video.
2015-12-07Automatic update of common submoduleNicolas Dufresne1-0/+0
From b319909 to 86e4663
2015-10-21Automatic update of common submoduleTim-Philipp Müller1-0/+0
From b99800a to b319909
2015-10-21Automatic update of common submoduleSebastian Dröge1-0/+0
From 9aed1d7 to b99800a
2015-07-03Automatic update of common submoduleStefan Sauer1-0/+0
From f74b2df to 9aed1d7
2015-06-16Automatic update of common submoduleNicolas Dufresne1-0/+0
From 6015d26 to f74b2df
2015-06-09Automatic update of common submoduleEdward Hervey1-0/+0
From d9a3353 to 6015d26
2015-06-08Automatic update of common submoduleStefan Sauer1-0/+0
From d37af32 to d9a3353
2015-06-07Automatic update of common submoduleStefan Sauer1-0/+0
From 21ba2e5 to d37af32
2015-06-07Automatic update of common submoduleStefan Sauer1-0/+0
From c408583 to 21ba2e5
2015-06-07Automatic update of common submoduleStefan Sauer1-0/+0
From d676993 to c408583
2015-04-08tests: Use AM_TESTS_ENVIRONMENTEdward Hervey1-0/+0
Needed by the new automake test runner
2015-04-03Automatic update of common submoduleTim-Philipp Müller1-0/+0
From bc76a8b to c8fb372
2015-02-03Undo accidental common module rewindTim-Philipp Müller1-0/+0
in commit 7d463576
2015-02-03gstglwindow_cocoa: fix slow render rateAlessandro Decina1-0/+0
In gst_gl_window_cocoa_draw we used to just call setNeedsDisplay:YES. That was creating an implicit CA transaction which was getting committed at the next runloop iteration. Since we don't know how often the main runloop is running, and when we run it implicitly (from gst_gl_window_cocoa_nsapp_iteration) we only do so every 200ms, use an explicit CA transaction instead and commit it immediately. CA transactions nest and debounce automatically so this will never result in extra work.
2015-01-12Automatic update of common submoduleStefan Sauer1-0/+0
From f2c6b95 to bc76a8b
2014-12-18Automatic update of common submoduleSebastian Dröge1-0/+0
From ef1ffdc to f2c6b95
2014-11-27Automatic update of common submoduleEdward Hervey1-0/+0
From f32cfcd to ef1ffdc
2014-11-26build: Use newer AX_PTHREAD instead of ACX_PTHREADArun Raghavan1-0/+0
2014-10-27Automatic update of common submoduleSebastian Dröge1-0/+0
From 84d06cd to 7bb2bce
2014-10-21Automatic update of common submoduleTim-Philipp Müller1-0/+0
From a8c8939 to 84d06cd
2014-10-21Automatic update of common submoduleStefan Sauer1-0/+0
From 36388a1 to a8c8939
2014-07-31Makefile: Add usage of build-checks stepEdward Hervey1-0/+0
Allows building checks without running them