Commit Graph

102264 Commits

Author SHA1 Message Date
Thomas Guillem 4c78bc6063 atomic: fix static vlc_atomic_rc_t init
It was never used, so no bad consequences (I plan to use it soon).
2024-04-25 13:11:15 +00:00
darshan jain b06ef34af6 qml: CSDWindowsButtonSet: adding useWinIcons for rendering CSD Icons 2024-04-25 12:15:22 +00:00
darshan jain c92889d092 qml: CSDWindowsButton: Removing font fallback for CSD Icons
Font fallback is not supported in Qt.
By this MR the issue gets resolved and CSD icons display wrt Windows
Version independently.
2024-04-25 12:15:22 +00:00
David Rosca ac178ac8e3 vaapi: chroma: Implement vaPutImage upload fallback 2024-04-25 09:34:15 +00:00
David Rosca b1e5a91d61 interop_vaapi: Don't use DeriveImage with ExportSurfaceHandle
DeriveImage is only needed when AcquireBufferHandle is used with old libva.
2024-04-25 09:34:15 +00:00
Steve Lhomme ffe24cb69d package: win32: don't install Qt pdbs if Qt is disabled 2024-04-25 08:22:29 +00:00
Pierre Lamot 6717dd6741 qml: fix invalid property in TeletextWidget
IconToolButton relies on the font size since 3df6a79acd
2024-04-25 05:18:16 +00:00
Pierre Lamot 24dc8002cf qml: fix description in teletext widgets
description field should be used since d6b6ac32c2
2024-04-25 05:18:16 +00:00
Pierre Lamot d9c2fd3800 qml: fix ambigous Item class usage in SpinBoxExt
IconLabel already exists in Qt namespace
2024-04-25 05:18:16 +00:00
Pierre Lamot cac89ca025 qml: add missing default value after nullish tests 2024-04-25 05:18:16 +00:00
Pierre Lamot 0b6be7747b qml: currentItem may be null in VideoRecentVideos 2024-04-25 05:18:16 +00:00
Pierre Lamot c7a30900e3 qml: remove leftover usages of Helpers.get 2024-04-25 05:18:16 +00:00
Tristan Matthews 4e67f8341b contrib: opus: update to 1.5.2
Opus 1.5.2 fixes several build issues that were discovered since the 1.5 release.
It also fixes a misalignment issue in the AVX2 code that could cause crashes under Windows.
2024-04-24 10:18:48 -04:00
Jiepeng Huang c52066f204 freetype: darwin: ignore case whe comparing
The `psz_lcname` is lowercase, so we need to use `strcasecmp`
instead.
2024-04-24 12:09:30 +00:00
Jiepeng Huang 2e3c0fb6bc freetype: darwin: fix font index issue
In macOS/iOS/tvOS, font collection file contains multiple fonts.
The 0 index should not be used by default, but the corresponding
index should be used. This will fix some font rendering bugs and
fallback font bugs.
2024-04-24 12:09:30 +00:00
Steve Lhomme 9226c3dcb5 libvlc: mark "fit" API entries as new in libvlc 4.0.0 2024-04-24 08:47:13 +00:00
Steve Lhomme 0eb7be304d libvlc: explicitly set a value for the libvlc_video_fit_mode_t enum values
Just like the other enums.
2024-04-24 08:47:13 +00:00
Alexandre Janniaux d56e9c1e7b es_out: use es_out_sys_t (downcast) as parameter
The upper class was used everywhere, leading to the pointer being
downcasted at the beginning of every function. By using the downcast
class everywhere, we don't introduce explicit downcast in most places.

This commit also reduces the usage of the es_out_t type as parameter,
which will be moved to another downclass in follow-up MR.
2024-04-23 19:33:01 +00:00
Alexandre Janniaux 5689fcde76 es_out_timeshift: use downcast class as parameter
The upper class was used everywhere, leading to the pointer being
downcasted at the beginning of every function. By using the downcast
class everywhere, we don't introduce explicit downcast in most places.

This commit also reduces the usage of the es_out_t type as parameter,
which will be moved to another downclass in follow-up MR.
2024-04-23 19:33:01 +00:00
Alexandre Janniaux 212ed3d898 es_out_timeshift: switch to dedicated structure
es_out_sys_t is the name used in es_out.c for the main es_out. By
providing a dedicated name, we gain more clarity and better integration
with tooling.
2024-04-23 19:33:01 +00:00
Alexandre Janniaux 8363d6c360 es_out_source: expose new dedicated struct
es_out_sys_t is the name used in es_out.c for the main es_out. By
providing a dedicated name, we gain more clarity and better integration
with tooling.
2024-04-23 19:33:01 +00:00
Alexandre Janniaux 52adca10c9 es_out: add missing includes
The includes are missing when including this file into another.
2024-04-23 19:33:01 +00:00
Alexandre Janniaux a8e7319148 input: es_out: fix copy-paste typo 2024-04-23 19:33:01 +00:00
Steve Lhomme e750fb576b contrib: x264: fix fseeko detection on older 32-bit Android
It's not supported [1]. NDK 26 will emit an error if you try to use it.

Upstream patch: https://code.videolan.org/videolan/x264/-/merge_requests/150

