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.
etc/mpv.desktop: add audio/flac mimetype

Fixes #1025.

CC: @mpv-player/stable