mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
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
@ -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…
x
Reference in New Issue
Block a user