OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72c9844
)
Fix xcb 32bit pix_fmts: There is no screen transparency.
author
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Sun, 7 Dec 2014 23:31:01 +0000
(
00:31
+0100)
committer
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Sun, 7 Dec 2014 23:31:01 +0000
(
00:31
+0100)
libavdevice/xcbgrab.c
patch
|
blob
|
history
diff --git
a/libavdevice/xcbgrab.c
b/libavdevice/xcbgrab.c
index
6aa1211
..
f2b9135
100644
(file)
--- a/
libavdevice/xcbgrab.c
+++ b/
libavdevice/xcbgrab.c
@@
-455,11
+455,11
@@
static int pixfmt_from_pixmap_format(AVFormatContext *s, int depth,
switch (depth) {
case 32:
if (fmt->bits_per_pixel == 32)
- *pix_fmt = AV_PIX_FMT_
A
RGB;
+ *pix_fmt = AV_PIX_FMT_
0
RGB;
break;
case 24:
if (fmt->bits_per_pixel == 32)
- *pix_fmt = AV_PIX_FMT_RGB32;
+ *pix_fmt = AV_PIX_FMT_
0
RGB32;
else if (fmt->bits_per_pixel == 24)
*pix_fmt = AV_PIX_FMT_RGB24;
break;