winscreencap: Properly timestamp buffers with the current clock running time instead...
authorSebastian Dröge <sebastian@centricular.com>
Mon, 3 Aug 2015 16:42:56 +0000 (19:42 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 3 Aug 2015 16:42:56 +0000 (19:42 +0300)
commitd3dbb69c8ea317eacd3e23100b063381dbe206db
tree333dfc81551b1397c52990bada8cf2c130100f0b
parentbd30d516a89cc74d24bf1f5e1c11315b070d82c6
winscreencap: Properly timestamp buffers with the current clock running time instead of doing magic

Also implement framerate handling correctly by borrowing the code from
ximagesrc. GstBaseSrc::get_times() can't be used for that, we have to
implement proper waiting ourselves.
sys/winscreencap/gstdx9screencapsrc.c
sys/winscreencap/gstdx9screencapsrc.h
sys/winscreencap/gstgdiscreencapsrc.c
sys/winscreencap/gstgdiscreencapsrc.h