Skip to content

Commit

Permalink
reduce the default number of samples
Browse files Browse the repository at this point in the history
having more samples than selected frames should be explicitly asked by the user with the -s argument
  • Loading branch information
amietn committed Mar 23, 2016
1 parent ffd0a8e commit 1627504
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vcsi/vcsi.py
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ def main():
help="number of samples",
dest="num_samples",
type=int,
default=50)
default=None)
parser.add_argument(
"-t", "--show-timestamp",
action="store_true",
Expand Down Expand Up @@ -1068,6 +1068,9 @@ def process_file(path, args):
else:
args.grid = mxn_type("%sx%s" % (1, args.num_selected))

if args.num_samples is None:
args.num_samples = args.num_selected

if args.delay_percent is not None:
args.start_delay_percent = args.delay_percent
args.end_delay_percent = args.delay_percent
Expand Down

0 comments on commit 1627504

Please sign in to comment.