]> git.sesse.net Git - nageru/commit
Start capturing only when the mixer is ready.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 23 Dec 2016 23:06:34 +0000 (00:06 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 23 Dec 2016 23:09:42 +0000 (00:09 +0100)
commitbb79c64ab827982ee3e0b6c67f65220df23c98e5
treefbf499b9d9b29314b7f2d3a07deeb5c8ed54c404
parent605ebde8d784157641733f8eddf31012227888ce
Start capturing only when the mixer is ready.

Seemingly creating a context etc. can take 70+ ms, and letting the
capture cards insert stuff freely for that time confuses ResamplingQueue
(plus probably our video queue length policy). Delay it until we are
actually ready to process output frames.
mixer.cpp