Commit Graph

3286 Commits

Author SHA1 Message Date
Hugo Beauzée-Luyssen c4ab31d5f0 On the road to 3.0.17.2 2022-03-08 11:36:39 +00:00
David Fuhrmann 2721173c27 configure.ac: Require at least srt 1.3.0
Recent commits use defines like SRT_LIVE_DEF_PLSIZE, which are
only available starting with that srt version.

(cherry picked from commit 80b149ddf9) (edited)
edited:
* 3.0 was restricting to < 1.3.0

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
2022-02-17 13:46:14 +00:00
Jean-Baptiste Kempf 8ff7dd99bc 2022 is here
(cherry picked from commit f1603b6994)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2022-02-09 08:34:21 +01:00
Rémi Denis-Courmont 794d986264 configure: rectify minimum libdvdnav version
The current code base won't compile with 5.0.3 or less.
2022-01-15 16:22:32 +00:00
Hugo Beauzée-Luyssen 58770529c9 On the road to 3.0.17 2021-12-20 10:00:39 +01:00
Steve Lhomme 2c077f260e configure: fix VLC_COMPILE_BY/VLC_COMPILE_HOST empty by default
After 9e7ed0247d the test for the environment
variable wasn't done properly. Resulting in empty variables (and error messages
during configure).

Fixes #26165

(cherry picked from commit 0357c443e2) (rebased)

rebased:
- the 3.0 branch doesn't have [] around the variable names

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
2021-10-11 13:06:26 +00:00
Vagrant Cascadian 84cf955482 configure.ac: Allow passing VLC_COMPILE_BY and VLC_COMPILE_HOST.
This allows passing a specific value instead of inheriting these
values from the build environment.

Fixes #26035

(cherry picked from commit 9e7ed0247d) (edited)

edited:
- the 3.0 branch doesn't have [] around the variable names

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
2021-10-11 13:06:26 +00:00
Hugo Beauzée-Luyssen e43321ef93 On the road to 3.0.16 2021-06-16 10:24:18 +02:00
Hugo Beauzée-Luyssen e786f493f0 On the road to 3.0.15 2021-05-20 14:56:01 +02:00
Hugo Beauzée-Luyssen 0937dbb5c2 On the road to 3.0.14 2021-05-10 15:46:09 +02:00
Marvin Scholz fff5aa90bf package/macosx: Fix bundling without Growl framework
When the macOS notifications module was disabled due to lack of Growl
framework in contribs, this was not properly checked for in the package
Makefile, resulting in a failure due to the missing framework.
2021-04-23 23:27:00 +02:00
Jean-Baptiste Kempf 1991d6636f NEWS: update for 3.0.13 2021-04-10 17:41:55 +02:00
Rémi Denis-Courmont 3aad852a05 configure: ignore too new SRT
SRT does not maintain backward source compatibility. This breaks the
build on, e.g., Debian unstable.
2021-01-24 14:58:04 +02:00
Jean-Baptiste Kempf b1b98fafb5 Update configure Years 2021-01-18 17:40:39 +01:00
Steve Lhomme 429ff5cebd direct3d11: use a ID3D11Fence to tell when the rendering is done
This is a lot more accurate and wastes a lot less time than the Query approach.
The D3D11 Fence value is set when the GPU is done doing the previous
(rendering) commands. Then we can wait in the CPU for this event and return when
it's done. All decoder/filter commands seem to not have any impact so that's
really the signal we're looking for to tell the core we're done rendering.

This is only supported on newer mingw toolchains and only on Windows 10
Creators Update, which should cover pretty much all Win10 installed machines.

Better fixes #21600

(cherry picked from commit 61dbb36ebd) (edited)

edited:
- the release of resources is done in a more flat function
- this branch didn't use pointers for d3dev

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
2021-01-18 09:49:45 +01:00
David Fuhrmann cc3acb1fd7 On the road to 3.0.12.1 2020-12-16 19:42:24 +01:00
Hugo Beauzée-Luyssen ed5d14181c On the road to 3.0.12 2020-12-14 12:29:43 +01:00
David Fuhrmann f233f85df7 macosx: Do not generate InfoPlist.strings anymore
(cherry picked from commit 468e864fb9)
(edited)
Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
2020-12-07 12:12:22 +01:00
David Fuhrmann 7491c17662 configure.ac: Bump to version 3.0.11.1 2020-07-27 00:19:21 +02:00
Martin Storsjö 7fe9c1fce1 direct3d9: Disable OpenGL interop if OpenGL is unavailable
On Windows on ARM/ARM64, OpenGL isn't available. (For emulation
of i386 binaries, there is an opengl32.dll, but it's only the
fallback software renderer, nothing else. For ARM and ARM64, there
is no opengl32.dll.)

