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:
parent
6eb56f60cd
commit
7f44500c89
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue