Claudio Cambra
d4e35e4e9e
macosx: Set title view string when setting audio library segment
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
5e7ec1222a
macosx: Set recents segment for audio library carousel in stack view controller
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
c98184d133
macosx: Ad property to set audio library segment on audio carousel
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
3965487480
macosx: Add support for recent audio items in VLCLibraryAudioDataSource
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
e9d3e3ed97
macosx: Ensure recent audio items get updated on library update
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
50c67b969e
macosx: Add list of recent audio media to library model
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
adb58ead26
macosx: Use NSArray extension method to conver vlc_media_lust_t to nsarray
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
3285a0733d
macosx: Add extension method to get media item array from vlc_media_list_t
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
67318e8c21
macosx: Add NSArray starter extension file
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
fe33801cca
macosx: Instantiate recents audio carousel on stack view
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
647ada58fc
macosx: Make VLCLibraryHomeViewStackViewController fully container type agnostic
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
001923dc2b
macosx: Configure VLCLibraryHomeViewAudioCarouselContainerView
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
69c5761da3
macosx: Remove space before closing function bracket
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
29b0b80910
macosx: Ensure the data source for the base carousel container view is an iCarouselDataSource
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
62af841535
macosx: Add carouselView property and reload it as with other views in VLCLibraryAudioDataSource
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
28ba0148c7
macosx: Adapt audio data source to iCarousel data source protocol
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
025d710d8b
macosx: Subclass VLCLibraryHomeViewBaseCarouselView in VLCLibraryHomeViewVideoCarouselView, remove redundant functionality
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
5b4d770fa7
macosx: Move video container view protocol to home library
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
b09d9f3653
macosx: Implement video carousel video agnostic code in VLCLibraryHomeViewBaseCarouselContainerView
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
34290a3c29
macosx: Add base VLCLibraryHomeViewBaseCarouselContainerView
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
593d4e9548
macosx: Add starter VLCLibraryHomeViewAudioCarouselContainerView component
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
ab9d234a6b
macosx: Bring home view controller naming inline with other home view components
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
50db9d04a0
macosx: Move carousel view container to home view too
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
234da8ff64
macosx: Fix rebase issues with pbxproj file
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
9645085aa1
macosx: Move video container into home library folder, rename appropriately
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
81ad39139b
macosx: Use NSView<VLCLibraryHomeViewContainerView> in VLCLibraryHomeStackViewController
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
49ed42f573
macosx: Make VLCLibraryVideoCollectionViewContainerView conform to homeviewcontainerview
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
f11da4f35b
macosx: Add basic VLCLibraryHomeViewContainerView protocol
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
3d17671c1c
macosx: Rename and move video cvs stack view controller to home view stack view controller
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Rémi Denis-Courmont
7a970a3332
stdbit: fix std_bit_width*()
2 years ago
Rémi Denis-Courmont
623ee542ad
stdbit: factor stdc_count_zeros*()
No functional changes.
2 years ago
Rémi Denis-Courmont
1931ecd606
stdbit: factor stdc_first_trailing_zero*()
No functional changes.
2 years ago
Rémi Denis-Courmont
585c4f854c
stdbit: fix stdc_first_leading_*()
2 years ago
Alexandre Janniaux
a8e83b1b69
extras: tools: add .m4 dependency for .buildautoconf
Autoconf will require m4 to build correctly, and will complain with the
following error, at least starting with Autoconf 2.72, when the system
provided m4 is too old:
GNU M4 1.4.8 or later is required; 1.4.16 or newer is recommended.
GNU M4 1.4.15 uses a buggy replacement strstr on some systems.
Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug.
yes
checking whether stricmp is declared... make: *** [.buildautoconf] Error 1
make: *** Waiting for unfinished jobs....
Ensure that whenever we need to build m4, we build it before autoconf.
2 years ago
Pierre Lamot
3c622d4cc2
qt: reorder compositor definitions in Makefile.am
no functionnal changes
2 years ago
Pierre Lamot
9dc025d0f6
qt: add wayland support
fixes #22156
2 years ago
Pierre Lamot
a290285a2a
qt: don't include native interface headers using QPNI_HEADER macro
we have already fixed the private headers includes for QtQuick, this patch uses
the same mechanism
2 years ago
Pierre Lamot
8d9907bdef
qt: fix CompositorVideo interface release order
m_videoWindowHandler references the window, so it needs to be released before the
window is destroyed
2 years ago
Pierre Lamot
32836475cb
qml: fix video surface scaling
QWindow::devicePixelRatio mixes QPlateformWindow::devicePixelRatio (scale factor
from the plateform) and QHighDpiScaling::factor (QT_SCALE_FACTOR,
QT_SCREEN_SCALE_FACTORS). Platform such as wayland may have a >1 scale factor,
surface are directly scaled by the compositor, so we shouln't re-apply this
scale factor
2 years ago
Johannes Kauffmann
b2406ca91c
libaribcaption: scope structure members locally
With the exception of b_cfg_fadeout, these members were only used in
Open(). Thus, move them out of decoder_sys_t struct.
2 years ago
Johannes Kauffmann
afdfac2ebb
libaribcaption: scope psz_cfg_font_name locally
It's used only once in Open(), so move it out of decoder_sys_t struct.
This also moves the free() closer to where the variable is allocated.
2 years ago
Johannes Kauffmann
0413a69b21
libaribcaption: use ARRAY_SIZE
2 years ago
Johannes Kauffmann
cd3c1f6224
libaribcaption: remove unneeded strlen() check
var_InheritString() guarantees that, if the string returned is not NULL,
the string does not contain a NULL terminator as first character.
Checking for strlen() > 0 does the same as checking if the string
contains a NULL terminator as first character, because strlen() doesn't
count the NULL terminator. Thus, remove the unneeded check.
2 years ago
Johannes Kauffmann
849635ac1a
opencv_wrapper: scope psz_inner_name locally
psz_inner_name was only used in Create(), thus move it out of
filter_sys_t struct. This also moves the free() closer to where the
variable is allocated.
2 years ago
Rémi Denis-Courmont
8d5dfed586
udisks: fix off-by-one
Refs #28486 .
2 years ago
Jeffrey Knockel
e44289cab9
egl/xcb: create window with EGL config's visual
Previously we unconditionally created the EGL output window with the
visual of its screen's root window. However, this visual does not
necessarily match the visual of our chosen EGL config.
2 years ago
Jeffrey Knockel
05606bdfe6
egl/x11: create window with EGL config's visual
Previously we unconditionally created the EGL output window with the
visual of its screen's root window. However, this visual does not
necessarily match the visual of our chosen EGL config.
2 years ago
Jeffrey Knockel
5d19dd4159
egl/xcb: move window creation to CreateSurface()
This is a non-functional change so that we can facilitate creating the
window with the EGL config's visual in the future.
2 years ago
Jeffrey Knockel
6f38082e5f
egl/x11: move window creation to CreateSurface()
This is a non-functional change so that we can facilitate creating the
window with the EGL config's visual in the future.
2 years ago
Thomas Guillem
d55aa4e741
cache_block: remove module
And use cache_read instead, cf. previous commit.
Furthermore, there is only one access module: vcd, that could use
cache_block since slow block based accesses will use prefetch.
Fixes #28484
2 years ago