Bug 1106657 - Move MOZ_PDM_VPX definition to moz.build. r=bholley

This commit is contained in:
Matthew Gregan 2014-12-02 14:00:45 +13:00
parent 87d521274e
commit b341a046f7
2 changed files with 3 additions and 3 deletions

View File

@ -26,9 +26,8 @@
#include "OggReader.h"
// IntelWebMVideoDecoder uses the WMF backend, which is Windows Vista+ only.
#if defined(MOZ_FMP4) && defined(MOZ_WMF)
#if defined(MOZ_PDM_VPX)
#include "IntelWebMVideoDecoder.h"
#define MOZ_PDM_VPX 1
#endif
// Un-comment to enable logging of seek bisections.

View File

@ -19,7 +19,8 @@ UNIFIED_SOURCES += [
'WebMReader.cpp',
]
if CONFIG['MOZ_FMP4']:
if CONFIG['MOZ_FMP4'] and CONFIG['MOZ_WMF']:
DEFINES['MOZ_PDM_VPX'] = True
UNIFIED_SOURCES += ['IntelWebMVideoDecoder.cpp']
if CONFIG['MOZ_WEBM_ENCODER']: