Closed
Bug 1035758
Opened 11 years ago
Closed 11 years ago
AudioOffloadPlayback: Music app progress bar resets when seek during pause
Categories
(Core :: Audio/Video, defect)
Tracking
()
People
(Reporter: vasanth, Assigned: vasanth)
References
()
Details
(Keywords: regression, Whiteboard: [caf priority: p2][CR 688511])
Attachments
(1 file)
1.10 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
STR:
----
1. Open the Music App.
2. Play an AAC/MP3 clip with length more than 60secs. (only in offload playback)
3. Pause the playback.
4. Perform seek.
5. The progress bar pointer moves to beginning of the progress bar.
6. Resume the playback. But the audio resumes from the the seeked position in Step4.
Analysis
--------
It's a bug in my code [1] uncovered by fix for [2]
Always MediaOmxDecoder::PlaybackPositionChanged() should be called during offload playback,
but since I didn't make it virtual, MediaDecoder::PlaybackPositionChanged()
was called when seek completed [3], which resets seek bar in UI.
Also made sure all other functions overridden in child (MediaOmxDecoder) are declared virtual in parent (MediaDecoder)
Attached the fix.
[1] https://bugzil.la/976172
[2] https://bugzil.la/778077
[3] http://dxr.mozilla.org/mozilla-central/source/content/media/MediaDecoder.cpp#1077
Attachment #8452253 -
Flags: review?(roc)
Updated•11 years ago
|
Whiteboard: [CR 688511] → [caf priority: p2][CR 688511]
Updated•11 years ago
|
Component: General → Video/Audio
Product: Firefox OS → Core
Attachment #8452253 -
Flags: review?(roc) → review+
Hi Robert,
Could you please give try run if needed?
Else can we add checkin-needed?
Flags: needinfo?(roc)
Flags: needinfo?(roc)
You should get level 1 access so you can tryserver things yourself :-)
(In reply to Robert O'Callahan (:roc) (Mozilla Corporation) from comment #3)
> You should get level 1 access so you can tryserver things yourself :-)
Yep. Trying for that.
Starred 2 failures in try build. Adding checkin-needed flag
Keywords: checkin-needed
Updated•11 years ago
|
blocking-b2g: 2.0? → 2.0+
Updated•11 years ago
|
Keywords: regression
Comment 5•11 years ago
|
||
Keywords: checkin-needed
Comment 6•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
Comment 7•11 years ago
|
||
status-b2g-v2.0:
--- → fixed
status-b2g-v2.1:
--- → fixed
status-firefox31:
--- → wontfix
status-firefox32:
--- → fixed
status-firefox33:
--- → fixed
Comment 8•10 years ago
|
||
covered by this test case because it covers slider bar(scrubber) manipulation:
https://moztrap.mozilla.org/manage/case/8519/
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Flags: in-moztrap?(rmead)
Comment 9•10 years ago
|
||
Test case has been added to moztrap:
https://moztrap.mozilla.org/manage/case/14324/
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker)
Flags: in-moztrap?(rmead)
Flags: in-moztrap+
You need to log in
before you can comment on or make changes to this bug.
Description
•