summaryrefslogtreecommitdiffstats
path: root/test/test.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-03-05 15:42:01 -0700
committerJohn Stebbins <[email protected]>2016-03-05 15:42:01 -0700
commitc70164206ec34815c2565f34749493e056975c74 (patch)
tree35c7d15b27481ee5450893623644d2792279a696 /test/test.c
parentba2f812eaad757ba5c8b726265fc8b5d47821a8a (diff)
cli: fix constant framerate
Diffstat (limited to 'test/test.c')
-rw-r--r--test/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.c b/test/test.c
index 47bdbe417..9cf49bbf2 100644
--- a/test/test.c
+++ b/test/test.c
@@ -2244,7 +2244,7 @@ static int ParseOptions( int argc, char ** argv )
case 'r':
{
vrate = strdup(optarg);
- if ( cfr != 2 )
+ if ( cfr != 1 && cfr != 2 )
{
cfr = 2;
}