Thomas Guillem
64d7b7e65a
player: timer: do what the comment say
1/2 to fix spurious player pause test fail:
```
test_src_player_pause: ../../test/src/player/pause.c:97: test_pause: Assertion `paused_time == new_paused_time' failed.
```
This could happen after few seconds when running 100 pause tests in
parallel and with heavy CPU load
3 months ago
Thomas Guillem
efd0465db4
test: player: pause: fix data-race
Return a copy of the report_timer.
3 months ago
Thomas Guillem
ec162e440d
test: player: pause: use wait_state helper
3 months ago
Steve Lhomme
5dd32a7e17
mediacodec: remove empty symbol loading
All the NDK API we use can be called directly from since API 21.
3 months ago
Steve Lhomme
ef7f67ad1d
mediacodec: call all AMediaCodec_xxx() API's directly
They are all available in API 21, which is our minimum.
- https://developer.android.com/ndk/reference/group/media#amediacodec_createcodecbyname
- https://developer.android.com/ndk/reference/group/media#amediacodec_configure
- https://developer.android.com/ndk/reference/group/media#amediacodec_start
- https://developer.android.com/ndk/reference/group/media#amediacodec_stop
- https://developer.android.com/ndk/reference/group/media#amediacodec_flush
- https://developer.android.com/ndk/reference/group/media#amediacodec_delete
- https://developer.android.com/ndk/reference/group/media#amediacodec_getoutputformat
- https://developer.android.com/ndk/reference/group/media#amediacodec_dequeueinputbuffer
- https://developer.android.com/ndk/reference/group/media#amediacodec_getinputbuffer
- https://developer.android.com/ndk/reference/group/media#amediacodec_queueinputbuffer
- https://developer.android.com/ndk/reference/group/media#amediacodec_dequeueoutputbuffer
- https://developer.android.com/ndk/reference/group/media#amediacodec_getoutputbuffer
- https://developer.android.com/ndk/reference/group/media#amediacodec_releaseoutputbuffer
- https://developer.android.com/ndk/reference/group/media#amediacodec_releaseoutputbufferattime
3 months ago
Steve Lhomme
114172996a
mediacodec: call all AMediaFormat_xxx() API' directly
They are all available in API 21, which is our minimum.
- https://developer.android.com/ndk/reference/group/media#amediaformat_new
- https://developer.android.com/ndk/reference/group/media#amediaformat_delete
- https://developer.android.com/ndk/reference/group/media#amediaformat_setstring
- https://developer.android.com/ndk/reference/group/media#amediaformat_setint32
- https://developer.android.com/ndk/reference/group/media#amediaformat_getint32
3 months ago
Steve Lhomme
c721c121ea
mediacodec: remove stray undef
Each OFF define is matched with an undef
3 months ago
Steve Lhomme
bae5c5e703
mediacodec: remove write-only set_output_surface callback
We don't call it anymore even in VLC 3.
3 months ago
Steve Lhomme
4aab736bff
contrib: protobuf: don't use a dummy CMake function to disable protoc installation
It's properly handled by -Dprotobuf_BUILD_PROTOC_BINARIES=OFF.
3 months ago
KO Myung-Hun
12a457331a
extra/tools/bootstrap: raise the minimum version of meson to 1.10.0
OS/2 build requires 'shortname' kwarg which has been introduced since
1.10.0.
3 months ago
KO Myung-Hun
308e07dc59
extra/tools: bump meson to 1.10.0
3 months ago
Steve Lhomme
53ed98bf5e
uwp: do not link with windowsappcompat anymore
All contribs and VLC code have been cleaned to over time to only use proper
API calls available in UWP.
3 months ago
Tristan Matthews
16acbfc3b1
contrib: update to opus 1.6.1
"Opus 1.6.1 fixes several minor issues that were discovered since the 1.6 release."
3 months ago
Steve Lhomme
91af5355f4
contrib: chromaprint: fix build with FFmpeg 4.2 to 5.0
tx.h exists but not AV_TX_FLOAT_RDFT
3 months ago
Steve Lhomme
0839dfdccb
contrib: projectM: really support CMake 4
We need to patch the CMakeLists.txt to disable CMP0005
3 months ago
Steve Lhomme
7011ef67d6
contrib: regex: remove package not built by default
It was only built because of cddb.
2 years ago
Steve Lhomme
2842f532ca
contrib: cddb: remove cddb package
The CDDB databse from freedb.videolan.org doesn't reply anymore (due to
MusicBrainz ?). freedb.org is dead and gnudb.org is empty.
CDDB was a fallback in case the MusicBrainz query didn't find any match but
we're just waiting time doing a query that will never provide any good answer
anymore.
5 years ago
Steve Lhomme
9a8914c417
access: cdda: remove CDDB support
The CDDB databse from freedb.videolan.org doesn't reply anymore (due to
MusicBrainz ?). freedb.org is dead and gnudb.org is empty.
We still have MusicBrainz which is better.
The one reason it may still work for some is that they run their own server.
And the CDs they have are not found in MusicBrainz.
4 years ago
Steve Lhomme
07a2ad663d
demux: mp4: avoid using sbgp if *pi_sync_sample was not modified
*pi_sync_sample can never be modified in that code block if *pi_sync_sample == i_sample.
No need to set the return value as we can only get in this block if the previous one was successful.
8 months ago
Dave Nicolson
79d46d8db0
macosx: Fix crash when clearing play queue
3 months ago
Ayush Dey
5dcb07bec5
preparser: release preparser request on early return
3 months ago
Mathias APARICIO
dd07a8119c
stats: fix possible NULL deref
block_Alloc may return NULL.
Check the return value to prevent a NULL dereference.
Fixes Coverity 1665660
3 months ago
Dave Nicolson
647da9b19f
macosx: Fix crash when clicking "Streams"
3 months ago
Steve Lhomme
b74efdfbd0
contrib: libxml2: update to 2.15.1
Some options are gone. Some options are off by default.
And we don't need the debug API.
3 months ago
François Cartegnie
1857cf2ceb
demux: mp4: check raw audio channels count
refs #29540
3 months ago
François Cartegnie
96b2c98a51
demux: aiff: fix meta cleanup on probing failure
refs #29538
3 months ago
Steve Lhomme
5987928ee1
contrib: force Werror=partial-availability in CMake required flags
This will pass the flag in CMake check_symbol_exists(), check_source_compiles(), etc.
Otherwise we don't detect API availability properly during configuration.
3 months ago
Gabriel Lafond-Thenaille
2cb0871461
test: preparser: add test for the preparser with external process
1 year ago
Gabriel Lafond Thenaille
f8567fbe7e
preparser: use the external preparser
* Use the external preparser in the playlist and in the medialib.
11 months ago
Gabriel Lafond-Thenaille
6d033e3d5e
preparser: add the possibility to preparse on an external process
* Add a new backend to preform preparsing by sending preparser request
to an external process and wait for the preparsed media in a
preparser responce format.
* Use the new preparser with external process inside the playlist and
the medialib thumbnailer.
5 months ago
Gabriel Lafond Thenaille
997c10dd58
test: change VLC_LIB_PATH form TOP_BUILDDIR to TOP_BUILDDIR/modules
11 months ago
Gabriel Lafond-Thenaille
621c5871f1
preparser: create a the vlc-preparser process
* Create an external process that receive preparser request, use the
original preparser to preparse the media and the send it back as
preparser responce.
1 year ago
Gabriel Lafond Thenaille
481c543e83
preparser: create a module like interface for the preparser
* Change the preparser to a module like interface with operations.
11 months ago
Gabriel Lafond Thenaille
187591aa12
preparser: Move vlc_preparser_New
* Move vlc_preparser_New at the end of the file to recude diff with the
next commit.
11 months ago
Gabriel Lafond Thenaille
115cb4f04e
preparser: rename preparser.c to keep git history
* Rename `src/preparser/preparser.c` to `src/preparser/internal.c` to
keep git history when the new external preparser will be added.
12 months ago
Gabriel Lafond-Thenaille
45ab3655dd
preparser: add a JSON serialization module
* Create a module to serialize and deserialize preparser message in
JSON.
1 year ago
Gabriel Lafond-Thenaille
4d3651e483
preparser: add serialization module capability
* Create a preparser IPC (preparser request and response) to send
preparser requests to another process and receive the preparsed
media in return.
* Implement a de/serialization module capable of serializing and
deserializing preparser messages (requests and responses).
1 year ago
Gabriel Lafond-Thenaille
8903fedfd9
process: create a vlc_process API
* Create an API to spawn a process, control it and communicate with it
though pipes.
1 year ago
Gabriel Lafond-Thenaille
864ffa9dad
json: increase read buffer size on the json parser
* Force the size of the `YY_READ_BUF_SIZE` to `1 << 22` and the size of
`YY_BUF_SIZE` to `YY_READ_BUF_SIZE * 2`.
1 year ago
Gabriel Lafond-Thenaille
979ebef029
meta: add getter for meta value priority
* Add two getter function on the meta API, `vlc_meta_GetWithPriority`
and `vlc_meta_GetExtraWithPriority`.
2 years ago
Gabriel Lafond-Thenaille
2dd64c363d
input: add input_item_Update
* Create a function to Update input item from an other one. This function
updates the value: `psz_name`, `psz_uri`, `i_duration`, `es_vec` and
`p_meta`.
1 year ago
Gabriel Lafond Thenaille
00e8263dc3
input: item add es_vec in input_item_Copy
* Now `es_vec` (`struct input_item_es`) is copied by
`input_item_Copy`
12 months ago
Gabriel Lafond-Thenaille
c0f5e7cfc1
vlc_pipe: Replace `_pipe` by windows named pipe
* Replace the CRT _pipe function with proper named pipe With OVERLAPPED
flag to add async IO support.
1 year ago
Steve Lhomme
746f0da32a
decoder_helpers: also check adding the offset to visible dimensions is legit
3 months ago
Steve Lhomme
a7a813bc08
decoder_helpers: error out on decoder dimensions too large
We cannot adjust the decoding dimensions to the alignment necessary
if the source video is too large.
Fixes #29532
3 months ago
Steve Lhomme
6961006408
decoder_helper: add the decoder padding values in one call
No loop and the modulo is only called once.
3 months ago
Claudio Cambra
80e62b79d0
macosx: Limit VLCLibraryNameCache cache sizes to 1MB
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 months ago
Claudio Cambra
1aba1ab25d
macosx: Use cache for audio table view delegate and songs table view
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 months ago
Claudio Cambra
79f8a58ef0
macosx: Leverage name cache for artists name in library item
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 months ago
Claudio Cambra
5a928423bd
macosx: Add VLCLibraryNameCache
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 months ago