[Bug 760172] [PATCH] dx9screencapsrc: add "cursor" option to draw the cursor

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jan 6 01:21:00 PST 2016


https://bugzilla.gnome.org/show_bug.cgi?id=760172

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #318272|none                        |reviewed
             status|                            |

--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 318272:
 --> (https://bugzilla.gnome.org/review?bug=760172&attachment=318272)

::: sys/winscreencap/gstdx9screencapsrc.c
@@ +563,3 @@
+      GetIconInfo (ci.hCursor, &ii);
+
+      if (SUCCEEDED (IDirect3DSurface9_GetDC (src->surface, &memDC))) {

Wouldn't it be possible to use D3D functions to render the cursor directly over
the surface? Maybe by first converting the cursor into a D3D surface? That
probably also solves the problem that required first converting it to
monochrome.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list