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:
Ralph Giles 2014-08-21 16:21:00 -07:00
Родитель 765b1012ad
Коммит 7eaae1d4be
1 изменённых файлов: 5 добавлений и 2 удалений

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

@ -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,