diff options
author | Aleksoid <aleksoid@users.sourceforge.net> | 2009-09-03 09:37:28 +0400 |
---|---|---|
committer | Aleksoid <aleksoid@users.sourceforge.net> | 2009-09-03 09:37:28 +0400 |
commit | 894a9e923223583e303ffd8dc83ebc8c90db6a47 (patch) | |
tree | fc948bd9d2622c31792bcea1cd652ce1f7e00966 /src/apps/mplayerc/FGManager.cpp | |
parent | 9f1c5503968c644da350d74a6def873a1a34c8dd (diff) |
ADD : Support AMR(mobile phone) audio codec;
Change : gccbuild.bat and gccbuild64.bat(include local environment variable 'CC');
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1269 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/FGManager.cpp')
-rw-r--r-- | src/apps/mplayerc/FGManager.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/apps/mplayerc/FGManager.cpp b/src/apps/mplayerc/FGManager.cpp index 12d202363..ee528f2f5 100644 --- a/src/apps/mplayerc/FGManager.cpp +++ b/src/apps/mplayerc/FGManager.cpp @@ -1661,6 +1661,14 @@ CFGManagerCustom::CFGManagerCustom(LPCTSTR pName, LPUNKNOWN pUnk) pFGF->AddType(MEDIATYPE_Audio, MEDIASUBTYPE_MPEG1Packet);
m_transform.AddTail(pFGF);
+ pFGF = new CFGFilterInternal<CMpaDecFilter>(
+ (tra & TRA_MPA) ? L"AMR Audio Decoder" : L"AMR Audio Decoder (low merit)",
+ (tra & TRA_MPA) ? MERIT64_ABOVE_DSHOW : MERIT64_DO_USE);
+ pFGF->AddType(MEDIATYPE_Audio, MEDIASUBTYPE_SAMR);
+ pFGF->AddType(MEDIATYPE_Audio, MEDIASUBTYPE_AMR);
+ pFGF->AddType(MEDIATYPE_Audio, MEDIASUBTYPE_SAWB);
+ m_transform.AddTail(pFGF);
+
pFGF = DNew CFGFilterInternal<CMpaDecFilter>(
(tra & TRA_MPA) ? ResStr(IDS_FGMANAGER_3) : L"MPEG-2 Audio Decoder (low merit)",
(tra & TRA_MPA) ? MERIT64_ABOVE_DSHOW : MERIT64_DO_USE);
|