ffmpeg | branch: master | Carl Eugen Hoyos <ceho...@ag.or.at> | Mon Dec 8 00:31:01 2014 +0100| [7502e1a3b743e1f02d16f9945c210faf8b902100] | committer: Carl Eugen Hoyos
Fix xcb 32bit pix_fmts: There is no screen transparency. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7502e1a3b743e1f02d16f9945c210faf8b902100 --- libavdevice/xcbgrab.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavdevice/xcbgrab.c b/libavdevice/xcbgrab.c index 6aa1211..f2b9135 100644 --- 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_ARGB; + *pix_fmt = AV_PIX_FMT_0RGB; break; case 24: if (fmt->bits_per_pixel == 32) - *pix_fmt = AV_PIX_FMT_RGB32; + *pix_fmt = AV_PIX_FMT_0RGB32; else if (fmt->bits_per_pixel == 24) *pix_fmt = AV_PIX_FMT_RGB24; break; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog