Closed Bug 759948 Opened 9 years ago Closed 9 years ago

libstagefright based media playback doesn't receive ended event when complete on B2G

Categories

(Core :: Audio/Video, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15
blocking-kilimanjaro ?
blocking-basecamp +

People

(Reporter: cajbir, Assigned: cajbir)

References

Details

Attachments

(1 file)

When playing an H.264 video with bug 714408 applied the video does not end correctly once playback is complete. The controls continue to show the paused graphic and the video cannot be restarted by toggling pause/play.

Steps to reproduce:

1. Go to http://cd.pn/b2 in the B2G browser
2. Press Play
3. Wait for video to end (3:02 on the timeline)

What happens:

Video display shows a black frame. Controls show the "Pause" button. Toggling the button does nothing.

What should happen:

Controls show the "Play" button. Pressing restarts the video.
Depends on: 714408
Mark the audio and video streams as finished in the plugin reader when the plugin reports the stream as complete. Tidy up the audio reading code in omx plugin to make this clearer.
Assignee: nobody → chris.double
Status: NEW → ASSIGNED
Attachment #628590 - Flags: review?(eflores)
blocking-basecamp: --- → ?
blocking-kilimanjaro: --- → ?
https://hg.mozilla.org/integration/mozilla-inbound/rev/85d7a53151ea
Target Milestone: --- → mozilla15
https://hg.mozilla.org/mozilla-central/rev/85d7a53151ea
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
blocking-basecamp: ? → +
You need to log in before you can comment on or make changes to this bug.