[vlc-commits] codec: dav1d: add range to frame and tile thread options
Marvin Scholz
git at videolan.org
Wed Dec 2 11:55:32 CET 2020
vlc/vlc-3.0 | branch: master | Marvin Scholz <epirat07 at gmail.com> | Thu Nov 19 17:13:06 2020 +0100| [b5c70d562f7a01c6a1732e5c0c31026690222d88] | committer: Marvin Scholz
codec: dav1d: add range to frame and tile thread options
(cherry picked from commit 6cc553064a672d2ffc2bc1bee7804283d29e4653)
Signed-off-by: Marvin Scholz <epirat07 at gmail.com>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=b5c70d562f7a01c6a1732e5c0c31026690222d88
---
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 b692d2ad45..3e44d524ed 100644
--- a/modules/codec/dav1d.c
+++ b/modules/codec/dav1d.c
@@ -63,9 +63,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