mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 16:28:38 +09:00
Remove DirectShowReader Part 4: Tests
This commit is contained in:
parent
f9d8a59a89
commit
fa8d24c264
2 changed files with 3 additions and 4 deletions
|
|
@ -266,10 +266,10 @@ var gPlayTests = [
|
|||
{ name:"small-shot.mp3", type:"audio/mpeg", duration:0.27 },
|
||||
{ name:"owl.mp3", type:"audio/mpeg", duration:3.343 },
|
||||
// owl.mp3 as above, but with something funny going on in the ID3v2 tag
|
||||
// that causes DirectShow to fail.
|
||||
// that caused DirectShow to fail.
|
||||
{ name:"owl-funny-id3.mp3", type:"audio/mpeg", duration:3.343 },
|
||||
// owl.mp3 as above, but with something even funnier going on in the ID3v2 tag
|
||||
// that causes DirectShow to fail.
|
||||
// that caused DirectShow to fail.
|
||||
{ name:"owl-funnier-id3.mp3", type:"audio/mpeg", duration:3.343 },
|
||||
// One second of silence with ~140KB of ID3 tags. Usually when the first MP3
|
||||
// frame is at such a high offset into the file, MP3FrameParser will give up
|
||||
|
|
|
|||
|
|
@ -151,8 +151,7 @@ var haveMp4 = (getPref("media.wmf.enabled") && IsWindowsVistaOrLater()) ||
|
|||
|
||||
check_mp4(document.getElementById('v'), haveMp4);
|
||||
|
||||
var haveMp3 = getPref("media.directshow.enabled") ||
|
||||
(getPref("media.wmf.enabled") && IsWindowsVistaOrLater()) ||
|
||||
var haveMp3 = getPref("media.wmf.enabled") ||
|
||||
(IsLinux() && getPref("media.ffmpeg.enabled")) ||
|
||||
(IsSupportedAndroid() &&
|
||||
((IsJellyBeanOrLater() && getPref("media.android-media-codec.enabled")) ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue