None of the above function calls are related to the setting of mode `'picture'` or `'video'`. It seems that this should be done elsewhere.