Closed
Bug 1138253
Opened 10 years ago
Closed 10 years ago
VideoPlaybackQuality stats are bogus
Categories
(Core :: Audio/Video, defect, P2)
Tracking
()
RESOLVED
FIXED
mozilla39
People
(Reporter: ajones, Assigned: ajones)
References
(Blocks 2 open bugs)
Details
Attachments
(2 files, 1 obsolete file)
17.00 KB,
patch
|
cpearce
:
review+
lmandel
:
approval-mozilla-aurora+
lmandel
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
19.38 KB,
patch
|
Details | Diff | Splinter Review |
The number of dropped frames includes the frames that have been demuxed but not yet presented. This therefore includes the frames being decoded as well as the ones in the queue for presentation. Corrupted frames is also incorrect in a similar way.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8571136 -
Flags: review?(cpearce)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → ajones
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8571137 -
Flags: review?(cpearce)
Assignee | ||
Comment 3•10 years ago
|
||
Comment 4•10 years ago
|
||
Comment on attachment 8571136 [details] [diff] [review]
Clean up AutoNotifyDecoded
Might be worth fixing AutoNotifyDecoded to comply with https://developer.mozilla.org/en-US/docs/Using_RAII_classes_in_Mozilla while you're here, too.
Updated•10 years ago
|
Attachment #8571136 -
Flags: review?(cpearce) → review+
Comment 5•10 years ago
|
||
Comment on attachment 8571137 [details] [diff] [review]
Count dropped frames directly
Review of attachment 8571137 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/media/MediaDecoderStateMachine.cpp
@@ +3137,5 @@
> while (IsRealTime() || clock_time >= frame->mTime) {
> mVideoFrameEndTime = frame->GetEndTime();
> + if (currentFrame) {
> + MediaDecoder::FrameStatistics& frameStats = mDecoder->GetFrameStatistics();
> + frameStats.NotifyDecodedFrames(0, 0, 1);
You could just call mDecoder->NotifyDecodedFrames(0,0,1) here.
Attachment #8571137 -
Flags: review?(cpearce) → review+
Assignee | ||
Comment 6•10 years ago
|
||
Assignee | ||
Comment 7•10 years ago
|
||
(In reply to Matthew Gregan [:kinetik] from comment #4)
> Comment on attachment 8571136 [details] [diff] [review]
> Clean up AutoNotifyDecoded
>
> Might be worth fixing AutoNotifyDecoded to comply with
> https://developer.mozilla.org/en-US/docs/Using_RAII_classes_in_Mozilla while
> you're here, too.
The purpose of the change is to fix scoping issues. I don't think the above applies in this case.
Assignee | ||
Comment 8•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #8571137 -
Attachment is obsolete: true
Updated•10 years ago
|
Priority: -- → P2
Assignee | ||
Comment 9•10 years ago
|
||
Comment 11•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/743bc389a2ce
https://hg.mozilla.org/mozilla-central/rev/0d806ade061f
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
Updated•10 years ago
|
Blocks: EME, eme-platform-uplift
Assignee | ||
Comment 12•10 years ago
|
||
Comment on attachment 8571136 [details] [diff] [review]
Clean up AutoNotifyDecoded
Approval Request Comment
[Feature/regressing bug #]: 962385
[User impact if declined]: Misreporting of dropped frames. MSE will compensate by dropping video quality
[Describe test coverage new/current, TreeHerder]:
Been on nightly for a day. Not well tested in automation.
[Risks and why]: Could potentially still be incorrect.
[String/UUID change made/needed]: None
Attachment #8571136 -
Flags: approval-mozilla-beta?
Attachment #8571136 -
Flags: approval-mozilla-aurora?
Updated•10 years ago
|
Updated•10 years ago
|
Flags: needinfo?(cpearce)
Comment 13•10 years ago
|
||
Comment 14•10 years ago
|
||
cpearce - Do you want to test the correctness of this patch on Aurora before uplift to Beta?
Comment 15•10 years ago
|
||
Updated•10 years ago
|
Flags: needinfo?(cpearce)
Comment 16•10 years ago
|
||
Comment on attachment 8571136 [details] [diff] [review]
Clean up AutoNotifyDecoded
Preapproved for MSE. Adding approval to the bug after the fact. Beta+ Aurora+
Attachment #8571136 -
Flags: approval-mozilla-beta?
Attachment #8571136 -
Flags: approval-mozilla-beta+
Attachment #8571136 -
Flags: approval-mozilla-aurora?
Attachment #8571136 -
Flags: approval-mozilla-aurora+
You need to log in
before you can comment on or make changes to this bug.
Description
•