1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-04 09:11:33 +02:00
Commit Graph

92221 Commits

Author SHA1 Message Date
Prince Gupta
edecde7b0e qml: fix mouse selection not working in default column in table view
don't capture mouse clicks in hoverhandler of default col delegate

fixup e2440608e0
2022-04-02 09:13:11 +00:00
Fatih Uzunoglu
4333661cdf qt: remove unnecessary member in RoundImage 2022-04-01 12:24:27 +00:00
Fatih Uzunoglu
88c518596b qt: remove getPath() from RoundImage 2022-04-01 12:24:27 +00:00
Fatih Uzunoglu
38c2a7ecbf qt: avoid explicit QPainter calls in RoundImage 2022-04-01 12:24:27 +00:00
Fatih Uzunoglu
9cbeacfcf7 qt: handle case when radius is 0 in RoundImage 2022-04-01 12:24:27 +00:00
Fatih Uzunoglu
f2df0011a4 qt: prefer Format_ARGB32_Premultiplied to Format_ARGB32 in RoundImage 2022-04-01 12:24:27 +00:00
Benjamin Arnaud
7ab09b01b3 qml/ControlbarControls: Add BOOKMARK_BUTTON 2022-04-01 09:52:14 +00:00
Benjamin Arnaud
6074a42931 qml/controlbarcontrols: Create BookmarkButton 2022-04-01 09:52:14 +00:00
Benjamin Arnaud
cc16cb9b1e qt/BookmarkMenu: Update to ListMenuHelper implementation 2022-04-01 09:52:14 +00:00
Benjamin Arnaud
c58c340df5 qt/qml_menu_wrapper: Create QmlBookmarkMenu 2022-04-01 09:52:14 +00:00
Benjamin Arnaud
b4ad095f39 qt/player_controller: Add the 'getPlayer' function 2022-04-01 09:52:14 +00:00
Benjamin Arnaud
cd3dfa4e69 qt/custom_menus: Create ListMenuHelper
Co-authored-by: Pierre Lamot <pierre@videolabs.io>
2022-04-01 09:52:14 +00:00
Benjamin Arnaud
1f61542b5f qt/pixmaps/toolbar: Add bookmark icon 2022-04-01 09:52:14 +00:00
Steve Lhomme
bd124a4147 modules: remove unneeded vlc_fixups.h include
It's already included by config.h
2022-03-31 13:36:40 +00:00
Romain Vimont
25d66728eb opengl: simplify swizzle
The commit ca7d2ea4b6 introduced an xyzw
swizzle, whereas the previous code was using an rgba swizzle. No other
location used the xyzw swizzle for texture so unify and use rgba
everywhere.

Different version from aa5bec3b49
2022-03-31 13:21:02 +00:00
Alexandre Janniaux
802f36cf10 Revert "opengl: fix swizzle"
GL_LUMINANCE_ALPHA textures should be sampled through r and a swizzle
since it has a `(L,L,L,A)` layout.

This reverts commit 05f292874d.

Fixes #26767
Reintroduce #26735
2022-03-31 13:21:02 +00:00
Alexandre Janniaux
9251bc3480 Revert "opengl: simplify swizzle"
The swizzle of the texture should be different between
GL_LUMINANCE_ALPHA textures and GL_RG textures.

This reverts commit aa5bec3b49.

Refs #26767
2022-03-31 13:21:02 +00:00
Pierre Lamot
7e47fa5242 qt: add missing virtual destructor 2022-03-31 08:05:41 +00:00
Felix Paul Kühne
643fee9b6a upnp: implement IPv4 host IP lookup for AppleOS
This adds an additional info line to match the IPv6 implementation.
2022-03-30 18:28:33 +00:00
Prince Gupta
2c27f5e09e qml: use rounded values for position in NetworkThumbnailItem 2022-03-30 17:53:41 +00:00
Prince Gupta
af41ad1819 qml: fix warnings in NetworkCustomCover 2022-03-30 17:53:41 +00:00
Prince Gupta
c984a5946f qml: fix warnings in NetworkThumbnailItem 2022-03-30 17:53:41 +00:00
Prince Gupta
ff3174d926 qml: fix play cover position in network views
fixup 4e2f82386a
2022-03-30 17:53:41 +00:00
Lyndon Brown
11c4e593ce musicbrainz: fix wrong url
inconsistent with that used in `coverartarchive_make_releasegroup_arturl()`.

i believe that with-dash is likely the correct form, since firstly, that
function is actually used unlike this one, and this function was also
fundamentally broken before the previous commit. also secondly, the info
at [1] seems to indicate that with-dash is correct.

[1]: https://github.com/Borewit/musicbrainz-api
2022-03-30 09:38:26 +00:00
Lyndon Brown
4d81c81c7e musicbrainz: fix inverted logic
and fix leak with the corrected logic.
2022-03-30 09:38:26 +00:00
Thomas Guillem
aeedea5abf aout: dec: move volume configuration
volume is valid only if !bitexact.
2022-03-30 07:31:07 +00:00
Thomas Guillem
2fe7c0a33f aout: volume: move NULL check
It's really weird to call functions with a NULL pointer...
2022-03-30 07:31:07 +00:00
Thomas Guillem
8908b37393 aout: volume: specify the mem order
Relaxed because we don't need synchronisation with other variables.

