diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-02-07 00:04:26 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-02-07 00:04:26 +0300 |
commit | 309f96fed5c95ee871d6e7be62f592711ae49882 (patch) | |
tree | a21889c5c3b1318261c0074ce82265ff89253d68 /src/apps/mplayerc/PPagePlayback.cpp | |
parent | 4fadb8a565fa3bfbdb209966afd8e5ca94786a7c (diff) |
-when caption is hidden, window is without a thick frame now, child view responsible for NC_HITTEST
-preliminary support for subtitle language order (similar to Haali Media Splitter)
-same for audio language order
-added menu option to override embedded style for subtitles
Patch by foxx1337
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1622 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/PPagePlayback.cpp')
-rw-r--r-- | src/apps/mplayerc/PPagePlayback.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/apps/mplayerc/PPagePlayback.cpp b/src/apps/mplayerc/PPagePlayback.cpp index bc2e764ca..f7a0336f9 100644 --- a/src/apps/mplayerc/PPagePlayback.cpp +++ b/src/apps/mplayerc/PPagePlayback.cpp @@ -46,6 +46,8 @@ CPPagePlayback::CPPagePlayback() , m_fAutoloadSubtitles(FALSE)
, m_fEnableWorkerThreadForOpening(FALSE)
, m_fReportFailedPins(FALSE)
+ , m_subtitlesLanguageOrder(_T(""))
+ , m_audiosLanguageOrder(_T(""))
{
}
@@ -70,6 +72,8 @@ void CPPagePlayback::DoDataExchange(CDataExchange* pDX) DDX_Check(pDX, IDC_CHECK3, m_fAutoloadSubtitles);
DDX_Check(pDX, IDC_CHECK7, m_fEnableWorkerThreadForOpening);
DDX_Check(pDX, IDC_CHECK6, m_fReportFailedPins);
+ DDX_Text(pDX, IDC_EDIT2, m_subtitlesLanguageOrder);
+ DDX_Text(pDX, IDC_EDIT3, m_audiosLanguageOrder);
}
BEGIN_MESSAGE_MAP(CPPagePlayback, CPPageBase)
@@ -104,6 +108,8 @@ BOOL CPPagePlayback::OnInitDialog() m_fAutoloadSubtitles = s.fAutoloadSubtitles;
m_fEnableWorkerThreadForOpening = s.fEnableWorkerThreadForOpening;
m_fReportFailedPins = s.fReportFailedPins;
+ m_subtitlesLanguageOrder = s.m_subtitlesLanguageOrder;
+ m_audiosLanguageOrder = s.m_audiosLanguageOrder;
UpdateData(FALSE);
@@ -128,6 +134,8 @@ BOOL CPPagePlayback::OnApply() s.fAutoloadSubtitles = !!m_fAutoloadSubtitles;
s.fEnableWorkerThreadForOpening = !!m_fEnableWorkerThreadForOpening;
s.fReportFailedPins = !!m_fReportFailedPins;
+ s.m_subtitlesLanguageOrder = m_subtitlesLanguageOrder;
+ s.m_audiosLanguageOrder = m_audiosLanguageOrder;
return __super::OnApply();
}
|