Steve Lhomme
95c7c1b574
bootstrap: use our config.guess to reconf VLC
2 years ago
Steve Lhomme
980c20db7f
contrib: use our custom config.guess if it's present
When it's not forced to be created we may need to check
if the timestamp is older or not.
2 years ago
Steve Lhomme
3732bf36dc
tools: install config.guess/sub in a dummy autoconf folder
Rather than automake.
config.guess/sub are installed by autoreconf --install --force, not because of automake.
2 years ago
Steve Lhomme
591fb8859d
tools: copy the local config.guess in automake/autotools
If it exists.
2 years ago
Steve Lhomme
ef36847caa
tools: get the latest config.guess/config.sub and patch to support arm64_32
It's updated independently from automake which we use to pick a recent enough version.
The fake automake path is to fool the contribs in using that one prioritarily.
2 years ago
Alexandre Janniaux
bcd7d4ef4f
doc: standalone: add documentation around rust bindings
Add a standalone documentation page on doxygen to reference how to
create new crates for the core Rust bindings and new modules in Rust.
The documentation is written on the latest changes made to merge the
implementation and might not be 100% matching with what's currently been
merged.
2 years ago
Fatih Uzunoglu
062d5ba178
qt: support CSD shadows in compositor_wayland
2 years ago
Fatih Uzunoglu
0a47412299
qml: use `visualFocus` instead of `activeFocus` for auto text scrolling
2 years ago
Fatih Uzunoglu
611d55b9ea
qml: do not scroll text when hovered in TextAutoScroller
2 years ago
Fatih Uzunoglu
ecde657c33
qml: do not use tool tip in TextAutoScroller
Label by default should show the tool tip itself.
2 years ago
Fatih Uzunoglu
8a7e12c178
qt: correct respected verbosity levels for the filter rules
Although in Qt messages dialog level "2" corresponds to
debug level, in a general aspect "3" corresponds to debug.
Since we are using a non-Qt parameter "verbose" here to
probe the level, we should treat the levels as according
to the `vlc_log_type` enumeration.
2 years ago
Fatih Uzunoglu
46d9063b2e
qml: prevent unintentional background blending in player playqueue
2 years ago
Prince Gupta
5068b5ab6e
qml: show subtitle tracks for media in video expand panel
2 years ago
Prince Gupta
4c3494375e
qt: add subtitleDesc property to items of MLVideoModel
2 years ago
Prince Gupta
1a2e331545
qt: add subtitleDesc to mlvideo
2 years ago
Fatih Uzunoglu
7b2e9c21a0
qt: toggle pause on system tray icon middle click
2 years ago
Prince Gupta
c204057b11
qml: fix resize handle visible rect visible on small screen
2 years ago
Prince Gupta
fd1ceb2b96
qml: fix artist list background visible when artist list is not
2 years ago
Prince Gupta
a524b25673
qml: fix empty title in Music Album expand delegate
?? returns left side if left side is empty string
2 years ago
Dave Nicolson
106756a06c
macosx: Fix brief menu offset shift
2 years ago
Claudio Cambra
56f36896a1
macosx: Clearly define slider tick thickness in VLCLibraryUIUnits, don't use magic numbers
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
a09effb364
macosx: React to ab loop change notifications rather than querying player controller every draw iteration in VLCPlaybackProgressSliderCell
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
4c9417e7ef
macosx: Remove unused custom colouring attributes and procedures in playback progress slider
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
040d33379f
macosx: Rename VLCSlider to VLCPlaybackProgressSlider
Since it is only used for this purpose, rename more accurately
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
f79b89081e
macosx: Draw a and b position marks when A to B loop set
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
84e240fcd3
macosx: Add method to draw a tick mark at a given position on VLCSlider
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
8ac92701ff
macosx: Correctly initialise ab loop properties in player controller
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
cb5040d356
macosx: Expose AB loop times and positions in player controller when ab loop state changes
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
14b87f51f6
macosx: Reorder VLCSliderCell to match other classes with C-style callbacks into libvlc (e.g. VLCLibraryModel)
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
1bfb7fd6c3
macosx: Constify things in VLCSliderCell
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
913fa08bf1
macosx: Modernise VLCSlider and VLCSliderCell code
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Claudio Cambra
5bd5a7ed2d
libvlccore: Add missing vlc_player_GetAtoBLoop to libvlccore.sym
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Prince Gupta
78ea1cf970
qml: fix double click in video view
2 years ago
Thomas Guillem
ef75cfe777
aout: rework reset before aout->stop
An asynchronous timing report would fail/assert after a stream_Reset().
This issue was hidden since, most of the time, vlc_aout_stream_Flush()
is called before vlc_aout_stream_Delete() but there are some rare case
where vlc_aout_stream_Delete() is called without a flush.
2 years ago
Alexandre Janniaux
97e8fd1edb
src: rust: add Makefile.am for tests
Tests are sufficiently integrated into the automake test suite, and only
a few features are missing:
- Handling skipping and xfailing for rust tests.
- Reporting tests by category (lib, doctest, etc) and being able to
disable a category, there's currently not enough test to justify
this right now.
- Handling the incremental building of tests, which currently seems to
be triggered everytime.
2 years ago
Alexandre Janniaux
a29952aae0
src: Makefile.am: initialize TEST_EXTENSIONS
TEST_EXTENSIONS might be setup from different makefiles included, so it
must be defined first.
2 years ago
Alexandre Janniaux
7afc811f02
buildsystem: cargo-test: add cargo test driver
Cargo can output the test results as JSON when running with unstable
options. This script provides an automake test driver[^1] to run the
tests and gather the results in the automake test suite.
[^1]: https://www.gnu.org/software/automake/manual/html_node/Overview-of-Custom-Test-Drivers-Support.html
2 years ago
Alexandre Janniaux
7e6f57830a
src: Cargo.toml: fix warnings on workspace
Since we'll be using edition = "2021", and we have a virtual
workspace[^1], we need to specify the manifest resolver[^2].
Otherwise, cargo emits the following warning:
warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
See release note[^3] for details on how this resolver changes the way
features are selected for packages inside the workspace.
[^1]: https://doc.rust-lang.org/cargo/reference/workspaces.html#virtual-workspace
[^2]: https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html
[^3]: https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html#cargos-new-feature-resolver
2 years ago
Fatih Uzunoglu
7507ac72f4
qml: seek bar tool tip should be visible when dragging
2 years ago
Claudio Cambra
eba3a3710f
macosx: Fix tint on float on top button in main video view control bar when disabled
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2 years ago
Fatih Uzunoglu
07768349df
qt: mark `Compositor::setupVoutWindow()` as nodiscard
2 years ago
Fatih Uzunoglu
1ba3cfd638
qt: mark `Compositor::makeMainInterface()` as nodiscard
2 years ago
Fatih Uzunoglu
04118fbf79
qt: mark `Compositor::init()` as nodiscard
2 years ago
Fatih Uzunoglu
068bdc8554
qt: mark `MainUI::setup()` as nodiscard
2 years ago
Fatih Uzunoglu
46779bdbcd
qt: do not discard result of `MainUI::setup()` in compositor_dummy
Otherwise we can not achieve graceful failure.
2 years ago
Ilkka Ollakka
931e9f34ce
codec/demux: pump libavcodec/libavformat requirements
pump to ffmpeg 4.2
Debian stable is in 5.1-series and ubuntu Focal (20.04 LTS) is in 4.2 version
2 years ago
Steve Lhomme
3ae93ce884
configure: enable VDPAU if libavcodec has been found
`enable_avcodec` is set to "no" if the pkg-config check above fails.
And the version we check is higher than the previous requirement
(57.37.100 vs 56.19.100)
2 years ago
Steve Lhomme
f237155887
avcodec: fix libavutil version check for AVFrame.ch_layout
It was added in db6efa1815e217ed76f39aee8b15ee5c64698537 which
was libavutil 57.23.100 at the time but the minor version was not updated in
that commit so we check 57.24.100.
This is part of FFmpeg 5.1.
db6efa1815
2 years ago
Steve Lhomme
8fd918b878
avcodec: fix libavcodec version check for AVCodecContext.ch_layout
It was added in 548aeb93834b8425c86d1ce60fddc1d41805724d which
was libavcodec 59.23.100 at the time but the minor version was not updated in
that commit so we check 59.24.100.
This is part of FFmpeg 5.1.
548aeb9383
Co-authored-by: François Cartegnie <fcvlcdev@free.fr>
2 years ago
Steve Lhomme
597bdb8e07
avcodec: fix libavcodec version check for AVCodecParameters.ch_layout
It was added in 276c06726fbd2f784d51189870bd834e9284812f which
was libavcodec 59.23.100 at the time but the minor version was not updated in
that commit so we check 59.24.100.
This is part of FFmpeg 5.1.
It was erroneously removed in a55ec32ab3 .
276c06726f
Co-authored-by: François Cartegnie <fcvlcdev@free.fr>
2 years ago