70 min agocontrib: libarchive: Fix the winrt build fix master
Steve Lhomme [Wed, 27 May 2020 13:20:08 +0000 (15:20 +0200)]
contrib: libarchive: Fix the winrt build fix

26 hours agocontrib: mfx: fix arm* blocking
Steve Lhomme [Tue, 26 May 2020 13:42:07 +0000 (15:42 +0200)]
contrib: mfx: fix arm* blocking

27 hours agomacosx: move breakpad initialization and allow opt-out
Marvin Scholz [Mon, 4 May 2020 18:40:23 +0000 (20:40 +0200)]
macosx: move breakpad initialization and allow opt-out

Move the breakpad initialization right to the start of the program
and do not initialize breakpad if the VLC_DISABLE_BREAKPAD env variable
is set.

32 hours agocontrib: update mpg123 to 1.26.0
Steve Lhomme [Mon, 25 May 2020 12:52:30 +0000 (14:52 +0200)]
contrib: update mpg123 to 1.26.0

Simplify the patches (that have been sent upstream and pass CI)

Set _FILE_OFFSET_BITS as it is set in VLC as the mpg123 change ABI if it's
defined or not...

32 hours agocontrib: set BUILD_SHARED_LIBS OFF (static libraries) for all cmake targets
Steve Lhomme [Mon, 18 May 2020 09:10:10 +0000 (11:10 +0200)]
contrib: set BUILD_SHARED_LIBS OFF (static libraries) for all cmake targets

We build all contribs as static libraries.

The setting exists since CMake 3.0. For targets built with older CMake settings
the value is discarded.

32 hours agocontrib: only enable PDB for Clang builds for x86 and x64 targets
Steve Lhomme [Mon, 18 May 2020 09:19:35 +0000 (11:19 +0200)]
contrib: only enable PDB for Clang builds for x86 and x64 targets

It's not supported for other targets

32 hours agocontrib: mfx: disable windows build for ARM targets
Steve Lhomme [Wed, 20 May 2020 13:24:49 +0000 (15:24 +0200)]
contrib: mfx: disable windows build for ARM targets

2 days agodemux: adaptive: add debugging switch logic
Francois Cartegnie [Wed, 13 May 2020 17:32:54 +0000 (19:32 +0200)]
demux: adaptive: add debugging switch logic

2 days agodemux: adaptive: check vod template limit
Francois Cartegnie [Mon, 25 May 2020 12:04:18 +0000 (14:04 +0200)]
demux: adaptive: check vod template limit

2 days agodemux: adaptive: fix rounding in period/playlist duration
Francois Cartegnie [Mon, 25 May 2020 12:59:41 +0000 (14:59 +0200)]
demux: adaptive: fix rounding in period/playlist duration

2 days agoqt: fix release order of QML components when using DirectComposition
Pierre Lamot [Wed, 20 May 2020 14:26:55 +0000 (16:26 +0200)]
qt: fix release order of QML components when using DirectComposition

  Deleting QmlEngine before QML root item caused context property to be released
  too early as they were attached to the QML engine

2 days agoqt: fix uninitialized variable in dcomp compositor
Pierre Lamot [Wed, 20 May 2020 09:35:47 +0000 (11:35 +0200)]
qt: fix uninitialized variable in dcomp compositor

2 days agoqt: fix header filepath in Makefile.am
Pierre Lamot [Wed, 20 May 2020 09:25:59 +0000 (11:25 +0200)]
qt: fix header filepath in Makefile.am

2 days agocoreaudio: fix invalid delay after a unpause
Thomas Guillem [Fri, 22 May 2020 18:26:02 +0000 (20:26 +0200)]
coreaudio: fix invalid delay after a unpause

The render host time was not updated while paused.

This caused the first time_get(), after a unpause, to return a delay way too
early (corresponding to the pause time). This could happen only when the ca
render callback was not triggered between an unpause and a time_get.

This invalid delay caused the insertion of a long silence, that was not
interruptible, hence the impression of a deadlock.

Fixes #24668

4 days agocontribs: bump dav1d to 0.7.0
Konstantin Pavlov [Fri, 22 May 2020 21:15:00 +0000 (00:15 +0300)]
contribs: bump dav1d to 0.7.0

