Add new util function to get video caps