(cherry picked from commit 0d0aef05c1)
2020-06-20 22:26:29 +03:00
Martin Storsjö 220e11824f configure: Treat host_cpu = armv* as plain arm
This matches a change in contrib in 99acb87cc9.

(cherry picked from commit 4214cf058c)
2020-06-20 22:26:29 +03:00
Steve Lhomme fb59b22084 configure: check if if_nametoindex is available on Windows
It may link with iphlpapi but be forbidden in UWP.

This test relies on the fact that -Werror-implicit-function-declaration works
in the compiler. And that's why it's done after it's enabled.

It's only used for the --miface option to set the preferred multicast interface.

(cherry picked from commit 424e8991d3) (edited)

edited:
- if_nametoindex was already detected, so just moved the code after the
 -Werror-implicit-function-declaration test

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
2020-06-19 08:11:42 +02:00
Steve Lhomme e55fba35b4 configure: link with synchronization library when building for win8+
That's what should be used when calling WaitOnAddress.
It's not part of the kernel32.dll anymore.

https://docs.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-waitonaddress

(cherry picked from commit 6cf8a7f899) (rebased)

rebased:
- the default windows version in this branch is XP, not Windows7

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
2020-06-19 08:09:17 +02:00
Steve Lhomme 8370881185 configure: add an option to generate PDB files when building
This will only be enabled when building windows targets and will only work when
compiling with Clang.

(cherry picked from commit cb3e3498d8) (rebased)

rebased:
- the code around the added AM_CONDITIONAL is different in this branch

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
2020-06-18 16:35:21 +02:00
Hugo Beauzée-Luyssen e2319a5a1a configure.ac: On the road to 3.0.11 2020-06-03 14:44:53 +02:00
Marvin Scholz 5a40648969 macosx: Add -fno-stack-check to workaround Xcode 11 issue
Compiling with Xcode 11 automatically enables the -fstack-check feature
which causes stack checking error due to unaligned stack which seem
to not be true. Lots of projects are affected by this currently
so hopefully this will be fixed in an Xcode update.

(cherry picked from commit 856ddd8d1a)
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
2020-04-21 15:49:19 +02:00
Hugo Beauzée-Luyssen ae4a0c353e On the road to 3.0.10 2020-04-21 11:57:16 +02:00
Martin Storsjö b17890b054 configure: Include windows.h before checking the _WIN32_WINNT version
The default value of _WIN32_WINNT isn't something that is built into
the compiler, but is defined by the toolchain headers.

Include windows.h after including ws2tcpip.h/winsock2.h, since those
headers should be included in that particular order.

(cherry picked from commit 22fed9624f)
2020-04-09 12:46:22 +03:00
Martin Storsjö b3afca2a50 configure: Check for if_nametoindex in iphlpapi.h
If the toolchain defaults to a newer version of windows, this
function is available there, but the previous configure checks
didn't notice it. Force testing with both compiling and linking,
as the function exists in import libraries, but only is visible
in headers since Vista.

On the master branch, the function was taken into use
unconditionally in c0bf5aeefc.
2020-04-09 00:56:54 +03:00
Martin Storsjö b8395c1b9d configure: Check the toolchain default _WIN32_WINNT in addition to a command line override
Since 255e2ce27, we try not to override _WIN32_WINNT in case it already
is defined on the command line to a higher value. However, if it isn't
specified on the command line, but the toolchain headers default to
a newer version, we should also honor it and keep that version instead
of forcing a lower version here. (If the toolchain defaults to a newer
version, runtime libs of the toolchain may rely on such a new version
anyway, so forcing a lower target within VLC might be useless.)

EDIT: Adapted to a different default version in the 3.0 branch.

(cherry picked from commit 0d65fe038a)
2020-04-09 00:56:54 +03:00
Martin Storsjö 1231bcfe6e configure: Make the new value of _WIN32_WINNT available to configure tests
Definitions from AH_TOP aren't included in the configure checks.

This was the original intent of e807c8e91.

This makes sure configure checks and actual compilation are run
with the same version defined.

EDIT: Adapted to a different default version in the 3.0 branch.

(cherry picked from commit 0a27328b5a)
2020-04-09 00:56:54 +03:00
Martin Storsjö 5ea7fe6fde configure: Don't force _WIN32_WINNT to 0x0601 if it is set to a higher version
Since e807c8e91, we're explicitly unconditionally defining _WIN32_WINNT,
regardless if it was set before or not.

If it was set before (e.g. on the command line), to a higher version,
we should honor that.

This is cruicial for WinRT building, where _WIN32_WINNT is set to Windows
8 or higher on the command line.

EDIT: Adapted to a different default version in the 3.0 branch.

