diff options
author | Aleksoid <aleksoid@users.sourceforge.net> | 2010-06-23 07:37:10 +0400 |
---|---|---|
committer | Aleksoid <aleksoid@users.sourceforge.net> | 2010-06-23 07:37:10 +0400 |
commit | fefd58f7dc18cf5d070bdddaf158dfee567cbe6d (patch) | |
tree | d372bac88d64a4f183e53af4bf1ec50dd881b74e /src/apps/mplayerc/FGManager.cpp | |
parent | 37366add780bcca0b37ce11bc7349c77481e3aad (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.cpp | 14 |
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
|