mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 1106657 - Move MOZ_PDM_VPX definition to moz.build. r=bholley
This commit is contained in:
parent
87d521274e
commit
b341a046f7
@ -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.
|
||||
|
@ -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']:
|
||||
|
Loading…
Reference in New Issue
Block a user