5 days agodemux: mp4: no sync table means all sync
Francois Cartegnie [Fri, 22 May 2020 13:38:01 +0000 (15:38 +0200)]
demux: mp4: no sync table means all sync

A.7 3) The absence of the sync sample table indicates that all
samples are synchronization points

ref VLCKit/-/issues/367

5 days agodemux: adaptive: fix invalid offset on start
Francois Cartegnie [Fri, 22 May 2020 10:43:03 +0000 (12:43 +0200)]
demux: adaptive: fix invalid offset on start

5 days agodemux: adaptive: set current segment start time on init
Francois Cartegnie [Fri, 22 May 2020 10:42:05 +0000 (12:42 +0200)]
demux: adaptive: set current segment start time on init

5 days agodemux: adaptive: fixup AnyURI
Francois Cartegnie [Wed, 20 May 2020 15:02:53 +0000 (17:02 +0200)]
demux: adaptive: fixup AnyURI

5 days agoclock: check condition before calculation
Zhao Zhili [Wed, 20 May 2020 15:28:04 +0000 (23:28 +0800)]
clock: check condition before calculation

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
7 days agodirectory: remove PATH_MAX limit (fixes #24754)
Rémi Denis-Courmont [Wed, 20 May 2020 15:37:17 +0000 (18:37 +0300)]
directory: remove PATH_MAX limit (fixes #24754)

7 days agoRevert "contribs: srt: use HAVE_GNUV3 to enable"
Alexandre Janniaux [Thu, 7 May 2020 10:05:24 +0000 (12:05 +0200)]
Revert "contribs: srt: use HAVE_GNUV3 to enable"

This reverts commit 8570ea869abb5ff95467336b843f164aa74ee527.

Nettle is actually multilicensed as GPLv2 too, and the define was even

7 days agoopengl: only use sampler from fragment_shaders.c
Romain Vimont [Wed, 5 Feb 2020 14:38:36 +0000 (15:38 +0100)]
opengl: only use sampler from fragment_shaders.c

The renderer instance is not needed anymore.

Signed-off-by: Alexandre Janniaux <ajanni@videolabs.io>
7 days agoopengl: remove interop reference from renderer
Romain Vimont [Mon, 3 Feb 2020 16:00:15 +0000 (17:00 +0100)]
opengl: remove interop reference from renderer

Remove the (weak) reference to the interop from the renderer structure.

The interop is still accessed explicitly from the renderer via the
sampler structure for now.

Signed-off-by: Alexandre Janniaux <ajanni@videolabs.io>
7 days agoopengl: expose functions to call sampler callbacks
Romain Vimont [Wed, 5 Feb 2020 14:24:37 +0000 (15:24 +0100)]
opengl: expose functions to call sampler callbacks

The fact that the sampler use internal function pointers (instead of
if-blocks for example) is an internal detail.

Signed-off-by: Alexandre Janniaux <ajanni@videolabs.io>
7 days agoopengl: simplify pf_prepare_shader()
Romain Vimont [Wed, 5 Feb 2020 14:20:37 +0000 (15:20 +0100)]
opengl: simplify pf_prepare_shader()

Remove tex_width and tex_height parameters, as they are either unused or
accessible from the sampler itself.

Signed-off-by: Alexandre Janniaux <ajanni@videolabs.io>
7 days agoopengl: remove alpha parameter from prepare_shader
Romain Vimont [Wed, 5 Feb 2020 14:07:40 +0000 (15:07 +0100)]
opengl: remove alpha parameter from prepare_shader

The alpha value was used to render subpictures, which are now drawn by
the subpictures renderer using its own fragment shader.

Signed-off-by: Alexandre Janniaux <ajanni@videolabs.io>
7 days agoopengl: load uniforms from sampler
Romain Vimont [Wed, 5 Feb 2020 10:08:50 +0000 (11:08 +0100)]
opengl: load uniforms from sampler

Load uniforms related to sampler from sampler->pf_prepare_shader.

Signed-off-by: Alexandre Janniaux <ajanni@videolabs.io>
7 days agoopengl: fetch locations from sampler
Romain Vimont [Mon, 3 Feb 2020 15:45:08 +0000 (16:45 +0100)]
opengl: fetch locations from sampler

Fetch locations related to sampler from sampler->pf_fetch_locations.

Signed-off-by: Alexandre Janniaux <ajanni@videolabs.io>
7 days agoopengl: move callbacks to sampler
Romain Vimont [Tue, 4 Feb 2020 16:04:15 +0000 (17:04 +0100)]
opengl: move callbacks to sampler

The sampler is responsible to fetch its locations and initialize its
uniforms (including GLSL samplers).

Signed-off-by: Alexandre Janniaux <ajanni@videolabs.io>
7 days agoopengl: define identity matrices in gl_util.h
Romain Vimont [Wed, 5 Feb 2020 10:15:09 +0000 (11:15 +0100)]
opengl: define identity matrices in gl_util.h

This will allow to use them from several files.

Signed-off-by: Alexandre Janniaux <ajanni@videolabs.io>
7 days agoopengl: reference common objects from sampler
Romain Vimont [Tue, 4 Feb 2020 16:01:50 +0000 (17:01 +0100)]
opengl: reference common objects from sampler

For convenience, expose the vlc_gl_t and the OpenGL virtual table in

Signed-off-by: Alexandre Janniaux <ajanni@videolabs.io>
7 days agoopengl: extract sampler creation and destruction
Romain Vimont [Mon, 3 Feb 2020 13:55:42 +0000 (14:55 +0100)]
opengl: extract sampler creation and destruction

Extract sampler creation and destruction to separate functions.

Signed-off-by: Alexandre Janniaux <ajanni@videolabs.io>
7 days agoopengl: reference interop from sampler
Romain Vimont [Mon, 3 Feb 2020 14:48:04 +0000 (15:48 +0100)]
opengl: reference interop from sampler

This allows to use an interop instance without a renderer.

Signed-off-by: Alexandre Janniaux <ajanni@videolabs.io>
7 days agoopengl: use the interop format in renderer
Romain Vimont [Thu, 6 Feb 2020 10:30:11 +0000 (11:30 +0100)]
opengl: use the interop format in renderer

The interop initializes its own video_format_t from the input format.

In the renderer initialization, always use this updated format. This
avoids an additional format parameter, which may be confusing.

Signed-off-by: Alexandre Janniaux <ajanni@videolabs.io>
7 days agoopengl: remove intermediate local variable
Romain Vimont [Tue, 10 Mar 2020 16:21:38 +0000 (17:21 +0100)]
opengl: remove intermediate local variable

The projection mode can be read from the provided video format. The
intermediate renderer variable is unnecessary.

Signed-off-by: Alexandre Janniaux <ajanni@videolabs.io>
7 days agoopengl: simplify renderer format
Romain Vimont [Tue, 10 Mar 2020 16:04:24 +0000 (17:04 +0100)]
opengl: simplify renderer format

The interop may modify its own copy of the video_format_t. These changes
must be reported to the core (by writing to the provided

But as a hack, the Android interop currently flips the orientation to
avoid a vertical flip in the renderer, since it provides its own
transform matrix. This change must not be reported to the core (the core
must not flip the input), so the orientation change is reverted. A
further refactor will remove this hack later.

Meanwhile, handle the format to report to the core outside of the
renderer, so that the renderer is not involved in this hack. This paves
the way to pass only the interop to the renderer, without an additional
video_format_t instance.

Signed-off-by: Alexandre Janniaux <ajanni@videolabs.io>
7 days agoopengl: move interop ownership to vgl
Romain Vimont [Mon, 3 Feb 2020 10:31:33 +0000 (11:31 +0100)]
opengl: move interop ownership to vgl

The interop instances were owned by the renderers.

To prepare for making the renderers independant of the input picture
(in particular, independant of the interop), make the vgl own the
interop instances.

Signed-off-by: Alexandre Janniaux <ajanni@videolabs.io>
7 days agoopengl: extract renderer fields to sampler
Romain Vimont [Thu, 30 Jan 2020 15:53:04 +0000 (16:53 +0100)]
opengl: extract renderer fields to sampler

Move the fields necessary to retrieve a picture pixel from its

Signed-off-by: Alexandre Janniaux <ajanni@videolabs.io>
7 days agoopengl: simplify libplacebo initialization
Romain Vimont [Tue, 19 May 2020 16:20:55 +0000 (18:20 +0200)]
opengl: simplify libplacebo initialization

Initialize GLSL version statically, so that it does not depend on

This will simplify further refactors.

Signed-off-by: Alexandre Janniaux <ajanni@videolabs.io>
7 days agowin32: Don't force enable faad
Martin Storsjö [Wed, 20 May 2020 09:46:20 +0000 (12:46 +0300)]
win32: Don't force enable faad

The faad library isn't built for arm (see contrib/src/faad2/rules.mak),
and since eea2b42638cd5d, configure actually errors out if fadd wasn't
found when it was requested to be enabled (previously this seems to have
been the intent, but it didn't actually do that).

7 days agocontrib: gnutls: replace the win32 patch with sed commands
Steve Lhomme [Mon, 23 May 2016 07:18:17 +0000 (09:18 +0200)]
contrib: gnutls: replace the win32 patch with sed commands

It's more flexible after updates.

7 days agocontrib: gnutls: disable the dllimport forced even in static linking
Steve Lhomme [Tue, 19 May 2020 14:41:16 +0000 (16:41 +0200)]
contrib: gnutls: disable the dllimport forced even in static linking

7 days agocontrib: lua: respect LDFLAGS under mingw
Steve Lhomme [Thu, 30 Apr 2020 15:05:18 +0000 (17:05 +0200)]
contrib: lua: respect LDFLAGS under mingw

7 days agokeychain: Do not link against Cocoa
David Fuhrmann [Tue, 19 May 2020 20:29:14 +0000 (22:29 +0200)]
keychain: Do not link against Cocoa

This is a module used for both iOS as well as macOS, so it should
only use frameworks available on both platforms. And in fact,
linking against Cocoa is not necessary for macOS as well.

7 days agoCI: Enable pages job on schedules
Konstantin Pavlov [Tue, 19 May 2020 14:48:23 +0000 (17:48 +0300)]
CI: Enable pages job on schedules

8 days agoqml: fullscreen button should ask videofullscreen
Pierre Lamot [Tue, 5 May 2020 13:21:12 +0000 (15:21 +0200)]
qml: fullscreen button should ask videofullscreen

otherwise the interface stays fullscreen when the video ends

8 days agoqt: remove qml instantiation and video embedding from the main_interface
Pierre Lamot [Tue, 24 Mar 2020 08:52:50 +0000 (09:52 +0100)]
qt: remove qml instantiation and video embedding from the main_interface

  QML UI is injected from MainUI and Video integration is handled by the

8 days agoqt: move qml initialisation out of the main interface
Pierre Lamot [Tue, 24 Mar 2020 08:52:50 +0000 (09:52 +0100)]
qt: move qml initialisation out of the main interface

8 days agoqt: add DirectCompositor compositor
Pierre Lamot [Tue, 24 Mar 2020 08:52:50 +0000 (09:52 +0100)]
qt: add DirectCompositor compositor

8 days agocontrib: allow static linking of ANGLE on Windows
Pierre Lamot [Wed, 6 May 2020 16:29:10 +0000 (18:29 +0200)]
contrib: allow static linking of ANGLE on Windows

  Add KHRONOS_STATIC to allow static linking on Windows.

8 days agoqt: provide a dummy compositor
Pierre Lamot [Tue, 24 Mar 2020 08:52:50 +0000 (09:52 +0100)]
qt: provide a dummy compositor

8 days agoqt: add compositor interface
Pierre Lamot [Tue, 24 Mar 2020 08:52:50 +0000 (09:52 +0100)]
qt: add compositor interface

8 days agoqt: move vout window report functions to the Video surface provider
Pierre Lamot [Tue, 24 Mar 2020 08:52:50 +0000 (09:52 +0100)]
qt: move vout window report functions to the Video surface provider

  QVoutWindow functionalities will be superseded by the compositor

8 days agoqt: remove dependency from mainUI in the toolbar editor
Pierre Lamot [Tue, 24 Mar 2020 08:52:50 +0000 (09:52 +0100)]
qt: remove dependency from mainUI in the toolbar editor

8 days agoqml: use the top window to filter global key events rather than the embed widget
Pierre Lamot [Tue, 24 Mar 2020 08:52:50 +0000 (09:52 +0100)]
qml: use the top window to filter global key events rather than the embed widget

8 days agoqml: rename rootWindow to mainInterface
Pierre Lamot [Wed, 29 Apr 2020 15:19:28 +0000 (17:19 +0200)]
qml: rename rootWindow to mainInterface

  the variable points to the MainInterface and not its actual window

8 days agod3d11: allow rendering video to DirectComposition surfaces
Pierre Lamot [Tue, 24 Mar 2020 08:52:50 +0000 (09:52 +0100)]
d3d11: allow rendering video to DirectComposition surfaces

8 days agocontrib: vpx: remove strip step and fix debug symbols
Alexandre Janniaux [Thu, 30 Apr 2020 09:39:14 +0000 (11:39 +0200)]
contrib: vpx: remove strip step and fix debug symbols

Without CONFIG_DEBUG set, libvpx is calling `$(STRIP) --strip-debug`
on the final library and removes the debug symbols from it. With the
variable set, it becomes a simple copy operation.

In addition, debug symbols should be enabled for all builds since we
strip in the end, so as to have the debug symbols in a separate file
when doing releases. In case we build with optimization, remove the

8 days agodemux: mp4: fix -Wformat warning with PRIu16
Alexandre Janniaux [Mon, 4 May 2020 17:36:05 +0000 (19:36 +0200)]
demux: mp4: fix -Wformat warning with PRIu16

MP4_BoxGet doesn't need a dedicated format for the given index.

8 days agohttp_auth: fix -Wstringop-truncation warning
Alexandre Janniaux [Mon, 4 May 2020 17:36:55 +0000 (19:36 +0200)]
http_auth: fix -Wstringop-truncation warning

The size of hashes are fixed so there is no need for str functions, as
otherwise strncpy complains about having the destination size equal to
the given size with fortify.

8 days agoaccess: rtp: fix print descriptor for size
Alexandre Janniaux [Mon, 4 May 2020 16:57:33 +0000 (18:57 +0200)]
access: rtp: fix print descriptor for size

Size is an uint64_t because of vlc_stream_GetSize, not a size_t.

8 days agocodec: Makefile.am: remove AudioUnit for audiotoolboxmidi
Alexandre Janniaux [Mon, 4 May 2020 12:23:49 +0000 (14:23 +0200)]
codec: Makefile.am: remove AudioUnit for audiotoolboxmidi

AudioUnit framework is not found on iOS and is not needed on MacOSX.

8 days agoaudio_output: Makefile.am: fix audiounit_ios link
Alexandre Janniaux [Mon, 4 May 2020 12:23:48 +0000 (14:23 +0200)]
audio_output: Makefile.am: fix audiounit_ios link

Remove AudioUnit framework as it is not found on iOS and only
AudioToolbox is needed.

In addition CoreServices cannot be linked for the iOS/tvOS targets as it
is available starting with iOS/tvOS 12.0+.

8 days agovideo_output: Makefile.am: link vout_ios to Foundation
Alexandre Janniaux [Mon, 4 May 2020 09:44:31 +0000 (11:44 +0200)]
video_output: Makefile.am: link vout_ios to Foundation

Fixes the following undefined references:

  "_OBJC_CLASS_$_NSNotificationCenter", referenced from:
      objc-class-ref in ios.o
  "_OBJC_CLASS_$_NSThread", referenced from:
      objc-class-ref in ios.o
  "_OBJC_CLASS_$_NSValue", referenced from:
      objc-class-ref in ios.o

8 days agovideo_output: Makefile.am: fix link for interop_cvpx on ios
Alexandre Janniaux [Mon, 4 May 2020 09:44:30 +0000 (11:44 +0200)]
video_output: Makefile.am: fix link for interop_cvpx on ios

There were no LDFLAGS for iOS/tvOS and vt_utils were not compiled but
linking worked because videotoolbox was linked in the final static
library archive.

8 days agokeystore: makefile: link cocoa only on OSX
Alexandre Janniaux [Mon, 4 May 2020 08:34:25 +0000 (10:34 +0200)]
keystore: makefile: link cocoa only on OSX

Cocoa doesn't exist on iOS and tvOS.

8 days agopackage/win32: build.sh: actually use $TRIPLET-pkg-config when it works
Steve Lhomme [Tue, 19 May 2020 11:54:57 +0000 (13:54 +0200)]
package/win32: build.sh: actually use $TRIPLET-pkg-config when it works

Fixes 6746f5787356c189323228a37bd52b8e6406cfab

8 days agoconfigure.ac: handle faad pkgconfig
Francois Cartegnie [Thu, 30 Apr 2020 12:26:14 +0000 (14:26 +0200)]
configure.ac: handle faad pkgconfig

8 days agoinput: es_out_timeshift: use union for block offset
Francois Cartegnie [Wed, 22 Apr 2020 15:56:50 +0000 (17:56 +0200)]
input: es_out_timeshift: use union for block offset

8 days agoinput: es_out_timeshift: fix asynchronous accounting of ES
Francois Cartegnie [Mon, 20 Apr 2020 18:21:19 +0000 (20:21 +0200)]
input: es_out_timeshift: fix asynchronous accounting of ES

You can't keep track of scheduled ES as they don't exist
and they expire with the command list.

8 days agoinput: es_out_timeshift: store commands as different sizes
Francois Cartegnie [Wed, 22 Apr 2020 16:21:48 +0000 (18:21 +0200)]
input: es_out_timeshift: store commands as different sizes

8 days agoinput: es_out_timeshift: use own aligned memory storage
Francois Cartegnie [Wed, 22 Apr 2020 14:24:56 +0000 (16:24 +0200)]
input: es_out_timeshift: use own aligned memory storage

8 days agoes_out: split controls range
Francois Cartegnie [Wed, 22 Apr 2020 17:53:16 +0000 (19:53 +0200)]
es_out: split controls range

you can't have assert() between priv/public spaces
if the enums can collide

8 days agodemux: adaptive: rely on live offset for edge control
Francois Cartegnie [Mon, 18 May 2020 13:39:59 +0000 (15:39 +0200)]
demux: adaptive: rely on live offset for edge control

fixes start case when min buffering < playlist duration

refs VLCKit/-/issues/374

8 days agodemux: adaptive: use current segment number when available
Francois Cartegnie [Mon, 18 May 2020 15:56:46 +0000 (17:56 +0200)]
demux: adaptive: use current segment number when available

8 days agodemux: adaptive: add ac4 formatnamespace mapping
Francois Cartegnie [Fri, 15 May 2020 08:04:05 +0000 (10:04 +0200)]
demux: adaptive: add ac4 formatnamespace mapping

9 days agoupdate: do not launch the downloaded exe in Winstore builds
Steve Lhomme [Thu, 9 Apr 2020 09:55:16 +0000 (11:55 +0200)]
update: do not launch the downloaded exe in Winstore builds

The API is forbidden.

It could be done with this winrt API:

9 days agocontrib: gcrypt: fix getpid usage in winstore builds
Steve Lhomme [Thu, 30 Apr 2020 13:17:43 +0000 (15:17 +0200)]
contrib: gcrypt: fix getpid usage in winstore builds

9 days agocontrib: gcrypt: use bcrypt rather than wincrypt
Steve Lhomme [Thu, 5 Apr 2018 11:29:40 +0000 (13:29 +0200)]
contrib: gcrypt: use bcrypt rather than wincrypt

9 days agocontrib: libarchive: don't force the Windows version to target
Steve Lhomme [Thu, 2 Apr 2020 13:37:54 +0000 (15:37 +0200)]
contrib: libarchive: don't force the Windows version to target

We may want to build for Win10/UWP via the command-line.

9 days agocontrib: libarchive: fix winrt patches
Steve Lhomme [Thu, 2 Apr 2020 12:58:53 +0000 (14:58 +0200)]
contrib: libarchive: fix winrt patches

9 days agocontrib: libarchive: Fix winrt build
Steve Lhomme [Mon, 9 Apr 2018 07:59:27 +0000 (09:59 +0200)]
contrib: libarchive: Fix winrt build

don't force compilation for Windows XP
don't call DebugBreak() (in debug builds)

9 days agocontrib: libarchive: use the proper define for the internal mode_t
Steve Lhomme [Fri, 27 Mar 2020 15:33:33 +0000 (16:33 +0100)]
contrib: libarchive: use the proper define for the internal mode_t

9 days agocontrib: libarchive: use bcrypt rather than wincrypt
Steve Lhomme [Thu, 5 Apr 2018 12:49:26 +0000 (14:49 +0200)]
contrib: libarchive: use bcrypt rather than wincrypt

9 days agocontrib: flac: update the winstore fixes for 1.3.3
Steve Lhomme [Fri, 3 Apr 2020 11:26:27 +0000 (13:26 +0200)]
contrib: flac: update the winstore fixes for 1.3.3

9 days agocontrib: harfbuzz: fix winstore API detection in mingw64
Steve Lhomme [Fri, 3 Apr 2020 11:10:31 +0000 (13:10 +0200)]
contrib: harfbuzz: fix winstore API detection in mingw64

WINAPI_FAMILY_PC_APP and WINAPI_FAMILY_PHONE_APP are not available but it's OK.

9 days agocontrib: harfbuzz: turn local patches into patches against the harfbuzz git
Steve Lhomme [Mon, 18 May 2020 12:19:24 +0000 (14:19 +0200)]
contrib: harfbuzz: turn local patches into patches against the harfbuzz git

It's easier to apply & rebase patches when updating to a newer version.

9 days agocontrib: taglib: use SetFilePointerEx instead of SetFilePointer
Steve Lhomme [Mon, 18 May 2020 12:12:27 +0000 (14:12 +0200)]
contrib: taglib: use SetFilePointerEx instead of SetFilePointer

It's available on more Win10 versions with UCRT builds and provides the same

9 days agocontrib: taglib: only use APIs in winstore builds
Steve Lhomme [Tue, 28 Apr 2020 10:49:27 +0000 (12:49 +0200)]
contrib: taglib: only use APIs in winstore builds

- CreateFile2 where CreateFileW is used
- GetFileInformationByHandleEx instead of GetFileSize (which is what winstore
  compat did)

9 days agocrystalhd: remove this ancient hardware video decoder module
Steve Lhomme [Thu, 30 Apr 2020 10:00:20 +0000 (12:00 +0200)]
crystalhd: remove this ancient hardware video decoder module

9 days agomodules: remove unneeded signal.h include
Steve Lhomme [Thu, 30 Apr 2020 05:08:49 +0000 (07:08 +0200)]
modules: remove unneeded signal.h include

9 days agowin32: use CreateThread instead of _beginthreadex in winstore builds
Steve Lhomme [Tue, 28 Apr 2020 09:05:19 +0000 (11:05 +0200)]
win32: use CreateThread instead of _beginthreadex in winstore builds

_beginthreadex is forbidden. We already used CreateThread in such builds via

Modify the code to avoid casting when not needed.

10 days agocontrib: modplug: Link against libc++ on macOS
David Fuhrmann [Wed, 13 May 2020 17:42:15 +0000 (19:42 +0200)]
contrib: modplug: Link against libc++ on macOS

libstdc++ is not available anymore in modern sdks.

10 days agocontribs: live555: Set CXXFLAGS for macosx
David Fuhrmann [Wed, 29 Apr 2020 19:53:41 +0000 (21:53 +0200)]
contribs: live555: Set CXXFLAGS for macosx

CXXFLAGS are needed to set correct stdlib.

11 days agoconfig: allow 64-bits value in config chains
Rémi Denis-Courmont [Thu, 14 May 2020 15:29:38 +0000 (18:29 +0300)]
config: allow 64-bits value in config chains

This matches the behaviour for command line arguments and for input
item options. This also matches the bug that it might cause signed
overflow if the code expects a 32-bits value.

12 days agovout/opengl: set the correct GLSL shader version for libplacebo
Niklas Haas [Wed, 13 May 2020 20:29:22 +0000 (22:29 +0200)]
vout/opengl: set the correct GLSL shader version for libplacebo

This prevents shader compilation errors when VLC requests old versions
of GLSL, by forwarding the correct GLSL version to the libplacebo shader

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
12 days agofourcc: add AC4
Francois Cartegnie [Wed, 22 May 2019 07:27:50 +0000 (09:27 +0200)]
fourcc: add AC4

fourcc is now registered

13 days agodemux: adaptive: fix aligned segments default
Francois Cartegnie [Wed, 13 May 2020 17:33:01 +0000 (19:33 +0200)]
demux: adaptive: fix aligned segments default

13 days agodemux: hls: handle timescale rounding when matching segment
Francois Cartegnie [Thu, 14 May 2020 08:12:36 +0000 (10:12 +0200)]
demux: hls: handle timescale rounding when matching segment