Added video quality option for internal usage (issue #2238)