(cherry picked from commit 255e2ce279)
2020-04-09 00:56:54 +03:00
Hugo Beauzée-Luyssen d4c1aefe4d configure.ac: Bump version to 3.0.9.2 2020-04-08 14:17:09 +02:00
David Fuhrmann 9488c3e00b configure.ac: Update copyright years 2020-03-29 10:14:12 +02:00
Hugo Beauzée-Luyssen dcb29b8211 configure.ac: Require microdns 0.1.2
(cherry picked from commit a7c15bd432)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2020-03-24 11:21:57 +01:00
David Fuhrmann 6783df6b3b configure.ac: Fix trailing whitespace 2020-02-11 18:58:46 +01:00
David Fuhrmann cc1b75414a qtsound: Remove module
It has been replaced by avaudiocapture module.

(cherry picked from commit cedb3335b4)
Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
2020-02-11 18:58:46 +01:00
Thomas Guillem 2b265c0a82 bluray: check for getmntent_r symbol
getmntent_r is not necessarily available when the mntent.h header is present
(cf.  Android).

(cherry picked from commit 731510839d)
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2019-11-19 14:24:49 +01:00
Thomas Guillem 5455205052 access: add smb2 module
Disabled by default on VLC 3.0.

Using libsmb2 from Ronnie Sahlberg https://github.com/sahlberg/libsmb2
This is LGPL 2.1 fully async lib for accessing SMB2 and SMB3 shares.

This module use the async feature of the libsmb2 lib with the vlc interrupt
mechanism, therefore every network requests are cancellable almost immediately.

The 2.0.0 version is required since this version drop OpenSSL dependency and
allow to use Builtin NTLMSSP authentication instead of libkrb5.

(cherry picked from commit c6e7841663)
(cherry picked from commit 5775166f1b)
(cherry picked from commit c4820d37cd)
(cherry picked from commit e9c9d72f50)
(cherry picked from commit c7bffb3cf6)
(cherry picked from commit 382d8aece6)
(cherry picked from commit ba9fd0f0ef)
(cherry picked from commit 014e84a30c)
(cherry picked from commit e8868d679c)
(cherry picked from commit 08c83ec287)
(cherry picked from commit 2dbee7d17b)
(cherry picked from commit ffd3083477)
(cherry picked from commit 3924c4e77c)
(cherry picked from commit 53673b7ef2)
(cherry picked from commit 01e9c37d71)
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2019-10-18 09:29:32 +02:00
Hugo Beauzée-Luyssen 2d2fb36ede On the road to 3.0.9 2019-08-22 09:48:46 +02:00
Hugo Beauzée-Luyssen 48f014768d configure: Require libmodplug >= 0.8.9
(cherry picked from commit 87b7816cdb)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2019-08-14 18:21:46 +02:00
Hugo Beauzée-Luyssen f3047d4134 configure: Require libebml >= 1.3.6
(cherry picked from commit 51c8c0c89b)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2019-08-08 12:32:50 +02:00
Hugo Beauzée-Luyssen dab9358836 On the road to 3.0.8 2019-07-01 18:41:11 +02:00
Hugo Beauzée-Luyssen f3940db4af Bump version to 3.0.7.1 2019-06-11 11:51:59 +02:00
Hugo Beauzée-Luyssen 00e44a626b configure.ac: Don't attempt to use kde4-config on Android
(cherry picked from commit 6934f5ced1)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2019-02-07 16:41:14 +01:00
Hugo Beauzée-Luyssen e6af0ba538 configure.ac: Happy new year 2019! 2019-01-14 11:34:34 +01:00
Hugo Beauzée-Luyssen d00e983ac5 Next version is 3.0.7 2019-01-14 11:34:33 +01:00
Jean-Baptiste Kempf 43f7ba691a Next minor release is 3.0.6 2019-01-07 13:54:48 +01:00
Adrien Maglo c7b34cc30b codec: add a dav1d AV1 decoder module
It is using the picture callback API so there's is no copy on output of the decoder.

Co-authored-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
Co-authored-by: Steve Lhomme <robux4@ycbcr.xyz>
(cherry picked from commit 059b9e563b)
(cherry picked from commit 500fe27a07)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2018-12-18 10:25:28 +01:00
Martin Storsjö 7a2c77128e configure: Check if C++ headers define locale_t
In environments that lack a full locale.h implementation, the C++
headers might implement some fallbacks with the same name
(on windows, libcxx does this).

In these cases, don't provide the normal fallbacks from vlc_fixups.h
when compiling in C++ mode, but include the C++ <locale> header instead.

If <locale> provides locale_t, include the header and define
HAVE_NEWLOCALE (which skips the vlc_fixups.h version of locale_t),
but keep the vlc_fixups.h fallback for uselocale. (One could
also add another configure test for whether <locale> provides
the uselocale function.)

(libcxx doesn't provide any fallback for the uselocale function
since it isn't easily implemented with the msvcrt _locale_t objects.
The libcxx fallback locale_t objects are applied via the setlocale
function, and passed to functions that take a _locale_t parameter.)

(cherry picked from commit 797efbd407)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
2018-11-22 15:45:31 +01:00