aboutsummaryrefslogtreecommitdiffstats
path: root/utils/rds-ctl/rds-ctl.cpp
diff options
context:
space:
mode:
authorKonke Radlow <koradlow@gmail.com>2012-10-06 12:29:19 +0200
committerHans Verkuil <hans.verkuil@cisco.com>2012-10-06 14:15:09 +0200
commit54aa22e1bdaa6cd8741378c69d7479f46d52d593 (patch)
treee2e690944ef3965bcbaa79d7678821817aed4e52 /utils/rds-ctl/rds-ctl.cpp
parent41864ff09c474ba92562199e43fb8d640068ca95 (diff)
rds-ctl.cpp: add a default value for the wait_limit for RDS-Data
Signed-off-by: Konke Radlow <koradlow@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Diffstat (limited to 'utils/rds-ctl/rds-ctl.cpp')
-rw-r--r--utils/rds-ctl/rds-ctl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/rds-ctl/rds-ctl.cpp b/utils/rds-ctl/rds-ctl.cpp
index 64d581df..ebd30eab 100644
--- a/utils/rds-ctl/rds-ctl.cpp
+++ b/utils/rds-ctl/rds-ctl.cpp
@@ -761,6 +761,9 @@ static int parse_cl(int argc, char **argv)
params.options[OptGetTuner] = 1;
params.options[OptSilent] = 1;
}
+ /* set default value for wait limit, if not specified by user */
+ if (!params.options[OptWaitLimit])
+ params.wait_limit = 5000;
return 0;
}

Privacy Policy