Re: [FFmpeg-devel] [PATCH] avdevice/xcbgrab: don't assume Xserver endianness

2021-02-02 Thread Carl Eugen Hoyos
Am Di., 2. Feb. 2021 um 04:26 Uhr schrieb Andriy Gelman : > > On Sun, 31. Jan 23:28, Carl Eugen Hoyos wrote: > > Am So., 31. Jan. 2021 um 20:51 Uhr schrieb Andriy Gelman > > : > > > > > > From: Andriy Gelman > > > > > > Xserver defines the endianness of the grabbed images. Use this information > >

Re: [FFmpeg-devel] [PATCH] avdevice/xcbgrab: don't assume Xserver endianness

2021-02-01 Thread Andriy Gelman
On Sun, 31. Jan 23:28, Carl Eugen Hoyos wrote: > Am So., 31. Jan. 2021 um 20:51 Uhr schrieb Andriy Gelman > : > > > > From: Andriy Gelman > > > > Xserver defines the endianness of the grabbed images. Use this information > > to set the correct pixel format. > > lgtm if tested. Thanks, will apply

Re: [FFmpeg-devel] [PATCH] avdevice/xcbgrab: don't assume Xserver endianness

2021-01-31 Thread Carl Eugen Hoyos
Am So., 31. Jan. 2021 um 20:51 Uhr schrieb Andriy Gelman : > > From: Andriy Gelman > > Xserver defines the endianness of the grabbed images. Use this information > to set the correct pixel format. lgtm if tested. Could you look at pal8? This used to work fine with x11grab... Thank you, Carl Eug

[FFmpeg-devel] [PATCH] avdevice/xcbgrab: don't assume Xserver endianness

2021-01-31 Thread Andriy Gelman
From: Andriy Gelman Xserver defines the endianness of the grabbed images. Use this information to set the correct pixel format. This also fixes format selection in configuration depth=32/bpp=32 with Xserver on a little endian machine. Before the patch, the big endian layout 0RGB was always selec