Bug 1407810 - Use DDLogger in media stack - r=jwwang
Mostly-mechanical additions: - Log constructions&destructions, usually by just inheriting from DecoderDoctorLifeLogger, otherwise with explicit log commands (for internal classes for which DecoderDoctorTraits can't be specialized), - Log links between most objects, e.g.: Media element -> decoder -> state machine -> reader -> demuxer -> resource, etc. And logging some important properties and events (JS events, duration change, frames being decoded, etc.) More will be added later on, from just converting MOZ_LOGs, and as needed. MozReview-Commit-ID: KgNhHSz35t0
This commit is contained in:
@@ -48,10 +48,12 @@ HTMLVideoElement::HTMLVideoElement(already_AddRefed<NodeInfo>& aNodeInfo)
|
||||
: HTMLMediaElement(aNodeInfo)
|
||||
, mIsOrientationLocked(false)
|
||||
{
|
||||
DecoderDoctorLogger::LogConstruction(this);
|
||||
}
|
||||
|
||||
HTMLVideoElement::~HTMLVideoElement()
|
||||
{
|
||||
DecoderDoctorLogger::LogDestruction(this);
|
||||
}
|
||||
|
||||
nsresult HTMLVideoElement::GetVideoSize(nsIntSize* size)
|
||||
|
||||
Reference in New Issue
Block a user