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>
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>
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>
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.
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>
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)
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>
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>
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>
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)
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.
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)
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)
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)
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>
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>
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>