gain_factor and output_factor are write from different threads, so a
sequentially consistent ordering won't help.
2022-03-30 07:31:07 +00:00
Thomas Guillem
4f5d476599 aout: volume: add missing atomic initialisation 2022-03-30 07:31:07 +00:00
Thomas Guillem
060a321d5c aout: volume: fix data-race
- output_factor is read from aout_volume_Amplify(), called from the
input/decoder.c DecoderThread.

 - output_factor is written from aout_volume_SetVolume(). It is either
   called  from the same thread via the start cb (OK in that case) or
   from any threads via the volume_set cb.
2022-03-30 07:31:07 +00:00
Rémi Denis-Courmont
b18dda3813 tick: remove timespec_from_vlc_tick() 2022-03-30 07:18:29 +00:00
Rémi Denis-Courmont
cd193332d9 src: use vlc_tick_to_timespec() 2022-03-30 07:18:29 +00:00
Rémi Denis-Courmont
7022895117 tick: add vlc_tick_to_timespec()
This is essentially the same as timespec_to_vlc_tick() but it does not
clobber the namespace, so it can be exported.
2022-03-30 07:18:29 +00:00
Hugo Beauzée-Luyssen
e2988d70a8 contrib: Bump faad2 to 2.10.0 2022-03-29 20:11:45 +00:00
Thomas Guillem
a6d4b81657 aout: move code in aout_Destroy 2022-03-29 17:54:51 +00:00
Thomas Guillem
53f79f015a aout: hide destroy
All aout users can trigger a destroy, when releasing, if the refcount
reaches 0.

This will allow having more than one aout users (stream from decoder.c),
for gapless and later for multiple streams playback. Indeed, you prefer
not to destroy the aout from one decoder, while used by another decoder.
2022-03-29 17:54:51 +00:00
Pierre Lamot
3f314c04fa qml: make the record button red and animate it
It is a common design language to have the record button red.

The animation provides a visual feedback when the user is currently recording.
2022-03-29 17:38:38 +00:00
Pierre Lamot
d4b33b6a7a qt: update record icon 2022-03-29 17:38:38 +00:00
Felix Paul Kühne
85357e2d60 contrib/gnutls: fix AArch64 build on appleOS
This introduces a patch to fix compilation on AArch64 on AppleOS, which
currently fails due to a compiler flag used by gnutls that is
unsupported by the latest version of clang (Apple clang version 13.1.6,
clang-1316.0.21.2) leading to a compiler crash if used.

This resolves the upstream tickets
https://gitlab.com/gnutls/gnutls/-/issues/1347 and
https://gitlab.com/gnutls/gnutls/-/issues/1317 for which the same patch
was already suggested.
2022-03-29 14:26:29 +00:00
Pierre Lamot
460cd3d442 qml: instantiate video models on demand
having the three models always present, means that the data (at least the first
chuck) is loaded 3 times, and will be reloaded 3 times every time a database
event triggers a refresh of the model.
2022-03-29 08:11:20 +00:00
Steve Lhomme
b700021569 configure: don't pass -gcodeview to the linker
CFLAGS is added to the linker flags and newer LLVM don't like that.
CPPFLAGS is used during C compilation and C++ but not added to LDFLAGS.
2022-03-28 08:13:09 +00:00
Hugo Beauzée-Luyssen
d43668b931 contrib: Bump medialibrary to 0.11.1 2022-03-27 18:03:56 +00:00
Hugo Beauzée-Luyssen
657a8352e6 contrib: medialibrary: Add missing crossfile.meson dependency 2022-03-27 18:03:56 +00:00
Rémi Denis-Courmont
7e30ed11be list: simplify iteration using typeof
The keyword is nominally from C23, but it has been supported by GCC and
Clang/LLVM for years.
2022-03-27 15:47:08 +00:00
Rémi Denis-Courmont
02a0e409e0 list: rectify Doxygen syntax 2022-03-27 15:47:08 +00:00
Steve Lhomme
1e0b78a970 ffmpeg: fix DXVA2/D3D11 crash on bogus references
Fixes #26738
2022-03-27 14:47:45 +00:00
Rémi Denis-Courmont
e2f5fd4a19 INSTALL: reconcile compiler req with NEWS 2022-03-27 14:28:17 +00:00
Hugo Beauzée-Luyssen
a598e4e570 tools: Require meson 0.56+
This is what the medialib now requires
2022-03-27 13:24:23 +00:00
Hugo Beauzée-Luyssen
b430590554 CI: Bump vlc-debian-win64 image tag 2022-03-27 13:24:23 +00:00
Pierre Lamot
4e67a7c03c qt: allow to detect moves in MLList cache
This remains is disabled by default, The extra cost isn't really worth it as
move operations originated from the database are very rare, move operations from
the user are usually handled "a priori".
2022-03-27 13:01:07 +00:00