Steve Lhomme
b93fe566a9
demux/subtitles: set i_stop to VLC_TICK_INVALID when it's not known
This is the expected value in that case.
2 years ago
Steve Lhomme
b39d8e71fa
Revert "check the length is not VLC_TICK_INVALID explicitly"
This reverts commit 9143eafc85 ,
commit 382ede8976 ,
commit c76ae3ab5b ,
commit 70d55311e4 .
We want to check the length of 0 and not an invalid value.
2 years ago
Steve Lhomme
1a3cf7e6a0
subpicture: initialize i_stop to VLC_TICK_INVALID rather than 0
To match the documentation.
2 years ago
Vikram Kangotra
2e462c5062
extensions_manager: Introduce typed callbacks for extensions_manager
This commit introduces a typed virtual table for operations on
extensions_manager, aiming at replacing the legacy pf_control() callback
which is using va_list.
The operations can now be implemented directly by the modules, providing
type safety at every level.
When no operation is provided (i.e., extensions_manager_t.ops is NULL) by a
module implementation, the legacy pf_control will be used instead as a fallback.
2 years ago
Fatih Uzunoglu
d1e64ef25f
Revert "configure: detect private Qt6 Wayland Client using qmake"
This reverts commit e5546bc02d .
2 years ago
Fatih Uzunoglu
9f6afa3645
qt: do not use HAVE_QT_WAYLAND
2 years ago
Felix Paul Kühne
d7d6e1801e
AVAudioSession: set fixed spatial experience on visionOS
2 years ago
Felix Paul Kühne
6efd3de77b
AVAudioSession: enable for visionOS
This also enables spatial audio if requested by the user
2 years ago
Felix Paul Kühne
492a9419ce
avsamplebuffer: enable for visionOS
2 years ago
Fatih Uzunoglu
d08e446a0f
contrib: mingw64: update d3d12
Qt 6.7 requires[1] __ID3D12Device2_INTERFACE_DEFINED__
for d3d12 abstraction which comes with MinGW64 v12.
[1] qrhid3d12_p.h @ L32:
// ID3D12Device2 and ID3D12GraphicsCommandList1 and types and enums introduced
// with those are hard requirements now. These should be declared in any
// moderately recent d3d12.h, but if it is an SDK from before Windows 10
// version 1703 then these types could be missing. In the absence of other
// options, handle this by skipping all the code and making QRhi::create() fail
// in such builds.
2 years ago
Felix Paul Kühne
fd6fa7ac15
iosvlc: add support for visionOS
This enables the pinch gesture and solves a problem with UIScreen being
unavailable on this platform
2 years ago
Claudio Cambra
c27a4b9d5e
macosx: Do not show carousel buttons if only one item (or fewer)
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
3b5b3b5d72
macosx: Remove leading padding for carousel in carousel view
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
e057cefeb3
macosx: Update visibility of buttons depending on current button in carousel views
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
4a89acef95
macosx: Use circular buttons for carousel
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
cffaefbde7
macosx: Add padding between carousel items and leading button
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
bc3745c878
macosx: Improve left and right button sizing in carousel views
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
f0c23ce33a
macosx: Improve styling of left and right buttons in carousel view
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
2ec631c48d
macosx: Expose left and right buttons as properties of carousel view
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
9404a84207
macosx: Clean up instantiation of buttons and images in carousel view
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
5921d482ad
macosx: Make left and right buttons in carousel view functional
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
d8c777d285
macosx: Add clickable buttons for carousel base container view
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Steve Lhomme
25dfe4a2ef
configure: always use ws2_32 and iphlpapi for Windows networking
There is no reason to test connect is in some system library.
And the detection fails for mingw-12 UWP.
2 years ago
Steve Lhomme
73c858ddc1
vlc_fixups: remove old IN6_IS_ADDR_MULTICAST hack
The proper fix has been in mingw-w64 since version 6, which is our minimum.
4c2df0d02e
2 years ago
Steve Lhomme
81336965c6
contrib: mingw64: add missing header recently modified for UWP
2 years ago
Steve Lhomme
f814f06e5f
contrib: mingw64: update to version 12.0.0
2 years ago
Fatih Uzunoglu
fea49c4504
qml: use `paintedWidth` and `paintedHeight` in DoubleShadow
Unless clipping is enabled, `paintedWidth` and `paintedHeight`
provide more information on the actual region that the source
item rendered content.
These properties are provided in `QQuickImage`. However, it is
not necessary that the type is `QQuickImage`. We should respect
each type that provides such information.
2 years ago
Claudio Cambra
5b983caa8e
macosx: Fix indentation in VLCLibraryCollectionViewItem rightMouseDown
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
611c25effb
macosx: Fix selectability of library collection view items in library window XIB
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
86453a3c0a
macosx: Use XIBs as single source of truth on collection view selection settings
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
656d3dc6ac
macosx: Fix collapse of supplementary detail view when multiple collection view items deselected
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
4a7aa6cf47
macosx: Set multiple selection as allowed in library collection view's parent view controllers
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
a755063b43
macosx: Set multiple selection to YES in collection views in library window XIB
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
9b711f11af
macosx: If possible, set a collection view's selected items as the represented items for a right-clicked colllection view item's menu
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
0f9d3db04c
macosx: Add representedItemsAtIndexPaths method to VLCLibraryCollectionViewDataSource protocol
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
8880dcce1b
macosx: Replace deprecated NSControlKeyMask with NSEventModifierFlagControl in VLCLibraryCollectionViewItem
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
8fa287caeb
macosx: Deduplicate context menu setup and presentation in VLCLibraryCollectionViewItem
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
009960d468
macosx: Remove autoscroll and wrapping in home view carousels
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
fb29981a98
macosx: Fix reloadData breaking carousel item views in iCarousel
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Fatih Uzunoglu
05134504b0
qt: do not use double precision in settings
The docs state that:
> Note that INI files lose the distinction
between numeric data and the strings used
to encode them, so values written as numbers
shall be read back as QString. The numeric
value can be recovered using QString::toInt(),
QString::toDouble() and related functions.
Currently, double-precision numbers can not
be reconstructed properly due to QString's
way of handling dp numbers.
Since they are read back as QString, we
should save these numbers according to the
precision that QString is comfortable with,
so that they are parsed properly when the
application starts.
2 years ago
Fatih Uzunoglu
29cde5f95d
qml: make ArtworkInfoWidget draggable
Dragging this toolbar control is now
possible and is equivalent to dragging
the current playlist item.
2 years ago
Fatih Uzunoglu
0d83ffab77
qt: accept `PlaylistItem` in `vlc::playlist::toMediaList()`
2 years ago
Fatih Uzunoglu
95d26c79b9
qt: add `inputItem()` method to PlaylistItem
2 years ago
Prince Gupta
8fffc6e248
qml: remove unused params from itemDoubleClicked signal of GridItem
2 years ago
Prince Gupta
2d905951c8
qml: remove unused params from signal itemClicked of GridItem
2 years ago
Prince Gupta
3606e0c5ef
qml: only signal itemClicked on pressing left button in GridItem
2 years ago
Pierre Lamot
5afeb5aaef
qt: fix deadlock when quitting qt application with X11 compositor
Under some circumstances, the application won't close after a quit event.
Using an `exit` in `triggerQuit` callback ensure that the application won't
prevent the mainloop to quit. At this point, both the gui and vout are stopped
2 years ago
Pierre Lamot
65dc0343bf
qt: fix race condition when closing interface while video is opening with X11
2 years ago
Pierre Lamot
81a2cbc669
qt: fix out of bound checking of xcb properties
2 years ago
Pierre Lamot
eeea8ddeda
qt: fix freeze after minimizing window with X11 compositor
The expose event is emitted after a resize, thus this not necessary to monitor
width/height events on the main window
2 years ago