Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkinddragon <kinddragon@users.sourceforge.net>2010-05-05 05:58:24 +0400
committerkinddragon <kinddragon@users.sourceforge.net>2010-05-05 05:58:24 +0400
commit12d44632322c07aa9cc1e59b1e32f5a8293ba4fc (patch)
treed0181eee81345ef2753e02902863840da20f8363 /src/subtitles/GFN.cpp
parent0764f7e7019c3ea8f5472f86e3b2e4afdd333668 (diff)
Improved subtitle handling (should be refactored later)
Removed unnecessary methods CComPtr<> parameters git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1844 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/subtitles/GFN.cpp')
-rw-r--r--src/subtitles/GFN.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/subtitles/GFN.cpp b/src/subtitles/GFN.cpp
index d42f51de4..96a4fe65e 100644
--- a/src/subtitles/GFN.cpp
+++ b/src/subtitles/GFN.cpp
@@ -31,7 +31,7 @@ TCHAR* exttypestr[] =
_T("xss"), _T("txt"), _T("ssf"), _T("rt")
};
-static TCHAR* ext[2][countof(exttypestr)] =
+static TCHAR* ext[3][countof(exttypestr)] =
{
{
_T(".srt"), _T(".sub"), _T(".smi"), _T(".psb"),
@@ -43,6 +43,11 @@ static TCHAR* ext[2][countof(exttypestr)] =
_T(".*.ssa"), _T(".*.ass"), _T(".*.dummyidx"), _T(".*.usf"),
_T(".*.xss"), _T(".*.txt"), _T(".*.ssf"), _T(".*.rt")
},
+ {
+ _T("-*.srt"), _T("-*.sub"), _T("-*.smi"), _T("-*.psb"),
+ _T("-*.ssa"), _T("-*.ass"), _T("-*.dummyidx"), _T("-*.usf"),
+ _T("-*.xss"), _T("-*.txt"), _T("-*.ssf"), _T("-*.rt")
+ },
};
#define WEBSUBEXT _T(".wse")