Steve Lhomme
78f68d45af
contrib: qt: always build in release mode and use symbols only with PDB
2024-04-16 10:34:34 +00:00
Steve Lhomme
89fe89ee75
contrib: don't set the build mode in the toolchain file
...
It doesn't describe the toolchain we use. We can pass the value as a regular flag.
2024-04-16 10:34:34 +00:00
Steve Lhomme
58c60d1397
extras: wasm: show the list of contrib packages before building
...
This is done in the other contribs. It helps figuring out what is built in one
place and also what is pulled as a dependency.
The last remaining build script not to do it is Android but there's a
pending patch: https://code.videolan.org/videolan/libvlcjni/-/merge_requests/88
2024-04-16 06:43:29 +00:00
Alexandre Janniaux
c1b91b1e39
input: move item parse to its own file
...
Input item parsing depends on other components and exposes its own new
objects so separate it from the main input.c file to ease compilation
with tests.
2024-04-15 06:34:38 +00:00
Alexandre Janniaux
b0b5f69347
input: move input_source_t to its own files
...
input_source_t doesn't depend on anything, so it can be moved to its own
files so that it can be included in tests without using input.c also.
2024-04-15 06:34:38 +00:00
Steve Lhomme
65b813712c
display: remove redundant VOUT_DISPLAY_CHANGE_DISPLAY_FILLED
...
If the display filling mode of the video changed, the video placement has changed as well.
Display modules don't actually care about the aspect ratio, just where they're supposed to stretch the video.
2024-04-15 05:51:40 +00:00
Steve Lhomme
0c10d95148
display: remove redundant VOUT_DISPLAY_CHANGE_ZOOM
...
If the zoom of the video changed, the video placement has changed as well.
Display modules don't actually care about the aspect ratio, just where they're supposed to stretch the video.
2024-04-15 05:51:40 +00:00
Steve Lhomme
4ab62d06f8
display: notify display modules when the picture placement changed
...
In many cases that's what they really care about. Not the display size or display filled value.
2024-04-15 05:51:40 +00:00
Steve Lhomme
1c46d14f70
display: keep the video placement internally
2024-04-15 05:51:40 +00:00
Steve Lhomme
ffd9f613a7
libvlc: add API to get/set the video fit mode
2024-04-15 05:27:09 +00:00
Steve Lhomme
dfdc613df5
vout: update the display fit dynamically
2024-04-15 05:27:09 +00:00
Fatih Uzunoglu
dface0a07e
qt: check for QmlWorkerScript in meson
...
Qt QML does not work without it.
2024-04-14 16:04:42 +00:00
Thomas Guillem
d221a4a4db
player: don't add npt to input times
...
The player timer will handle it.
Fixes #26609
2024-04-14 12:19:45 +00:00
Thomas Guillem
acf833a655
player: timer: don't update BestSource when stopping
...
This will prevent to send updates after the last discontinuity (when the output
is deleted) from other ES sources.
This could happen with a high CPU load:
timer: update: source: audio/0, ts: 197001 npt: 1
timer: update: source: audio/0, ts: 198001 npt: 1
timer: update: source: audio/0, ts: 199001 npt: 1
timer: discontinuity: source: input
timer: discontinuity: source: audio/0
timer: update: source: video/0, ts: 191660 npt: 1
timer: discontinuity: source: video/0
Refs #26609
2024-04-14 12:19:45 +00:00
Thomas Guillem
1c5d699800
player: timer: split vlc_player_UpdateTimer
...
In 2 functions: vlc_player_UpdateTimerBestSource and
vlc_player_UpdateTimerSmpteSource.
No functional changes.
2024-04-14 12:19:45 +00:00
Thomas Guillem
b685494e9e
player: timer: assert the state is handled
2024-04-14 12:19:45 +00:00
Thomas Guillem
55c2b8a807
test: player: set pts_delay to the length of the test
...
This will prevent a RESET_PCR and ensure we receive all outputs points.
Refs #26609
2024-04-14 12:19:45 +00:00
Thomas Guillem
c2429632e4
test: player: add pts_delay in struct media_params
...
Refs #26609
2024-04-14 12:19:45 +00:00
Steve Lhomme
e64f5d7cc3
contrib: vulkan-headers: fix detection
2024-04-14 07:11:12 +00:00
Steve Lhomme
34c2fd1cbc
contrib: set the NDK path to Vulkan headers
...
They are not guessed by libplacebo which includes extensions not found in the
prebuilt vulkan headers, but are found in that location.
2024-04-14 07:11:12 +00:00
Steve Lhomme
dbc272a9e6
contrib: put the Android NDK, ABI and API in the CMake toolchain
...
This is what the documentation says we should use [1].
[1] https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html#cross-compiling-for-android-with-the-ndk
2024-04-14 07:11:12 +00:00
Steve Lhomme
b0d6f9ad54
contrib: libplacebo: try to use the NDK vulkan registry
2024-04-14 07:11:12 +00:00
Steve Lhomme
c86ce345ef
libplacebo: don't force the vulkan registry location
...
Since 19aee6c4b40724527bce1ff88fcfaa06c61bea79 it looks in 'prefix'/'datadir'
which should correspond to our PREFIX/share.
2024-04-14 07:11:12 +00:00
Steve Lhomme
6a3d4a3614
contrib: live555: always apply android patches
...
They are checking for __ANDROID__ so can be used in all sources.
2024-04-14 07:11:12 +00:00
Alexandre Janniaux
e07f88d722
contrib: taglib: bump to 2.0.1
...
Release note: https://github.com/taglib/taglib/releases/tag/v2.0.1
Mostly bugfixing.
2024-04-14 04:48:06 +00:00
Prince Gupta
35210a54fb
qml: don't cache large medialibrary covers
...
don't cache large media covers of GridItem to save on memory
prioritize caching small and frequently used images like 'fallbackImage'
2024-04-13 16:28:40 +00:00
Prince Gupta
41d61e8d10
qml: expose image cache property from GridItem
2024-04-13 16:28:40 +00:00
Pierre Lamot
3144941432
qt: add cache property to RoundImage
2024-04-13 16:28:40 +00:00
Fatih Uzunoglu
d28d827465
qml: fix binding not restored with Qt 6 in PlayButton
2024-04-13 15:38:41 +00:00
Fatih Uzunoglu
9dc558a2f3
qml: fix todo in ScaledImage
2024-04-13 14:34:59 +00:00
Fatih Uzunoglu
300b3b9c84
qml: use `itemAtIndex()` in FadingEdgeForListView
2024-04-13 14:34:59 +00:00
Fatih Uzunoglu
17b6c1552b
qml: use inline component in FadingEdge
2024-04-13 14:34:59 +00:00
Fatih Uzunoglu
0a71209fa5
qml: use Binding in ViewDragAutoScrollHandler
2024-04-13 14:34:59 +00:00
Fatih Uzunoglu
3b27d6fc93
qml: fix QTBUG-66475 in PlaylistListView
2024-04-13 14:34:59 +00:00
Fatih Uzunoglu
822dc7c80c
qml: use transientParent in PlaylistDetachedWindow
2024-04-13 14:34:59 +00:00
Fatih Uzunoglu
6233126bfc
qml: use inline component in PlayButton
2024-04-13 14:34:59 +00:00
Fatih Uzunoglu
f17fe8e429
Revert "qt: workaround for type conversion to QVector<MLItemId> doesn't occur with Qt 5.12"
...
This reverts commit 23e220abf8
.
2024-04-13 14:34:59 +00:00
Fatih Uzunoglu
839924f737
qt: use const reference in medialib.cpp
2024-04-13 14:34:59 +00:00
Fatih Uzunoglu
6a9b9ba244
qt: remove obsolete version check in EffectsImageProvider
2024-04-13 14:34:59 +00:00
Fatih Uzunoglu
13531ab291
qt: remove obsolete version check in qt.cpp
2024-04-13 14:34:59 +00:00
Fatih Uzunoglu
32acb33e4f
qt: remove obsolete version check in VideoSurface
2024-04-13 14:34:59 +00:00
Fatih Uzunoglu
5d93898cf5
qt: remove obsolete version check in mainctx_win32
2024-04-13 14:34:59 +00:00
Fatih Uzunoglu
93aa095006
qt: remove obsolete version check in compositor_win7
2024-04-13 14:34:59 +00:00
Fatih Uzunoglu
f7d6216fb1
qt: remove obsolete version check in compositor_dcomp_acrylicsurface
2024-04-13 14:34:59 +00:00
Fatih Uzunoglu
ded679b49d
qt: remove obsolete version check in ControlbarProfileModel
2024-04-13 14:34:59 +00:00
Fatih Uzunoglu
b2ebdeca17
qt: remove obsolete version check for Q_MOC_INCLUDE
2024-04-13 14:34:59 +00:00
Pierre Lamot
04a49bff37
qml: use nullish coalescence and optional chaining to simplify conditions
...
optional chaining was introduced in 6.2
nullish coalescence was introduced in 5.15
no functional changes
2024-04-13 13:02:12 +00:00
Steve Lhomme
e50ca0c0b4
contrib: zlib: disable --version-script on static libraries
...
According to the documentation it's only useful for shared libraries.
With recent Android NDK this leads to linking issues with gz_intmax
In autotools it's only set with LDSHARED.
https://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_chapter/ld_3.html
2024-04-13 11:33:53 +00:00
Fatih Uzunoglu
0a0bfaa34c
qml: expand playlist button drag&drop functionality to playlist window
2024-04-13 10:05:46 +00:00
Fatih Uzunoglu
b425a305a9
qml: use loader for maindisplay playlist
2024-04-13 10:05:46 +00:00