This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Force opaque alpha channel for 32bit x11grab image.
Fixes ticket
#163
. Approved-by: Clemens Fruhwirth Approved-by: Edouard Gomez
tags/n0.9
Carl Eugen Hoyos
14 years ago
parent
be97e7b9c2
commit
b3c67372a5
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavdevice/x11grab.c
+ 2
- 0
libavdevice/x11grab.c
View File
@@ -537,6 +537,8 @@ x11grab_read_packet(AVFormatContext *s1, AVPacket *pkt)
av_log (s1, AV_LOG_INFO, "XGetZPixmap() failed\n");
}
}
if (image->bits_per_pixel == 32)
XAddPixel(image, 0xFF000000);
if (s->draw_mouse) {
paint_mouse_pointer(image, s);
Write
Preview
Loading…
Cancel
Save