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.
Created attachment 628590 [details] [diff] [review] Mark audio/video streams as finished on eos 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.