Don't fail to read subtitles from MKV's that are named .mks or .mka, both of those are reported as supported formats in the "open subtitles" dialog box.

Originally committed to SVN as r2878.
This commit is contained in:
Karl Blomster 2009-04-29 14:04:23 +00:00
parent 6eb56f60cd
commit 7f44500c89

View file

@ -47,7 +47,11 @@
/////////////
// Can read?
bool MKVSubtitleFormat::CanReadFile(wxString filename) {
return (filename.Right(4).Lower() == _T(".mkv"));
if (filename.Right(4).Lower() == _T(".mkv") || filename.Right(4).Lower() == _T(".mks")
|| filename.Right(4).Lower() == _T(".mka"))
return true;
else
return false;
}