video playback: Fix race condition causing embedded subtitles not be autoselected

Fixes #2324