forked from mia/Aegisub
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
29721b983e
commit
8bc3a39d0c
1 changed files with 5 additions and 1 deletions
|
@ -47,7 +47,11 @@
|
||||||
/////////////
|
/////////////
|
||||||
// Can read?
|
// Can read?
|
||||||
bool MKVSubtitleFormat::CanReadFile(wxString filename) {
|
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