[1] https://android.googlesource.com/platform/bionic/+/main/docs/32-bit-abi.md
2024-04-23 17:19:41 +00:00
Steve Lhomme db5b75f021 contrib: upnp: don't use fseeko on older 32-bit Android
It's not supported [1]. NDK 26 will emit an error if you try to use it.

Upstream patch: https://github.com/pupnp/pupnp/pull/441

[1] https://android.googlesource.com/platform/bionic/+/main/docs/32-bit-abi.md
2024-04-23 17:19:41 +00:00
Steve Lhomme 2a968ebbed contrib: flac: don't use fseeko/ftello on older 32-bit Android
It's not supported [1]. NDK 26 will emit an error if you try to use it.

Upstream patch: https://github.com/xiph/flac/pull/691

[1] https://android.googlesource.com/platform/bionic/+/main/docs/32-bit-abi.md
2024-04-23 17:19:41 +00:00
Steve Lhomme 0b92a08ef9 contrib: fix CMake Android API typo 2024-04-23 17:19:41 +00:00
Steve Lhomme 06a9b6b3ac contrib: fix the CMake i386 and arm ARCH names
It works for Android and should be the same on other platforms.
2024-04-23 17:19:41 +00:00
Steve Lhomme deb9246cd3 contrib: force CMake system to Android for Android
So the the proper system detection happens:

https://github.com/Kitware/CMake/blob/master/Modules/Platform/Android-Determine.cmake
2024-04-23 17:19:41 +00:00
Steve Lhomme 738b974777 contrib: qtshadertools: don't force calling fxc2
We have a fake fxc that can be called under wine.
In Qt6.7 it may also call dxc (Shader Model 6) which can even be a Linux binary.
2024-04-23 15:35:10 +00:00
Steve Lhomme 0df47ad72a configure: keep the fxc path
We need to add it to the PATH when calling qsb which assumes it's in the PATH.
qsb doesn't have an option to tell it where to look (in contribs). So if it's
not in the PATH it will never find it.

Then we can use the one from contribs.
2024-04-23 15:35:10 +00:00
Steve Lhomme 9c80a115fb contrib: fxc2: check the python script exists
Otherwise the package is not found on the system.

It doesn't a pkgconfig file so it was never found so far.
2024-04-23 15:35:10 +00:00
Steve Lhomme a8493d31f5 contrib: fxc2: use a fxc script to call fxc2
So any call to fxc will use our tool, as long as fxc is in the PATH.

We can also handle the option format in the script.
2024-04-23 15:35:10 +00:00
Steve Lhomme d04d70fb20 contrib: fxc2: support -O binary output mode 2024-04-23 15:35:10 +00:00
Steve Lhomme 4c31622635 contrib: fxc2: use install to install binaries 2024-04-23 15:35:10 +00:00
Steve Lhomme 2d5c1f55e7 contrib: fxc2: don't build fxc2 by default
It will be pulled by Qt if needed.
2024-04-23 15:35:10 +00:00
Steve Lhomme 223fdb125a contrib: spirv-tools: remove this contrib
It's only used by qtshadertools/qsb to optimize the Vulkan output.
We do not use that on any platform for now.

Even when using Vulkan it's optional and will work without.
2024-04-23 13:05:38 +00:00
François Cartegnie 38c101e34b demux: mp4: fallback on timescale when rate is invalid
We could, but dont really want to patch audio rate from timescale,
as it could be meaningless for some codecs.

refs #28560
2024-04-23 11:21:16 +00:00
Steve Lhomme ff1773cc4a codec: don't build modules that only contain audio encoders if sout is disabled
This is already the case for many of them.
2024-04-23 09:15:06 +00:00
Steve Lhomme a264d13638 codec: don't build modules that only contain video encoders if sout is disabled
This is already the case for many of them.
2024-04-23 09:15:06 +00:00
Steve Lhomme 90cdc59297 mft: disable audio/video encoders if sout is disabled 2024-04-23 09:15:06 +00:00
Steve Lhomme bf4345376c dmo: disable audio/video encoders if sout is disabled 2024-04-23 09:15:06 +00:00
Steve Lhomme eab6de4d92 omxil: disable video encoder if sout is disabled 2024-04-23 09:15:06 +00:00
Steve Lhomme 329fc1bbff jpeg: disable video encoder if sout is disabled 2024-04-23 09:15:06 +00:00
Steve Lhomme 70f449941a png: disable video encoder if sout is disabled 2024-04-23 09:15:06 +00:00
Steve Lhomme ecb7a61e6b schroedinger: disable video encoder if sout is disabled 2024-04-23 09:15:06 +00:00
Prince Gupta dfc16c8578 qt: fix identation in mlalbumtrack 2024-04-23 06:26:28 +00:00
Prince Gupta 1e863d03c2 qt: remove unused member variable from MLAlbumTrack 2024-04-23 06:26:28 +00:00
Prince Gupta 7849c1d9a5 qt: remove unused includes and defines from mlalbumtrack.hpp 2024-04-23 06:26:28 +00:00
Prince Gupta 5a4a20f83f qt: don't inherit from QObject in MLAlbumTrack 2024-04-23 06:26:28 +00:00