зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1204776: P4. Have VPX/Opus/Vorbis decoder use PlatformDecoderModule log. r=cpearce
This commit is contained in:
Родитель
86e37be133
Коммит
5d87284234
|
@ -12,13 +12,12 @@
|
|||
#include <stdint.h>
|
||||
#include <inttypes.h> // For PRId64
|
||||
|
||||
#define OPUS_DEBUG(arg, ...) MOZ_LOG(gMediaDecoderLog, mozilla::LogLevel::Debug, \
|
||||
extern PRLogModuleInfo* GetPDMLog();
|
||||
#define OPUS_DEBUG(arg, ...) MOZ_LOG(GetPDMLog(), mozilla::LogLevel::Debug, \
|
||||
("OpusDataDecoder(%p)::%s: " arg, this, __func__, ##__VA_ARGS__))
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
extern PRLogModuleInfo* gMediaDecoderLog;
|
||||
|
||||
OpusDataDecoder::OpusDataDecoder(const AudioInfo& aConfig,
|
||||
FlushableTaskQueue* aTaskQueue,
|
||||
MediaDataDecoderCallback* aCallback)
|
||||
|
|
|
@ -13,15 +13,14 @@
|
|||
#include <algorithm>
|
||||
|
||||
#undef LOG
|
||||
#define LOG(arg, ...) MOZ_LOG(gMediaDecoderLog, mozilla::LogLevel::Debug, ("VPXDecoder(%p)::%s: " arg, this, __func__, ##__VA_ARGS__))
|
||||
extern PRLogModuleInfo* GetPDMLog();
|
||||
#define LOG(arg, ...) MOZ_LOG(GetPDMLog(), mozilla::LogLevel::Debug, ("VPXDecoder(%p)::%s: " arg, this, __func__, ##__VA_ARGS__))
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
using namespace gfx;
|
||||
using namespace layers;
|
||||
|
||||
extern PRLogModuleInfo* gMediaDecoderLog;
|
||||
|
||||
VPXDecoder::VPXDecoder(const VideoInfo& aConfig,
|
||||
ImageContainer* aImageContainer,
|
||||
FlushableTaskQueue* aTaskQueue,
|
||||
|
|
|
@ -12,12 +12,11 @@
|
|||
#include "nsAutoPtr.h"
|
||||
|
||||
#undef LOG
|
||||
#define LOG(type, msg) MOZ_LOG(gMediaDecoderLog, type, msg)
|
||||
extern PRLogModuleInfo* GetPDMLog();
|
||||
#define LOG(type, msg) MOZ_LOG(GetPDMLog(), type, msg)
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
extern PRLogModuleInfo* gMediaDecoderLog;
|
||||
|
||||
ogg_packet InitVorbisPacket(const unsigned char* aData, size_t aLength,
|
||||
bool aBOS, bool aEOS,
|
||||
int64_t aGranulepos, int64_t aPacketNo)
|
||||
|
|
Загрузка…
Ссылка в новой задаче