Closed
Bug 1065905
Opened 11 years ago
Closed 11 years ago
WARNING: Should be playing: 'mPlaying', file ../../../gecko/content/media/AudioSink.cpp, line 303
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
mozilla35
People
(Reporter: jwwang, Assigned: jwwang)
Details
Attachments
(1 file)
1.14 KB,
patch
|
kinetik
:
review+
|
Details | Diff | Splinter Review |
Found this bug while testing media tests on B2G emulator debug.
https://tbpl.mozilla.org/php/getParsedLog.php?id=47848925&tree=Try&full=1
21:25:55 INFO - [Child 767] WARNING: Should be playing: 'mPlaying', file ../../../gecko/content/media/AudioSink.cpp, line 303
file: https://hg.mozilla.org/try/file/7a883a65dad9/content/media/AudioSink.cpp#l303
Assignee | ||
Comment 1•11 years ago
|
||
Remove warning on |mPlaying| for it could change when AudioSink not in the monitor.
Assignee: nobody → jwwang
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•11 years ago
|
||
Comment on attachment 8489212 [details] [diff] [review]
1065905_fix_mPlaying_in_AudioSink-v1.patch
Review of attachment 8489212 [details] [diff] [review]:
-----------------------------------------------------------------
::: content/media/AudioSink.cpp
@@ -298,5 @@
> - ReentrantMonitorAutoEnter mon(GetReentrantMonitor());
> - NS_WARN_IF_FALSE(mPlaying, "Should be playing");
> - // Awaken the decode loop if it's waiting for space to free up in the
> - // audio queue.
> - GetReentrantMonitor().NotifyAll();
Remove notification for it is already handled by the pop listener.
http://hg.mozilla.org/mozilla-central/file/bf5fcc0c4b27/content/media/MediaDecoderStateMachine.cpp#l1947
Assignee | ||
Comment 3•11 years ago
|
||
Comment on attachment 8489212 [details] [diff] [review]
1065905_fix_mPlaying_in_AudioSink-v1.patch
Try: https://tbpl.mozilla.org/?tree=Try&rev=10a73aec1d8b
Most green.
Attachment #8489212 -
Flags: review?(kinetik)
Updated•11 years ago
|
Attachment #8489212 -
Flags: review?(kinetik) → review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
![]() |
||
Comment 4•11 years ago
|
||
Keywords: checkin-needed
![]() |
||
Comment 5•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in
before you can comment on or make changes to this bug.
Description
•