14 Jul
2020
14 Jul
'20
12:14 p.m.
On Sun, Jul 12, 2020 at 10:54:45 -0400, Andriy Gelman wrote:
On Fri, 10. Jul 21:13, Moritz Barsnick wrote:
Since xcbgrab is getting some attention recently...
Fixes a segfault, as reported in #7312.
To reproduce: Terminal 1: $ Xvfb :1 -nolisten tcp -screen 0 800x600x24 Terminal 2: $ ffmpeg -f x11grab -i :1 -f null - or rather $ gdb -ex r --args ffmpeg_g -f x11grab -i :1 -f null - Then terminate Xvfb while ffmpeg is running.
The rest of the av_log calls use AVFormatContext*. You may want to update to be consistent.
Good point. I didn't mind the "xcbgrab indev" vs. "x11grab", but it's indeed inconsistent. Updated patch attached. Moritz