Commit Graph

102248 Commits

Author SHA1 Message Date
Prince Gupta 4fc045f1ea qml: fix double padding 2024-05-10 15:56:50 +00:00
Prince Gupta 4149672b53 qml: fix focus handling in BrowseTreeHeader
Control doesn't handle focusable children well
2024-05-10 15:56:50 +00:00
Prince Gupta 0c96e3b620 qml: separate loading and empty component in BrowseTreeDisplay 2024-05-10 15:56:50 +00:00
Prince Gupta 146575c06e qt: remove shadowed member function
BaseModel has getCount
2024-05-10 15:56:50 +00:00
Prince Gupta 0d955392b9 qml: remove redundant property 2024-05-10 15:56:50 +00:00
Prince Gupta ac3b18336a qml: add more strict constaints for 'loadingComponent' 2024-05-10 15:56:50 +00:00
Prince Gupta 870911a642 qml: refactor loading view in MainViewLoader for clarity 2024-05-10 15:56:50 +00:00
Olaf Hering 24e663be6f configure: remove usage of subprocess.capture_output
... to restore compatiblity with Python 3.6.

This was initroduced in commit 177d049950,
which broke compilation on openSUSE Leap 15, which uses Python 3.6 als
default Python interpreter.

Fixes #28636

Signed-off-by: Olaf Hering <olaf@aepfle.de>
2024-05-10 13:47:38 +00:00
Prince Gupta dee7fb6e7b qml: fix color handling in table view for some qt versions
fixes binding assignment,
using QObject/QGadget types in Qt.binding fails
see https://bugreports.qt.io/browse/QTBUG-125095
2024-05-10 10:06:20 +00:00
Fatih Uzunoglu b12a7be7d3 qt: do not init `qtquickshapes_shaders` resource
Qt Quick Shapes is not used now, it is not
necessary to initialize its resources.
2024-05-10 09:23:25 +00:00
Fatih Uzunoglu 12a22c589c contrib: qtdeclarative: disable building quickwidgets 2024-05-10 09:23:25 +00:00
Fatih Uzunoglu 4f2644ad15 contrib: qtdeclarative: disable building effects
At the moment, Qt 5 effects are used. This needs
to be reverted when MultiEffect is started being
used.
2024-05-10 09:23:25 +00:00
Fatih Uzunoglu 66d587eeaa contrib: qtdeclarative: disable building qmldom 2024-05-10 09:23:25 +00:00
Fatih Uzunoglu 13a5d2cb7b contrib: qtdeclarative: do not build Qt Quick Dialogs 2024-05-10 09:23:25 +00:00
Fatih Uzunoglu a1de4bf57f contrib: qtdeclarative: disable feature quick-path
For now Quick Shapes/Path is not used, we don't need
to build it.
2024-05-10 09:23:25 +00:00
Fatih Uzunoglu 7b98948bbe qt: use KWindowSystem to enable blur in CompositorX11 2024-05-09 16:05:51 +00:00
Fatih Uzunoglu 041b8f04e2 qt: enable acrylic blur for KWin in compositor_wayland 2024-05-09 16:05:51 +00:00
Fatih Uzunoglu 9fca2c36da qt: use `CompositorVideo::setBlurBehind()` in compositor_dcomp 2024-05-09 16:05:51 +00:00
Fatih Uzunoglu 10134a4154 qt: add setBlurBehind() to CompositorVideo 2024-05-09 16:05:51 +00:00
Fatih Uzunoglu e6a1738d9f qt: add kwindowsystem_module and win32windoweffects_module 2024-05-09 16:05:51 +00:00
Prince Gupta f9d948ca03 service_discovery: Add winvolumes module
implement SD_CAT_MYCOMPUTER based service discovery
module on Windows

allows to query volumes mounted on host computer
Ref #28597
2024-05-09 12:27:00 +00:00
Martin Storsjö 42cb003f05 contrib: aom: Backport patches to improve the SVE detection
This backports
https://aomedia.googlesource.com/aom/+/5ccdc66ab6eb8eb300eda854fab4ff250b2c2f92
and
https://aomedia.googlesource.com/aom/+/fb21617c1f3ef49795597e006b68adfba6e54be0.

This makes libaom test compiling a more nontrivial function,
which according to AAPCS requires backing up and restoring SVE
registers.

On current versions of Clang when targeting Windows, compiling such
a function errors out. This added test makes libaom not try to
compile the SVE codepaths for this target.

See https://github.com/llvm/llvm-project/issues/80009 for reference
on toolchain support for SVE functions on Windows on aarch64.
2024-05-09 08:44:13 +00:00
visuve 12237bd0f9 Simplify vlc_rand_bytes on Windows
Use system preferred RNG and skip the unnecessary initialization steps (in this
context, which is definitely not security related)
The vlc_rand_bytes function is now about 55x faster when called repeatedly in a loop
See https://learn.microsoft.com/en-us/windows/win32/api/bcrypt/nf-bcrypt-bcryptgenrandom for more details

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
2024-05-08 16:39:15 +00:00
Steve Lhomme 46c57f4dbf extras/tools: build tar with xz support before unpacking tar.xz files 2024-05-08 11:17:11 +00:00
Steve Lhomme ee9ea36529 extras/tools: build xz before tar
The reason we build tar is because it's missing xz support.
2024-05-08 11:17:11 +00:00
Rémi Denis-Courmont 90dc0a023f http: allow short response byte range
RFC9110 specifies that a client must handle a shorter response range
than requested in all circumstanges. Previously, RFC7233 only required
that behaviour for multipart ranges, which VLC did not use.

This matches the newer specification: VLC will try to resume from the
last received offset not only on unexpected error, but also on short
response.

