Closed
Bug 481057
Opened 16 years ago
Closed 16 years ago
Implement MEDIA_ERR_DECODE machinery
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| status1.9.2 | --- | beta1-fixed |
People
(Reporter: kinetik, Assigned: kinetik)
References
Details
Attachments
(1 file, 2 obsolete files)
|
164.27 KB,
patch
|
cajbir
:
review+
roc
:
approval1.9.2+
|
Details | Diff | Splinter Review |
We need to implement the part of the spec that covers the "if the media data is corrupted" case. This was implemented (partially?) as part of another patch, but this part never made it into the tree for reasons I can't remember now.
| Assignee | ||
Comment 1•16 years ago
|
||
Bug 449159 comment 47 and bug 449159 comment 51 (which I can't find a bug for, so I guess might have just gotten lost).
The Wave decoder already tries to fire an error for this case, but it's stubbed out in nsWaveDecoder::MediaErrorDecode.
| Assignee | ||
Updated•16 years ago
|
Flags: wanted1.9.2?
| Assignee | ||
Comment 2•16 years ago
|
||
Initial patch. Still need to make the Ogg decoder fire decode errors. This patch also renames MEDIA_ERR_NONE_SUPPORTED to MEDIA_ERR_SRC_NOT_SUPPORT per the spec.
Assignee: nobody → kinetik
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•16 years ago
|
||
Er, that'd be MEDIA_ERR_SRC_NOT_SUPPORTED.
Flags: wanted1.9.2? → wanted1.9.2+
| Assignee | ||
Comment 4•16 years ago
|
||
Rebased against trunk, uses new test infrastructure, adds tests for Ogg decoder and constants.
Needs superview because it modifies web-exposed IDL.
Attachment #380699 -
Attachment is obsolete: true
Attachment #399149 -
Flags: superreview?(roc)
Attachment #399149 -
Flags: review?(chris.double)
Comment on attachment 399149 [details] [diff] [review]
patch v1
Looks good. The only issue is whether we can make the test ogg file smaller.
Attachment #399149 -
Flags: superreview?(roc) → superreview+
| Assignee | ||
Comment 7•16 years ago
|
||
Same, but with the FLAC stripped out of the test file (saves ~200kB) and renamed from dirac_flac.ogg to dirac.ogg, some minor changes to the test, and slightly improved (but still not great) comments on gErrorTests and gDecodeErrorTests in manifest.js.
Attachment #399149 -
Attachment is obsolete: true
Attachment #399153 -
Flags: review?(chris.double)
Attachment #399149 -
Flags: review?(chris.double)
Updated•16 years ago
|
Attachment #399153 -
Flags: review?(chris.double) → review+
| Assignee | ||
Comment 8•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•16 years ago
|
Attachment #399153 -
Flags: approval1.9.2?
Attachment #399153 -
Flags: approval1.9.2? → approval1.9.2+
Comment 9•16 years ago
|
||
status1.9.2:
--- → beta1-fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•