screenshooter: Record one extra frame when recording stops
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Tue, 17 Dec 2013 12:18:01 +0000 (14:18 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 17 Dec 2013 18:59:06 +0000 (10:59 -0800)
commite22f3bb5da5d22f1bb6056de1069f7f1c08cc62b
tree03ba01893bcb0d4da734f18f580b05466b5ef3cc
parentc2010b3af025ea70aa8b7688cca56b0082567f34
screenshooter: Record one extra frame when recording stops

If the compositor hasn't been rendering for a while when the recording
stops, the time difference between the last rendered frame and that
moment won't be in the encoded video. Fix that by forcing one extra
frame to be recorded when the user presses the recorder key binding.

https://bugs.freedesktop.org/show_bug.cgi?id=71142
src/screenshooter.c