Commit graph

5 commits

Author SHA1 Message Date
Florian Zwoch
8960debc24 dx9screencapsrc: add "cursor" option to draw the cursor
Drawing is done via the GDI drawing functions. The cursor is
converted to a monochrome version before drawing. This is because
the GDI drawing functions seem to have undefined behavior with
cursor images including an alpha channel.

I could not find any other reliable way to draw these alpha
channel cursors without producing unwanted artifacts. These type
of cursors were introduced with Window Vista when run with it's
Aero theme.

Also adjust the cursor coordinates when capturing non-primary
screens via the "monitor" option.

https://bugzilla.gnome.org/show_bug.cgi?id=760172
2016-11-02 10:38:59 +02:00
Sebastian Dröge
d3dbb69c8e 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.
2015-08-03 19:42:56 +03:00
Sebastian Dröge
e2b83ff8a0 winscreencap: Initial port to 1.0 2013-06-20 23:00:59 +02:00
Tim-Philipp Müller
9e1b75fda3 Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:09:59 +00:00
Haakon Sporsheim
407b788242 New plugin: winscreencap (#463941).
Original commit message from CVS:
patch by: Haakon Sporsheim <hakon.sporsheim@tandberg.com>
* configure.ac:
* sys/Makefile.am:
* sys/winscreencap/Makefile.am:
* sys/winscreencap/gstdx9screencapsrc.c:
* sys/winscreencap/gstdx9screencapsrc.h:
* sys/winscreencap/gstgdiscreencapsrc.c:
* sys/winscreencap/gstgdiscreencapsrc.h:
* sys/winscreencap/gstwinscreencap.c:
* sys/winscreencap/gstwinscreencap.h:
New plugin: winscreencap (#463941).
2008-08-24 13:23:44 +00:00