Closed
Bug 1054828
Opened 11 years ago
Closed 11 years ago
Improve MediaDecoderStateMachine logging
Categories
(Core :: Audio/Video, defect)
Core
Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: jwwang, Assigned: jwwang)
Details
Attachments
(1 file, 1 obsolete file)
35.44 KB,
patch
|
jwwang
:
review+
|
Details | Diff | Splinter Review |
1. Add some debugging logs
2. Add DECODER_WARN to output warning messages which includes decoder pointer to make debugging easier
3. Replace |DECODER_LOG(PR_LOG_WARNING, ...)| with |DECODER_WARN| so that it is easier to see warning messages in debug build without turning on PRLOG.
Assignee | ||
Comment 1•11 years ago
|
||
Updated•11 years ago
|
Attachment #8474335 -
Flags: review?(cpearce) → review+
Assignee | ||
Comment 2•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=5aef45a04b3b
It breaks Windows debug build, weird...
I guess have to tweak the macro to make MSVC happy...
Assignee | ||
Comment 3•11 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=46320937&tree=Try&full=1#error0
The macro is expanded to
nsPrintfCString("Decoder=%p " "Failed to request video during seek", mDecoder.get(),).get()
I don't understand why the extra comma is not deleted.
Assignee | ||
Comment 4•11 years ago
|
||
A workaround for the build error in comment 3.
Try: https://tbpl.mozilla.org/?tree=Try&rev=80d42ca1e1cf
All platforms build green.
Attachment #8474335 -
Attachment is obsolete: true
Attachment #8475810 -
Flags: review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 5•11 years ago
|
||
Keywords: checkin-needed
Comment 6•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in
before you can comment on or make changes to this bug.
Description
•