diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-03-16 19:13:46 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-04-17 00:14:02 +0200 |
commit | ea119529c7ba3f042d227209c5669163916f6b4b (patch) | |
tree | 7b3e7da440b85c39cbce39a45bb83320b9750016 | |
parent | de646638ac9dcf5dc66cf406cd9f0b034875b848 (diff) |
snapshot: Allow the skip parameter to be 0
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r-- | snapshot.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -444,10 +444,6 @@ int main(int argc __attribute__((__unused__)), char *argv[] __attribute__((__unu break; case 'k': snap.skip = strtoul(optarg, NULL, 10); - if (snap.skip == 0) { - printf("snapshot skip value must be >0.\n"); - return 1; - } break; case 'N': snap.nframes = strtoul(optarg, NULL, 10); |