libtorc-videoui: Remove more code duplication