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:
authorAleksoid <aleksoid@users.sourceforge.net>2010-06-23 07:37:10 +0400
committerAleksoid <aleksoid@users.sourceforge.net>2010-06-23 07:37:10 +0400
commitfefd58f7dc18cf5d070bdddaf158dfee567cbe6d (patch)
treed372bac88d64a4f183e53af4bf1ec50dd881b74e /src/apps/mplayerc/FGManager.cpp
parent37366add780bcca0b37ce11bc7349c77481e3aad (diff)
Add : Internal VP8 Decoder - options(Enable/Disable);
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@2071 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/FGManager.cpp')
-rw-r--r--src/apps/mplayerc/FGManager.cpp14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/apps/mplayerc/FGManager.cpp b/src/apps/mplayerc/FGManager.cpp
index 922469a70..a0932c760 100644
--- a/src/apps/mplayerc/FGManager.cpp
+++ b/src/apps/mplayerc/FGManager.cpp
@@ -2068,8 +2068,12 @@ CFGManagerCustom::CFGManagerCustom(LPCTSTR pName, LPUNKNOWN pUnk)
pFGF->AddType(MEDIATYPE_Video, MEDIASUBTYPE_AMVV);
}
#endif
- // VP8 Decoder
- pFGF->AddType(MEDIATYPE_Video, MEDIASUBTYPE_VP80);
+#if INTERNAL_DECODER_VP8
+ if (ffmpeg_filters & FFM_VP8)
+ {
+ pFGF->AddType(MEDIATYPE_Video, MEDIASUBTYPE_VP80);
+ }
+#endif
m_transform.AddTail(pFGF);
@@ -2261,6 +2265,12 @@ CFGManagerCustom::CFGManagerCustom(LPCTSTR pName, LPUNKNOWN pUnk)
pFGF->AddType(MEDIATYPE_Video, MEDIASUBTYPE_AMVV);
}
#endif
+#if INTERNAL_DECODER_VP8
+ if (!(ffmpeg_filters & FFM_VP8))
+ {
+ pFGF->AddType(MEDIATYPE_Video, MEDIASUBTYPE_VP80);
+ }
+#endif
m_transform.AddTail(pFGF);
#endif