]> git.sesse.net Git - ffmpeg/commit
avdevice/xcbgrab: wrap non-shm image replies in a buffer ref
authorMarton Balint <cus@passwd.hu>
Tue, 3 Dec 2019 20:33:12 +0000 (21:33 +0100)
committerMarton Balint <cus@passwd.hu>
Fri, 6 Dec 2019 09:09:49 +0000 (10:09 +0100)
commit648b8cca6c56a4fa1760efc72dfe1363a5c6e31e
treea79f6c82bdce45f13a99290c1198042b788f53b5
parentb66a800877d6f97fa94b41533e3d6a6273f7fb9f
avdevice/xcbgrab: wrap non-shm image replies in a buffer ref

This avoids a memcpy improving performance if SHM is not used.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavdevice/xcbgrab.c