Bug 1413528 - Non-unified build fixes for Apple decoders. r=cpearce

In AppleCMLinker.cpp, Logging.h and PlatformDecoderModule.h are needed for the LOG macro.
In AppleATDecoder.cpp VideoUtils.h is needed because FramesToTimeUnit() is called in ::DecodeSample().

MozReview-Commit-ID: 2guOwAsYJF1

--HG--
extra : amend_source : e1e98650060f8946361823b5e634d5bf51709a0f
This commit is contained in:
Philippe Normand 2017-11-01 13:49:51 +00:00
Родитель 55385cd906
Коммит 67cdca88b3
2 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -12,6 +12,7 @@
#include "mozilla/Logging.h"
#include "mozilla/SyncRunnable.h"
#include "mozilla/UniquePtr.h"
#include "VideoUtils.h"
#define LOG(...) MOZ_LOG(sPDMLog, mozilla::LogLevel::Debug, (__VA_ARGS__))
#define FourCC2Str(n) ((char[5]){(char)(n >> 24), (char)(n >> 16), (char)(n >> 8), (char)(n), 0})

Просмотреть файл

@ -8,6 +8,8 @@
#include "AppleCMLinker.h"
#include "mozilla/ArrayUtils.h"
#include "mozilla/Logging.h"
#include "PlatformDecoderModule.h"
#include "nsDebug.h"
#define LOG(...) MOZ_LOG(sPDMLog, mozilla::LogLevel::Debug, (__VA_ARGS__))