Closed
Bug 1283489
Opened 8 years ago
Closed 8 years ago
"ASSERTION: Clock should go forwards" changing playbackRate
Categories
(Core :: Audio/Video: Playback, defect, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: jruderman, Assigned: fatseng)
References
Details
(Keywords: assertion, testcase)
Attachments
(3 files, 1 obsolete file)
No description provided.
Reporter | ||
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
Farmer, This bug should be suitable to you. Please have a look. Thanks!
Flags: needinfo?(fatseng)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → fatseng
Updated•8 years ago
|
Priority: -- → P2
Mass change P2 -> P3
Priority: P2 → P3
Assignee | ||
Comment 5•8 years ago
|
||
http://searchfox.org/mozilla-central/source/dom/media/mediasink/AudioSinkWrapper.cpp#125 mParams.mPlaybackRate should be updated after call GetVideoPosition().
Assignee | ||
Comment 6•8 years ago
|
||
I will prepare patch later.
Assignee | ||
Comment 7•8 years ago
|
||
Here is try server result. https://treeherder.mozilla.org/#/jobs?repo=try&revision=796bd18fa38e
Attachment #8769527 -
Flags: review?(jwwang)
Comment 8•8 years ago
|
||
Comment on attachment 8769527 [details] [diff] [review] mParams.mPlaybackRate should be updated after store mPlayDuration Review of attachment 8769527 [details] [diff] [review]: ----------------------------------------------------------------- I can't see how that will make a difference. Can you elaborate it?
Assignee | ||
Comment 9•8 years ago
|
||
http://searchfox.org/mozilla-central/source/dom/media/mediasink/AudioSinkWrapper.cpp#133 GetVideoPosition(now) generate timestamp and store in mPlayDuration; http://searchfox.org/mozilla-central/source/dom/media/mediasink/AudioSinkWrapper.cpp#67 but GetVideoPosition() use mParams.mPlaybackRate to calculate it. Therefore, we should use old playback rate to generate it.
Flags: needinfo?(jwwang)
Comment 10•8 years ago
|
||
Comment on attachment 8769527 [details] [diff] [review] mParams.mPlaybackRate should be updated after store mPlayDuration Review of attachment 8769527 [details] [diff] [review]: ----------------------------------------------------------------- Please add comments why mParams.mPlaybackRate should be updated after the call to GetVideoPosition().
Attachment #8769527 -
Flags: review?(jwwang) → review+
Updated•8 years ago
|
Flags: needinfo?(jwwang)
Assignee | ||
Comment 11•8 years ago
|
||
Carry on Comment 10
Attachment #8769527 -
Attachment is obsolete: true
Attachment #8769556 -
Flags: review+
Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Comment 12•8 years ago
|
||
Pushed by cbook@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/ed9cd1e7f95a mParams.mPlaybackRate should be updated after call GetVideoPosition(). r=jwwang
Keywords: checkin-needed
Comment 13•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ed9cd1e7f95a
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in
before you can comment on or make changes to this bug.
Description
•