Hmm, nope. Their released source code doesn't match what's actually on the devices (Nexus 5X in my case). Seems like a class may have changed and the vtable is different. Specifically, one of these causes a segfault:
mBufferConsumer->setDefaultBufferSize(targetWidth, targetHeight);
mBufferConsumer->setDefaultBufferFormat(android::PIXEL_FORMAT_RGBA_8888);
05-26 15:27:16.680 9374 9374 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x438 in tid 9374 (minicap)
05-26 15:27:16.718 9379 9379 W crash_dump64: type=1400 audit(0.0:561): avc: denied { search } for name="tmp" dev="dm-2" ino=654082 scontext=u:r:crash_dump:s0 tcontext=u:object_r:shell_data_file:s0 tclass=dir permissive=0
05-26 15:27:16.721 9379 9379 W crash_dump64: type=1400 audit(0.0:562): avc: denied { search } for name="tmp" dev="dm-2" ino=654082 scontext=u:r:crash_dump:s0 tcontext=u:object_r:shell_data_file:s0 tclass=dir permissive=0
05-26 15:27:16.726 9379 9379 I crash_dump64: obtaining output fd from tombstoned
05-26 15:27:16.727 601 601 I /system/bin/tombstoned: received crash request for pid 9374
05-26 15:27:16.731 9379 9379 I crash_dump64: performing dump of process 9374 (target tid = 9374)
05-26 15:27:16.731 9379 9379 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-26 15:27:16.731 9379 9379 F DEBUG : Build fingerprint: 'google/bullhead/bullhead:O/OPP2.170420.019/4021594:user/release-keys'
05-26 15:27:16.731 9379 9379 F DEBUG : Revision: 'rev_1.0'
05-26 15:27:16.731 9379 9379 F DEBUG : ABI: 'arm64'
05-26 15:27:16.731 9379 9379 F DEBUG : pid: 9374, tid: 9374, name: minicap >>> /data/local/tmp/minicap-devel/minicap <<<
05-26 15:27:16.731 9379 9379 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x438
05-26 15:27:16.731 9379 9379 F DEBUG : Cause: null pointer dereference
05-26 15:27:16.732 9379 9379 F DEBUG : x0 0000000000000000 x1 0000000000000081 x2 000000007fffffff x3 0000000000000000
05-26 15:27:16.732 9379 9379 F DEBUG : x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 0000000000000000
05-26 15:27:16.732 9379 9379 F DEBUG : x8 0000000000000000 x9 0000000000000088 x10 0000000000000001 x11 0000007d8e0552a8
05-26 15:27:16.732 9379 9379 F DEBUG : x12 8000000000000000 x13 8000000000000000 x14 0000000000000000 x15 0000000000000000
05-26 15:27:16.732 9379 9379 F DEBUG : x16 0000007d8e9774c8 x17 0000007d8eb5a81c x18 0000007d8eaf2b00 x19 0000000000000438
05-26 15:27:16.732 9379 9379 F DEBUG : x20 0000007d8e054008 x21 0000007d8e0391e0 x22 0000007d8e976000 x23 0000007d8e03f868
05-26 15:27:16.732 9379 9379 F DEBUG : x24 0000007d8ef76030 x25 ffffffffffffffff x26 0000000000001268 x27 0000007d8e054000
05-26 15:27:16.732 9379 9379 F DEBUG : x28 0000007d8eaf01fc x29 0000007ffadb0ae0 x30 0000007d8e90ef08
05-26 15:27:16.732 9379 9379 F DEBUG : sp 0000007ffadb0a90 pc 0000007d8e90ef64 pstate 0000000060000000
05-26 15:27:16.741 9379 9379 W crash_dump64: type=1400 audit(0.0:563): avc: denied { search } for name="tmp" dev="dm-2" ino=654082 scontext=u:r:crash_dump:s0 tcontext=u:object_r:shell_data_file:s0 tclass=dir permissive=0
05-26 15:27:16.746 9379 9379 F DEBUG :
05-26 15:27:16.746 9379 9379 F DEBUG : backtrace:
05-26 15:27:16.746 9379 9379 F DEBUG : #00 pc 0000000000067f64 /system/lib64/libgui.so (_ZN7android19BufferQueueConsumer18getReleasedBuffersEPm+308)
05-26 15:27:16.746 9379 9379 F DEBUG : #01 pc 0000000000002728 /data/local/tmp/minicap-devel/minicap.so
05-26 15:27:16.746 9379 9379 F DEBUG : #02 pc 000000000000afc0 /data/local/tmp/minicap-devel/minicap
05-26 15:27:16.746 9379 9379 F DEBUG : #03 pc 000000000001b5dc /system/lib64/libc.so (__libc_init+88)
05-26 15:27:16.746 9379 9379 F DEBUG : #04 pc 000000000000bc6c /data/local/tmp/minicap-devel/minicap