modified:   src/capture.cpp