You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
Merge commit '5b9c817dc7577b6d44acc94d73b9c77c52cda489'
* commit '5b9c817dc7577b6d44acc94d73b9c77c52cda489': x11grab: Check XFixesGetCursorImage return value Conflicts: libavdevice/x11grab.c See:a65c0a3fe8
The warning with adjusted text is kept froma65c0a3fe8
but drawing the cursor is not disabled in case XFixesGetCursorImage() fails Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -431,8 +431,7 @@ static void paint_mouse_pointer(XImage *image, AVFormatContext *s1)
|
|||||||
xcim = XFixesGetCursorImage(dpy);
|
xcim = XFixesGetCursorImage(dpy);
|
||||||
if (!xcim) {
|
if (!xcim) {
|
||||||
av_log(s1, AV_LOG_WARNING,
|
av_log(s1, AV_LOG_WARNING,
|
||||||
"XFixes extension not available, impossible to draw cursor\n");
|
"XFixesGetCursorImage failed\n");
|
||||||
s->draw_mouse = 0;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user