François Cartegnie
b84d09bd98
stream_extractor: store volumes in MRL fragments
3 years ago
François Cartegnie
e268271af8
src: input: split and store mrl components using a dedicated struct
3 years ago
François Cartegnie
62da0777ea
input: mrl_helper: fix array init/clean cycle
can't be delegated to callee
3 years ago
Steve Lhomme
d5d7cf93bc
es_format: fix description of chroma/multiview mode changing
3 years ago
François Cartegnie
d37896dd17
codec: videotoolbox: wait for allocatable slot only before enqueueing
Drain has already reserved slots
3 years ago
François Cartegnie
de9eac001a
packetizer: hevc: remove hevc_get_max_num_reorder
3 years ago
François Cartegnie
d9dc3f0ee3
codec: videotoolbox: use hevc_get_dpb_values
3 years ago
François Cartegnie
6c998a3635
packetizer: hevc: add hevc_get_dpb_values
3 years ago
Alaric Senat
8e97612b58
vlm: store player finished state in media
This patch stores the finished state in the media context of VLM
directly from the player callback.
The previous check on the player state to determine if the media was
played was insufficient. The player state can go quickly from
`VLC_PLAYER_STATE_STOPPING` to `VLC_PLAYER_STATE_STOPPED` and when it
reaches the `STOPPED` state there is basically no way to know if we are
in the initial state or if we actually finished playing a media.
This was causing a deadlock where the VLM thread loop kept thinking the
player was reset to its initial state and never switched to the next
media.
3 years ago
Romain Vimont
0ea08262c0
vlm: remove useless includes
6 years ago
Romain Vimont
bbef4e01c3
vlm: remove unnecessary vlc_object
A vlm_media_sys_t need not be a VLC object.
6 years ago
Romain Vimont
188f0d5b27
vlm: remove custom logger from media
No message is ever logged for a media.
6 years ago
Steve Lhomme
e957881f71
memstream: reset ptr on vlc_memstream_close() error
It's easier to spot of NULL pointer dereference than a use after free.
In the POSIX implementation [1] the status of the pointer is undefined on
error. In our implementation it's free'd.
In both cases it's better some to use that pointer value after exiting
vlc_memstream_close().
[1] https://pubs.opengroup.org/onlinepubs/9699919799/functions/open_memstream.html
3 years ago
Steve Lhomme
2746c42e29
gl_util: free the source earlier
We don't need to wait when closing the memstream.
3 years ago
Steve Lhomme
6c9543c4d4
mrl_helpers: return the escaped string in mrl_EscapeFragmentIdentifier
We don't need an error code.
3 years ago
Steve Lhomme
e52cc89f80
modules: set VLC_MALLOC on strings allocated by a memstream
After vlc_memstream_close() the memstream cannot be used anymore.
3 years ago
Steve Lhomme
02b47bc2e4
core: set VLC_MALLOC on strings allocated by a memstream
After vlc_memstream_close() the memstream cannot be used anymore.
3 years ago
Steve Lhomme
a3749aa6a1
memstream: do nothing when writing a length of 0
3 years ago
Steve Lhomme
932a1c3e9c
webvtt: don't reset empty memstream pointer
The content is later used with vlc_memstream_write. Passing NULL is undefined.
On Windows it uses fwrite which doesn't allow passing NULL [1].
[1] https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/fwrite
3 years ago
Steve Lhomme
18b08d1e5c
win32/spawn: use a regular string for cmdline
We can handle the memstream locally and exit on error.
3 years ago
Steve Lhomme
b23c4e71f9
win32/spawn: use a regular string for application_name
We only need to free if it was not set to the path parameter.
3 years ago
Steve Lhomme
05761dd358
modules: fix vlc_memstream_close success checks
It doesn't return VLC_SUCCESS but 0 (even though it's the same thing).
3 years ago
Prince Gupta
1fa7526be4
qml: make search field width adaptable
3 years ago
Prince Gupta
e9c189c01d
qml: improve spacing in top banner
3 years ago
Fatih Uzunoglu
3aa2e0cd30
qt: reset invalid item loader when parent id changes in MLBaseModel
3 years ago
Steve Lhomme
ae4942ee29
text_renderer/svg: don't write text if XML was not converted properly
3 years ago
Fatih Uzunoglu
4feb0e3c2e
qml: do not cache artist banner image
3 years ago
Fatih Uzunoglu
597a2be401
qml: disable MainDisplay FrostedGlassEffect blending if background is opaque
3 years ago
Fatih Uzunoglu
ddb6a9daa2
qt: FrostedGlassEffect allow non-opaque bg, disable blending if bg is opaque
3 years ago
Fatih Uzunoglu
d4d2c619c0
qml: enable delayed bindings when the component is completed
3 years ago
Fatih Uzunoglu
3be2ea83b2
qml: major overhaul for player control layout
- Support dynamic width when center is not
available.
- Proper support for height adjustment
- Declarative approach
3 years ago
Fatih Uzunoglu
c2803be399
Revert "qml/ControlLayout: Add the 'contentWidth' property"
This reverts commit 9bea3945b1 .
3 years ago
Fatih Uzunoglu
55099e402a
Revert "qml/ControlLayout: Add the 'alignment' property"
This reverts commit a421045fd7 .
3 years ago
Fatih Uzunoglu
92ffca9b84
Revert "qml/ControlLayout: Add the 'count' alias"
This reverts commit 96e3f57302 .
3 years ago
Fatih Uzunoglu
4af07aead9
Revert "qml/ControlLayout: Update the 'implicitWidth' property"
This reverts commit 44bc4d84b5 .
3 years ago
Fatih Uzunoglu
979681c235
Revert "qml/ControlLayout: Add the 'preferredWidth' support"
This reverts commit 3efc5ce68f .
3 years ago
Fatih Uzunoglu
2bcc6e6357
Revert "qml/ArtworkInfoWidget: Add the 'preferredWidth' property"
This reverts commit aec938f083 .
3 years ago
Fatih Uzunoglu
848b6e216f
Revert "qml/PlayerControlLayout: Update resize and collpasing behavior"
This reverts commit a1f2bda77b .
3 years ago
Fatih Uzunoglu
70732cf365
Revert "qml/PlayerControlLayout: Update the 'layoutSpacing' property"
This reverts commit 72c34ac178 .
3 years ago
Thomas Guillem
10a4528c1e
adummy: implement pause
3 years ago
Thomas Guillem
f2245c9015
adummy: implement aout_TimingReport()
adummy is now the more precise aout module ;)
3 years ago
Thomas Guillem
49c9a0e5ae
adummy: remove unused define
3 years ago
Thomas Guillem
c156bbfdfb
test: player: add an aout module
In order to not rely on adummy behavior.
3 years ago
Thomas Guillem
db677b437c
mock: use 48khz as default audio rate
So that the requested audio_sample_length * rate / CLOCK_FREQ has more
change to be divisible. It's a not issue if that not the case, the
module will use its own sample_length near to the requested one.
3 years ago
Thomas Guillem
8605f410bb
vout_subpictures: lower warning to debug
This log can be systematic for each subtitle, depending on the input.
And spu rendering is working fine despite this warning.
3 years ago
Thomas Guillem
45788e9ea5
vout_subpictures: refactor common code
No functional changes.
3 years ago
Fatih Uzunoglu
6ab048bb1b
qml: allow dropping urls into playlists
3 years ago
Fatih Uzunoglu
8810b7cca1
qt: parse foreign items in MLPlaylistModel::insert()
3 years ago
Fatih Uzunoglu
e2d5314c39
qt: export `vlc::playlist::toMediaList()`
3 years ago
Fatih Uzunoglu
6f882e1255
qml: do not allow every drop in PlaylistListView
3 years ago