зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1057110 - Don't log h.264 sample sha1 by default. r=cpearce
This was useful for comparing input between different demuxers but isn't really necessary now that things are running. Can be removed when things are more stable.
This commit is contained in:
Родитель
765b1012ad
Коммит
7eaae1d4be
|
@ -7,7 +7,6 @@
|
|||
#include <CoreFoundation/CFString.h>
|
||||
|
||||
#include "AppleUtils.h"
|
||||
#include "mozilla/SHA1.h"
|
||||
#include "mp4_demuxer/DecoderData.h"
|
||||
#include "MP4Reader.h"
|
||||
#include "MP4Decoder.h"
|
||||
|
@ -23,11 +22,15 @@
|
|||
#ifdef PR_LOGGING
|
||||
PRLogModuleInfo* GetAppleMediaLog();
|
||||
#define LOG(...) PR_LOG(GetAppleMediaLog(), PR_LOG_DEBUG, (__VA_ARGS__))
|
||||
#define LOG_MEDIA_SHA1
|
||||
//#define LOG_MEDIA_SHA1
|
||||
#else
|
||||
#define LOG(...)
|
||||
#endif
|
||||
|
||||
#ifdef LOG_MEDIA_SHA1
|
||||
#include "mozilla/SHA1.h"
|
||||
#endif
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
AppleVTDecoder::AppleVTDecoder(const mp4_demuxer::VideoDecoderConfig& aConfig,
|
||||
|
|
Загрузка…
Ссылка в новой задаче