Video playback doesn't work if the default format is MJPEG and there are other formats to use; this is because the useDefaultConfig variable is still set to true, which overrides the format value that would normally tell it to convert to RGB.