Fixes #28627.
2024-05-07 13:38:39 +00:00
Steve Lhomme 5a7ca64289 contrib: don't set dependency string as definitive value
Especially when it's modified later.

Some dependencies are not applied properly otherwise.
2024-05-07 12:21:13 +00:00
Steve Lhomme 06b0413022 contrib: fxc2: fix system fxc detection
Inverted test introduced in 9c80a115fb.
2024-05-07 12:21:13 +00:00
Steve Lhomme 13518a4b09 contrib: qtdeclarative: make qtdeclarative depend on qtdeclarative-tools
It requires the native qmlcachegen to build.

And we don't need the direct dependency on qsb.
2024-05-07 12:21:13 +00:00
Steve Lhomme edf3d53a3f contrib: qtshadertools: only build the native version
We only need it as a native tool we call.
2024-05-07 12:21:13 +00:00
Steve Lhomme 0b3458536b contrib: qtshadertools: make the native tool depend on fxc2
We don't call the cross compiled tools. fxc is pretending to be a native tool.
2024-05-07 12:21:13 +00:00
Steve Lhomme f194a9b629 contrib: qtvlcdeps: remove qtshadertools dependency
We don't need the qsb compiler to get the library dependencies of VLC.
In any case it should be the native one, not the cross-compiled one.
2024-05-07 12:21:13 +00:00
Steve Lhomme 0287e2d5e4 contrib: qtdeclarative: fix typo in native tool detection 2024-05-07 12:21:13 +00:00
Steve Lhomme b44f3fdde3 configure: remove Qt6ShaderTools from required dependencies
We never use that code directly. We use qsb but as native with manual detection.
2024-05-07 12:21:13 +00:00
Thomas Guillem 5762f3f17e meson: fix build
Regression from 63f3e39652
2024-05-07 10:27:44 +02:00
Thomas Guillem 765d6117b3 player: timer: rename state to event
See previous commit.
2024-05-07 07:33:26 +00:00
Thomas Guillem 06d60eb5c1 player: timer: fix paused state overridden
Player timer states are not really states but events. It is possible to
receive a discontinuity while paused, in that case, the paused state was
overridden causing UI timers to continue while paused. Store each events
in different variables to fix this issue. Keeping the discontinuity
event in the internal player state is useless since
1ecb283c87.

Fixes #28622
2024-05-07 07:33:26 +00:00
Thomas Guillem 63f3e39652 aout: add avsamplebuffer
This module enables SpatialAudio when playing multi channels content.

This module has finer A/V sync delay:
 - 15-40ms on speaker/HDMI
 - -80ms with AirPlay
 - 80ms with bluetooth devices (was 250ms before).

Airplay playback is now more stable, the VLC delay (via
aout_TimingReport) is less than 100ms, so audio and video will play
almost instantaneously.

With audiounit_ios, the delay was 2 seconds making it harder to sync
audio and video (since input tracks had to be delayed too).

Note that even if the audio seems to be playing from the VLC side, the
airplay will be silent for the first 2seconds. This can be improved by
increasing the pts-delay (file-caching): 7seconds of pts-delay remove
this latency (from 2secs to 100ms), but this is not something that could
be enabled by default.

One other improvement is that the airplay device will stop immediately
when pausing/stopping/seeking.

This module has a priority of 100, less than auhal, that can handle
passthrough, but more than audiunit_ios. Therefore, this module will be
the default one on iOS/tvOS, but can be selected by the user on macOS
(or deselected on iOS/tvOS). This is temporary as it might be
interesting for macOS users to use this aout as it can handle Spatial
Audio.
2024-05-07 06:35:17 +00:00
Thomas Guillem 97972a25a9 audiounit_ios: decrease priority
No changes since the other aout module is macOS only (auhal) and won't
interfere.
2024-05-07 06:35:17 +00:00
Thomas Guillem c1420e41e3 aout: apple: export avas helpers 2024-05-07 06:35:17 +00:00
Thomas Guillem 49ea2f350c aout: apple: export channel_layout_MapFromVLC
This will be used by the future avsamplebuffer aout.
2024-05-07 06:35:17 +00:00
Thomas Guillem 53d58abbe9 audiounit_ios: make avas_PrepareFormat standalone
And not module (sys) dependant.
2024-05-07 06:35:17 +00:00
Thomas Guillem d35fce0a97 audiounit_ios: make avas_GetPortType standalone
And not module (sys) dependant.
2024-05-07 06:35:17 +00:00
Thomas Guillem da27196e96 audiounit_ios: make avas_SetActive standalone
And not module (sys) dependant.
2024-05-07 06:35:17 +00:00
Thomas Guillem 2dea28625c audiounit_ios: replace SessionManager with a static atomic 2024-05-07 06:35:17 +00:00
Thomas Guillem 8d79916319 audiounit_ios: handle spatial audio
Don't ask the core to downmix to stereo when spatialaudio is handled.
Notify when we are playing multi channels.

This is not supported by the audiounit_ios module but will be supported
by the future avsamplebuffer module.
2024-05-07 06:35:17 +00:00
Thomas Guillem 67149f7c34 Revert "aout iOS: add support for spatial audio"
This reverts commit 744248f5ee.

SpatialAudio doesn't work with audiounit. This will be added back in the
avsamplebuffer aout.
2024-05-07 06:35:17 +00:00
Thomas Guillem 53e033bbc4 audiounit_ios: log more NSErrror 2024-05-07 06:35:17 +00:00
Thomas Guillem ab8ebdeb39 audiounit_ios: move setPreferredSampleRate in avas_PrepareFormat 2024-05-07 06:35:17 +00:00
Thomas Guillem 7bbbb16f67 audiounit_ios: rename avas_setPreferredNumberOfChannels 2024-05-07 06:35:17 +00:00