[Util] Fix detection of external subtitles' flags.
Merge pull request #3496 from ace20022/fix_ext_flag_detection

[Util] Fix detection of external subtitles' flags.