1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-01 23:00:41 +00:00
mpv/test
Kacper Michajłow cce45aa054 test/libmpv_test_track_selection: fix locale check
The size of the buffer was never set so the Get*PreferredUILanguages()
were just returning ERROR_INSUFFICIENT_BUFFER.

Fix the buffer size and use the returned count as sanity limit.

Fixes the test.
2025-04-01 21:27:45 +02:00
..
ref test: support format refs for multiple ffmpeg versions 2024-04-12 17:39:34 +00:00
samples libmpv: use correct header directory name 2025-02-23 01:40:12 +01:00
chmap.c various: remove av channel layout check 2024-06-22 16:12:14 +02:00
codepoint_width.c various: fix typos 2025-01-04 15:59:49 +02:00
format.c m_property: add > for fixed precision floating-point expansion 2024-03-21 03:50:11 +01:00
gl_video.c test: integrate unittests with meson 2023-03-02 15:45:27 +00:00
img_format.c mp_image: set repr.alpha and repr.bits when mapping AVFrame 2025-03-26 18:39:40 +01:00
img_utils.c tests: use mp_require to allow tests to be run with NDEBUG 2025-03-04 20:07:29 +01:00
img_utils.h test: integrate unittests with meson 2023-03-02 15:45:27 +00:00
json.c libmpv: use correct header directory name 2025-02-23 01:40:12 +01:00
language.c misc/language: parse forced tag from external subtitle tracks 2025-03-31 11:47:52 +02:00
libmpv_common.h libmpv: use correct header directory name 2025-02-23 01:40:12 +01:00
libmpv_encode.c libmpv: use correct header directory name 2025-02-23 01:40:12 +01:00
libmpv_lifetime.c libmpv: use correct header directory name 2025-02-23 01:40:12 +01:00
libmpv_test_file_loading.c test/libmpv_common: ensure our atexit clean fires before internal ones 2025-02-14 15:21:02 +01:00
libmpv_test_lavfi_complex.c test/libmpv_common: ensure our atexit clean fires before internal ones 2025-02-14 15:21:02 +01:00
libmpv_test_options.c test/libmpv_common: ensure our atexit clean fires before internal ones 2025-02-14 15:21:02 +01:00
libmpv_test_track_selection.c test/libmpv_test_track_selection: fix locale check 2025-04-01 21:27:45 +02:00
linked_list.c test: integrate unittests with meson 2023-03-02 15:45:27 +00:00
meson.build include: move public headers to own directory 2025-02-23 01:40:12 +01:00
paths.c various: simplify mp_normalize_path usage 2025-02-01 16:12:03 +00:00
repack.c tests: use mp_require to allow tests to be run with NDEBUG 2025-03-04 20:07:29 +01:00
scale_sws.c test: integrate unittests with meson 2023-03-02 15:45:27 +00:00
scale_test.c tests: use mp_require to allow tests to be run with NDEBUG 2025-03-04 20:07:29 +01:00
scale_test.h test: integrate unittests with meson 2023-03-02 15:45:27 +00:00
scale_zimg.c test: integrate unittests with meson 2023-03-02 15:45:27 +00:00
test_utils.c tests: use mp_require to allow tests to be run with NDEBUG 2025-03-04 20:07:29 +01:00
test_utils.h tests: use mp_require to allow tests to be run with NDEBUG 2025-03-04 20:07:29 +01:00
timer.c various: remove unused sys/time.h include 2024-05-06 22:01:17 +02:00