[vlc-commits] codec: dav1d: add range to frame and tile thread options
Marvin Scholz
git at videolan.org
Wed Dec 2 11:49:37 CET 2020
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Thu Nov 19 17:13:06 2020 +0100| [6cc553064a672d2ffc2bc1bee7804283d29e4653] | committer: Marvin Scholz
codec: dav1d: add range to frame and tile thread options
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6cc553064a672d2ffc2bc1bee7804283d29e4653
---
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 5d341a367f..dcb0921318 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 ()
More information about the vlc-commits
mailing list