Skip to content
Snippets Groups Projects
Commit 82ff8e2f authored by Lyndon Brown's avatar Lyndon Brown
Browse files

jack: add range to --jack-input-chanels

(to set lower bound).

this is expected to be a positive number >=0.
parent 25147c3a
No related branches found
No related tags found
No related merge requests found
Pipeline #179943 passed with stage
in 46 minutes and 41 seconds
......@@ -48,6 +48,7 @@
#include <sys/types.h>
#include <unistd.h>
#include <limits.h>
/*****************************************************************************
* Module descriptor
......@@ -83,6 +84,7 @@ vlc_module_begin ()
/* Channels, potentially from MRL. */
add_integer( "jack-input-channels", 0,
CHANNELS_TEXT, CHANNELS_LONGTEXT )
change_integer_range( 0, INT_MAX )
change_safe()
/* Ports, potentially from MRL. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment