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:
authordrevil_xxl <drevil_xxl@users.sourceforge.net>2008-03-07 22:50:44 +0300
committerdrevil_xxl <drevil_xxl@users.sourceforge.net>2008-03-07 22:50:44 +0300
commit5c75fabc94d28c035045de5d7148c38fe430aaf3 (patch)
tree33108b7ff3dea43ee193522714afc6a9fdb040be /src/subtitles/STS.cpp
parentf67604ab2458d5d7dcb6b6b1b098e9a320b47c6b (diff)
Save to .srt subtitle fix concerning italics.
MPC: Automatically block DirectVobSub filter (VSFilter) when the internal subtitle renderer will be used. Updated ffmpeg. VSFilter: Added MaskSub function for use with Avisynth. Patch by VinyJones. git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@438 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/subtitles/STS.cpp')
-rw-r--r--src/subtitles/STS.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/subtitles/STS.cpp b/src/subtitles/STS.cpp
index b192afe64..42c59e8ed 100644
--- a/src/subtitles/STS.cpp
+++ b/src/subtitles/STS.cpp
@@ -447,7 +447,7 @@ static CStringW MBCSSSAToUnicode(CStringW str, int CharSet)
CStringW RemoveSSATags(CStringW str, bool fUnicode, int CharSet)
{
- str.Replace (L"{\\i1}", L"<i>"); // Casimir666 : tag <i> supported in SRT files!
+ str.Replace (L"{\\i1}", L"<i>");
str.Replace (L"{\\i}", L"</i>");
for(int i = 0, j; i < str.GetLength(); )
@@ -1736,7 +1736,6 @@ static OpenFunctStruct OpenFuncts[] =
OpenMPL2, TIME, EXTSRT,
};
-
static int nOpenFuncts = countof(OpenFuncts);
//
@@ -1787,8 +1786,8 @@ void CSimpleTextSubtitle::Copy(CSimpleTextSubtitle& sts)
m_name = sts.m_name;
m_mode = sts.m_mode;
- m_path = sts.m_path;
- m_exttype = sts.m_exttype;
+ m_path = sts.m_path;
+ m_exttype = sts.m_exttype;
m_dstScreenSize = sts.m_dstScreenSize;
m_defaultWrapStyle = sts.m_defaultWrapStyle;
m_collisions = sts.m_collisions;