Fix for correct maximum capture duration
Merge pull request #133 from PaulTaykalo/master

Fix for correct maximum capture duration