terminal-unix: eliminate unnecessary variable
video: don't assume query_format is thread-safe

Although it's probably safe for most VOs, there's no guarantee.