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 29721b983e
commit 8bc3a39d0c
1 changed files with 5 additions and 1 deletions

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;
}