Commit Graph

104981 Commits

Author SHA1 Message Date
Claudio Cambra
2a926d8857 macosx: Update artwork button enabled state when disabling video playback view mode in library window
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-14 05:53:41 +00:00
Claudio Cambra
673bca5fe8 macosx: Disable artwork button in main library window controls bar if PIP is open
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-14 05:53:41 +00:00
Claudio Cambra
ec96e81651 macosx: Extract artwork button enablement state update into own method in library window
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-14 05:53:41 +00:00
Claudio Cambra
a88028f8f0 macosx: Use pipIsActive to check if pip is active when opening pip
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-14 05:53:41 +00:00
Claudio Cambra
97421017ce macosx: Add pipIsActive property to main video view controller
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-14 05:53:41 +00:00
Fatih Uzunoglu
90558b4abc qml: correct the anchoring logic in Player.qml
The video or the background should use all of the
available area unless the control bar is pinned
AND there is embedded video.
2024-11-13 18:58:09 +00:00
Thomas Guillem
2ef22bd1df pipewire: ensure passthrough is possible 2024-11-13 18:31:21 +00:00
Thomas Guillem
a2bce71aee pipewire: fix pw_stream_get_state() not returning an error
This happens when playing passthrough with a faulty driver, but it may
happen in other cases too.
2024-11-13 18:31:21 +00:00
Thomas Guillem
dbf3c1067b pipewire: add a function to get the stream state
Will be needed by the next commit.
2024-11-13 18:31:21 +00:00
Thomas Guillem
944f015842 pulse: allow to force pulse if pw is present 2024-11-13 18:31:21 +00:00
Rémi Denis-Courmont
d748929672 pulse: fail if the server is Pipewire
Some distributions allow installing both Pipewire and PulseAudio, leaving
Pipewire to manage only video devices.

On one hand, if we leave the Pipewire output with higher priority, then we
do not get access to any audio output device in this case. On the other hand,
if we simply probe the PulseAudio output first, then we will never use the
native Pipewire protocol, even if the PulseAudio service is not actually
running, since Pipewire emulates PulseAudio.

So this checks the name of the PulseAudio daemon, and uses the PulseAudio
protocol if and only if the server is not Pipewire.
2024-11-13 18:31:21 +00:00
Thomas Guillem
0d323b50d7 pipewire: send timing reports earlier
The timing can now be sent just after pw is starting, the timing
audio_ts will very likely be VLC_TICK_0 (or first_pts).

This fixes video glitches on startup.
2024-11-13 18:31:21 +00:00
Thomas Guillem
98126b07ee pipewire: initialize next_update to 0
VLC_TICK_O to avoid a possible miss if now is few us before (unlikely).
2024-11-13 18:31:21 +00:00
Thomas Guillem
1cb2b91abb pipewire: ensure the first_pts is valid before sending timings 2024-11-13 18:31:21 +00:00
Thomas Guillem
e2ff931788 pipewire: use the last date for startup
This is mainly useful when using the input clock, when the startup date
may change at the beginning.
2024-11-13 18:31:21 +00:00
Thomas Guillem
0364264f78 pipewire: use pw_stream_get_nsec()
And set now inside stream_update_latency() since the call must be closed
to pw_stream_get_time_n().
2024-11-13 18:31:21 +00:00
Denis Charmet
b1d125409c pipewire: switch from time_get to aout_TimingReport 2024-11-13 18:31:21 +00:00
Ayush Dey
ff7ddd8bb6 pipewire: add pass-through support 2024-11-13 18:31:21 +00:00
Rémi Denis-Courmont
f083c454df pipewire: set application properties 2024-11-13 18:31:21 +00:00
Rémi Denis-Courmont
f1ab721b0f pipewire: initial audio output module 2024-11-13 18:31:21 +00:00
Rémi Denis-Courmont
9ec7e06a88 pipewire: add common helper code 2024-11-13 18:31:21 +00:00
Alaric Senat
933ecc78a1 libvlc: preparser: stop ignoring wrong end status codes
Unexpected status codes sent to the event handler should be treated as a
programming mistake and not silently ignored.
2024-11-13 18:05:12 +00:00
Alaric Senat
90c01a3a9b libvlc: preparser: signal cancellation
This is in the continuity of aad952ea38.

The previous commit added an internal error code for preparsing
cancellation that wasn't handled in libvlc, the API stopped reporting
preparsing termination, which resulted in a medialibrary regression.

