Commit 8e5be0ff authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '5b9c817d'

* commit '5b9c817d':
  x11grab: Check XFixesGetCursorImage return value

Conflicts:
	libavdevice/x11grab.c

See: a65c0a3f

The warning with adjusted text is kept from a65c0a3f
but drawing the cursor is not disabled in case XFixesGetCursorImage() fails
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 98baa815 5b9c817d
......@@ -431,8 +431,7 @@ static void paint_mouse_pointer(XImage *image, AVFormatContext *s1)
xcim = XFixesGetCursorImage(dpy);
if (!xcim) {
av_log(s1, AV_LOG_WARNING,
"XFixes extension not available, impossible to draw cursor\n");
s->draw_mouse = 0;
"XFixesGetCursorImage failed\n");
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment