Skip to content

Commit

Permalink
cli: fix constant framerate
Browse files Browse the repository at this point in the history
  • Loading branch information
jstebbins committed Mar 5, 2016
1 parent ba2f812 commit c701642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c701642

Please sign in to comment.