Previously, the cancellation was reported as a timeout event which is
misleading. This patch introduces a new status code to properly match
libvlc's internals.
2024-11-13 18:05:12 +00:00
Hugo Carvalho
927a3035cb Update AUTHORS
Add Portuguese translator
2024-11-13 17:24:54 +00:00
Fatih Uzunoglu
ee78d290f1 qml: make playlist tool bar buttons focusable
These were made explicitly unfocusable due to
the existence of the overlay menu. However,
the overlay menu is no more, so the buttons
should be able to gain focus.
2024-11-13 16:10:58 +00:00
Fatih Uzunoglu
cbc4d43a04 qt: do not indicate status in checkable action text in VLCMenuBar::PopupMenu() 2024-11-13 14:17:47 +00:00
Fatih Uzunoglu
4d30f0d5ae qt: do not use qmodernwindowsstyle plugin if qt version is less than 6.7.0
QModernWindowsStyle is a replacement for QWindowsVistaStyle starting with
Qt 6.7.0.
2024-11-13 13:33:18 +00:00
Steve Lhomme
90f06dc9f2 packetizer: fix bogus format for pointer difference
Use the same cast as below.

Co-authored-by: Alexandre Janniaux <ajanni@videolabs.io>
2024-11-13 10:54:10 +00:00
Martin Storsjö
44710998f5 contrib: ass: Apply a patch to fix aarch64 assembly issues
This fixes building for aarch64 Windows with assert enabled versions
of Clang. (This issue appeared recently, after updating to a newer
version of libass that includes new aarch64 assembly.)

The same patch has been sent upstream in
https://github.com/libass/libass/pull/849.
2024-11-13 08:28:45 +00:00
Steve Lhomme
13237cdf51 meson: only check sockaddr_storage one per platforms
The headers are not the same for _WIN32 and other paltforms.
We only check once, as with autotools.
2024-11-13 07:58:44 +00:00
Steve Lhomme
ff134b5b56 meson: ss_family detection
It's a field of struct sockaddr_storage, not a structure.
Tie its existence to sockaddr_storage, just as in autotools.
2024-11-13 07:58:44 +00:00
Steve Lhomme
fc3b3344ca meson: always define _FILE_OFFSET_BITS to 64
As in autotools. It's not added to cdata, just as with autotools.
2024-11-13 07:58:44 +00:00
Steve Lhomme
720efbaee5 meson: quote the PACKAGE_VERSION_DEV define
as with autotools
2024-11-13 07:58:44 +00:00
Steve Lhomme
5008eaf8ce meson: add hxxhelper test decoder module 2024-11-13 07:58:44 +00:00
Steve Lhomme
5008feb314 meson: add hls stream output module 2024-11-13 07:58:44 +00:00
Steve Lhomme
ec77bbe543 meson: add muxer modules 2024-11-13 07:58:44 +00:00
Steve Lhomme
ba8fccf9b8 meson: create hxxxhelper_lib to share with other modules 2024-11-13 07:58:44 +00:00
Steve Lhomme
a96cd4b68a meson: enable code that relies on HAVE_CSS
ie codec/webvtt/subsvtt.c
2024-11-13 07:58:44 +00:00
Steve Lhomme
c9696e1c79 meson: match the VLC copyright year with autotools
2024 since 3a174676a3
2024-11-13 07:58:44 +00:00
Steve Lhomme
9a71793fa4 meson: add DShow access module
Co-authored-by: Alexandre Janniaux <ajanni@videolabs.io>
2024-11-13 07:58:44 +00:00
Steve Lhomme
f2456fd17d meson: add access_mms module
Co-authored-by: Alexandre Janniaux <ajanni@videolabs.io>
2024-11-13 07:58:44 +00:00
Steve Lhomme
3d956da0f4 meson: add SFTP module
Co-authored-by: Alexandre Janniaux <ajanni@videolabs.io>
2024-11-13 07:58:44 +00:00
Steve Lhomme
da039dcfbb meson: add speex codec
Co-authored-by: Alexandre Janniaux <ajanni@videolabs.io>
2024-11-13 07:58:44 +00:00
Steve Lhomme
652d7fe027 meson: add waveout module
Co-authored-by: Alexandre Janniaux <ajanni@videolabs.io>
2024-11-13 07:58:44 +00:00
Steve Lhomme
3416bca8f7 CI: update windows images with Qt 6.8.0 tools 2024-11-12 09:41:51 +00:00
Claudio Cambra
9533cf76e2 macosx: Remove deleted HUD file references in project.pbxproj
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-12 06:49:09 +00:00
Steve Lhomme
616d1a05b1 configure: enable large-address-aware on 32-bit Windows
This allows the GPU drivers to use more memory than a 32-bit app would use.
This should have no effect on a 32-bit Windows.

Fixes #28743
2024-11-11 18:11:30 +00:00
Steve Lhomme
e0cd2de6ca contrib: libass: update to 0.17.3 2024-11-11 12:50:56 +00:00
Claudio Cambra
cd890bb11f macosx: Remove images from outline view group items
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-11 12:11:02 +00:00
Claudio Cambra
e3823cce8f macosx: Ensure navbar visibility toggle is always visible in library window
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-11-11 12:11:02 +00:00