Closed Bug 564345 Opened 14 years ago Closed 14 years ago

A ogg theora video plays fine in Firefox 3.6 but won't playback properly on latest Minefield

Categories

(Core :: Audio/Video, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: nirvn.asia, Assigned: cpearce)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Build Identifier: 

The summary says it all. Some ogg theora videos used to play just fine on firefox 3.6 and are now refusing to playback properly on Minefield. This started after Minefield re-wrote the ogg backend (it happened in April 2010 I think).

Reproducible: Always

Steps to Reproduce:
1. Download the ogg theora video from http://www.licadho-cambodia.org/video.ogv
2. Try playing video on Minefield
Actual Results:  
The "loading throbber" never disappears, while the video plays under it.

Expected Results:  
The "loading throbber" disappears and the video plays normally.

The video was converted to ogg theora using ffmpeg2theora 0.26. As I said, it used to play perfectly fine on firefox 3.6 but now has issues.
This file contains an empty vorbis stream which finishes at the start of the stream. If I oggz-rip out the Theora stream, the Theora track plays fine.

Our HaveNextFrameData() function is assumes that if we have an audio stream, we must have pending playable audio data in order to have data to play for the next frame, even if the stream has already finished. Once the audio stream has finished, we assume that since we've not got audio data, the audio decode must be falling behind, and we switch to readyState NEXT_FRAME_UNAVAILABLE, and the throbber shows.

We need to fix GetNextFrameStatus() to not consider streams which have reached EOS.
Assignee: nobody → chris
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Thanks for the bug report Mathieu. Fix is in patch for bug 562840.
Depends on: 562840
OS: Windows 7 → All
Version: unspecified → Trunk
Thanks for being so respond to this bug.
Summary: A ogg theora video plays find in Firefox 3.6 but won't playback properly on latest Minefield → A ogg theora video plays fine in Firefox 3.6 but won't playback properly on latest Minefield
Fixed by checkin of bug 562840.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.