x11grab: fixed next frame capture time calculation
authorTrevor \\\\ Higgins <doublebackslash@gmail.com>
Wed, 3 Feb 2016 14:10:01 +0000 (09:10 -0500)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 5 Feb 2016 00:11:17 +0000 (01:11 +0100)
commit6632802aa00c8fe2126697d9eb8e498c600aee79
tree24c9496c3d3236b987556499e39dd5961f1e4777
parent1bbfaba196b373496de59b8799849b5eadc3193b
x11grab: fixed next frame capture time calculation

The next frame time could slip, causing the frame rate to drop until
 frames were dropped. Now will capture at the next correct moment instead.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavdevice/x11grab.c