Different upload type settings in tabs?

Does anyone know how can I allow users to upload only images for activity posts and only videos in their media gallery? Thanks!