ofVideoGrabber can't switch devices

When trying to change devices with ofVideoGrabber it just does not work. The only way around the bug for me was to create a pointer object of ofVideoGrabber delete the object on change then create a new one. Does anyone have a solution or is this the best approach to changing a video device.

See gist, this one works

this one does not work