[vlc-devel] [PATCH 1/2] codec: dav1d: add range to frame and tile thread options
Marvin Scholz
epirat07 at gmail.com
Thu Nov 19 17:15:52 CET 2020
---
modules/codec/dav1d.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/codec/dav1d.c b/modules/codec/dav1d.c
index 5d341a367fa..dcb09213186 100644
--- a/modules/codec/dav1d.c
+++ b/modules/codec/dav1d.c
@@ -65,9 +65,9 @@ vlc_module_begin ()
set_category(CAT_INPUT)
set_subcategory(SUBCAT_INPUT_VCODEC)
- add_integer("dav1d-thread-frames", 0,
+ add_integer_with_range("dav1d-thread-frames", 0, 0, DAV1D_MAX_FRAME_THREADS,
THREAD_FRAMES_TEXT, THREAD_FRAMES_LONGTEXT, false)
- add_integer("dav1d-thread-tiles", 0,
+ add_integer_with_range("dav1d-thread-tiles", 0, 0, DAV1D_MAX_TILE_THREADS,
THREAD_TILES_TEXT, THREAD_TILES_LONGTEXT, false)
vlc_module_end ()
--
2.24.3 (Apple Git-128)
More information about the vlc-devel
mailing list