Fix #49
Fix #49

Ensure that the encoder knows when it was responsible for starting the
camera's capture and that it only attempts to disable capture when it
was responsible.

tfroehlich82/picamera,ListFranz/picamera,rocky1001/picamera,waveform80/picamera