Update Capture.cpp

More changes