Commit Graph

961 Commits

Author SHA1 Message Date
Chris Double ext:(%20with%20tweaks%20by%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E)
ff5415dbf5 Bug 1089937 Add a fuzz time to end times for MSE reader switching on EOS r=karl,mattwoodrow
mLast{Audio,Video}Time differs from the actual end time because of
Bug 1065207 - the duration of a WebM fragment is an estimate not the
actual duration. In the case of audio time an example of where they
differ would be the actual sample duration being small but the
previous sample being large. The buffered end time uses that last
sample duration as an estimate of the end time duration giving an end
time that is greater than mLastAudioTime, which is the actual sample
end time.

Reader switching is based on the buffered end time though so we can't use
the actual sample end time for switching comparison.

For this reason we use the end time from the buffers to compare if we
should switch readers in this patch. We also add an EOS_FUZZ_US to allow
for the fact that it is an estimate and can differ slightly from actual times.

--HG--
extra : rebase_source : 47149609119c5dcd1ca7374501dd7c1e285469ef
2014-11-12 12:12:21 +13:00
Matthew Gregan
a14a83ab0f Bug 1096750 - use getPlayableVideos in test_video_in_audio_element. 2014-11-12 15:39:46 +13:00
Matthew Gregan
fb84352191 Bug 1096750 - Expect error event in test_video_in_audio_element if used with video-only media. r=cpearce 2014-11-11 15:52:37 +13:00
Seth Fowler
f72fd5c619 Bug 1071217 - Explicitly initialize the image module from gfxPlatform::Init. r=bas
--HG--
extra : rebase_source : c4c96ff051347dd85e053669533bd00d6120c75a
2014-11-11 17:28:50 -08:00
Ryan VanderMeulen
719f9216c7 Backed out 7 changesets (bug 1086693) for Android bustage on a CLOSED TREE. DONTBUILD
Backed out changeset 6eed18d830d2 (bug 1086693)
Backed out changeset b67a2e48f281 (bug 1086693)
Backed out changeset 2b4b439e7e6c (bug 1086693)
Backed out changeset 3adfd767a92f (bug 1086693)
Backed out changeset 6ea8b9247915 (bug 1086693)
Backed out changeset 408af1e3b457 (bug 1086693)
Backed out changeset 4c759b83892a (bug 1086693)
2014-11-11 16:13:15 -05:00
James Willcox
947ae1c3a2 Bug 1086693 - Part 6: Use generated bindings for AndroidMediaCodec and AndroidSurfaceTexture r=blassey,gcp 2014-11-11 14:46:09 -06:00
Ryan VanderMeulen
79ce99d826 Bug 1071217 - Disable test_imagecapture.html on Android due to going permafail.
CLOSED TREE
2014-11-11 14:43:04 -05:00
Andrea Marchesini
c30005c81b Bug 1073615 - One MediaStreamGraph singleton per audioChannel. r=roc 2014-09-29 03:43:00 -04:00
Chris Pearce
0e506710a9 Bug 1096125 - Backout c129289d32d6 as Adobe/EME doesn't actually need those DLLs for OPM handshake. r=backout. 2014-11-11 15:00:02 +13:00
Matthew Gregan
03538a225e Bug 1091704 - Delay buffer frame calculation in WMF audio decoder until after UpdateOutputType to avoid using obsolete rate/channel values. r=cpearce 2014-11-11 14:17:09 +13:00
Matthew Gregan
ee1928513d Bug 1085175 - r=roc
--HG--
extra : rebase_source : 78e0e0b21c6bb049f9112fdb3f25639c69289dd1
2014-11-11 08:58:52 +13:00
Blake
da40c53ff4 Bug 1082545 - Make fastSeek always fast. r=sotaro
--HG--
extra : rebase_source : 4e12b971b2ee18931a54d30d51fc71437e095cdd
2014-11-10 11:54:08 +08:00
Wes Kocher
31684fffbc Backed out changeset 992ad9a82996 (bug 1085175) for bustage on a CLOSED TREE 2014-11-10 13:18:40 -08:00
Matthew Gregan
2648b5a4fe Bug 1085175 - r=roc 2014-11-11 08:58:52 +13:00
Ryan VanderMeulen
d0d1b82c5c Backed out changeset 4d3c5b18b800 (bug 1085175) for Windows bustage.
CLOSED TREE
2014-11-10 14:46:27 -05:00
Matthew Gregan
0c04c04f67 Bug 1085175. r=roc
CLOSED TREE
2014-11-10 13:44:49 -05:00
Chris Pearce
cd84a0e959 Bug 1096125 - Whitelist BCrypt.dll and Crypt32.dll for loading inside GMPs. r=bobowen 2014-11-09 18:17:00 +00:00
Paul Adenot
e16a1eecf2 Bug 1032656 - Allocate the output buffer for OfflineAudioContext off-main-thread. r=ehsan
--HG--
extra : rebase_source : fa22c709a7b2883dd80ca0638fc3e21d3485b39e
2014-10-23 14:57:08 +02:00
JW Wang
6f27af6c73 Bug 1094549 - MediaCacheStream::FlushPartialBlockInternal should notify all readers even when channel offset is zero. r=roc 2014-11-06 06:53:00 +01:00
JW Wang
dc17a9ee86 Bug 1094549 - an error event should fire when decoding a zero-length file. It tests if MediaCacheStream::Read() gets stuck in waiting for data that will never come. r=roc 2014-11-06 06:52:00 +01:00
JW Wang
f9a0cebe06 Bug 758476 - fix test_play_twice.html. r=cabjir 2014-11-03 18:17:00 +01:00
Anthony Jones
7d635003be Bug 1091976 - Process MP4Reader::NotifyDataArrived() immediately; r=edwin 2014-11-10 13:32:09 +13:00
Jan-Ivar Bruaroey
88dcc00295 Bug 1090293 - Fix failure to get audio on first getUserMedia after start r=jesup
fix GetTrackTypesAvailable to not report placeholder tracks
2014-11-07 23:25:22 -05:00
Jan-Ivar Bruaroey
df7fa33d5f Bug 1091290 - Queue addIceCandidate correctly to not overwrite already-queued callbacks. r=bwc 2014-10-29 19:29:21 -04:00
Andrew Osmond
d3f34ea2cf Bug 1094816 - Fix a memory leak in MediaDeviceErrorCallback r=jesup 2014-11-07 11:52:12 -05:00
Andrew Osmond
9e82c5481b Bug 1094436 - Fix broken speech recognition requiring the wrong type of stream and leaking memory. r=jesup 2014-11-06 06:12:00 -05:00
Jed Davis
c0003b43bf Bug 1077057 - Expose Linux sandboxing information to JS via nsSystemInfo. r=kang r=froydnj
This adds "hasSeccompBPF" for seccomp-bpf support; other "has" keys
will be added in the future (e.g., user namespaces).

This also adds "canSandboxContent" and "canSandboxMedia", which are
absent if the corresponding type of sandboxing isn't enabled at build
type (or is disabled with environment variables), and otherwise present
as a boolean indicating whether that type of sandboxing is supported.
Currently this is always the same as hasSeccompBPF, but that could change
in the future.

Some changes have been made to the "mozilla/Sandbox.h" interface to
support this; the idea is that the MOZ_DISABLE_*_SANDBOX environment
variables should be equivalent to disabling MOZ_*_SANDBOX at build time.
2014-11-06 13:11:00 +01:00
Jean-Yves Avenard
a2f79473ba Bug 1093654 - Fix various memory leaks in MediaDecoders. r=jwwang
Change various function prototyping to make object ownership more explicit.
2014-11-06 19:17:05 +11:00
Jean-Yves Avenard
ad2a269a99 Bug 1092979 - Add mochitest to ensure loadedmetada is emitted as early as possible. r=cajbir 2014-11-06 21:03:39 +11:00
Chris Pearce
7803660edd Bug 1065827 - Don't fail EME mochitests if XHR fails, as XHR can fail due to test finishing before XHR completes. r=edwin 2014-11-06 14:38:00 +01:00
Jean-Yves Avenard
19cc46e52d Bug 1065827 - Invalidate video frame container during FirstFrameLoaded. r=jwwang 2014-11-06 20:56:56 +11:00
Jean-Yves Avenard
ed15542a66 Bug 1065827 - Wait for loadeddata event to start test. r=jwwang 2014-11-06 20:54:37 +11:00
Jean-Yves Avenard
832ad94e23 Bug 1065827 - Do not always wait to decode frames to emit loadedmetadata. r=jwwang 2014-11-06 20:52:44 +11:00
Jean-Yves Avenard
87553714b3 Bug 1065827 - Start MediaDecoder playback state in LOADING. r=cpearce 2014-10-28 20:10:08 +11:00
Anthony Jones
4d4119cb1a Bug 1092096 - Separate MSE prefs for MP4 and WebM on a CLOSED TREE. r=cajbir 2014-10-31 23:09:49 +13:00
Carsten "Tomcat" Book
664bf31c14 Backed out changeset aebe859551b3 (bug 1065827) for perma failures in m2 tests on a CLOSED TREE 2014-11-06 14:59:44 +01:00
Carsten "Tomcat" Book
121ca1d0c2 Backed out changeset 44f27b3c35d4 (bug 1065827) 2014-11-06 14:59:04 +01:00
Carsten "Tomcat" Book
0f4abd109e Backed out changeset 9316add97cf2 (bug 1065827) 2014-11-06 14:59:02 +01:00
Carsten "Tomcat" Book
d4d7834b06 Backed out changeset a6540a77d6f7 (bug 1065827) 2014-11-06 14:58:57 +01:00
Carsten "Tomcat" Book
df4b3dd3a6 Backed out changeset 1c969fba2f64 (bug 1092979) 2014-11-06 14:58:56 +01:00
Carsten "Tomcat" Book
4a64f5eae6 Backed out changeset 70a72a19cb4b (bug 1093654) 2014-11-06 14:58:53 +01:00
Carsten "Tomcat" Book
57f12dbfa0 Backed out changeset 1d058cefd04f (bug 1092096) for m2 test failures 2014-11-06 13:19:59 +01:00
Jean-Yves Avenard
c3bd7c5413 Bug 1093654 - Fix various memory leaks in MediaDecoders. r=jwwang
Change various function prototyping to make object ownership more explicit.
2014-11-06 19:17:05 +11:00
Jean-Yves Avenard
24094f6812 Bug 1092979 - Add mochitest to ensure loadedmetada is emitted as early as possible. r=cajbir 2014-11-06 21:03:39 +11:00
Jean-Yves Avenard
aad691649b Bug 1065827 - Invalidate video frame container during FirstFrameLoaded. r=jwwang 2014-11-06 20:56:56 +11:00
Jean-Yves Avenard
d2d552d81a Bug 1065827 - Wait for loadeddata event to start test. r=jwwang 2014-11-06 20:54:37 +11:00
Jean-Yves Avenard
8f6e3e468e Bug 1065827 - Do not always wait to decode frames to emit loadedmetadata. r=jwwang 2014-11-06 20:52:44 +11:00
Jean-Yves Avenard
b30c9d4926 Bug 1065827 - Start MediaDecoder playback state in LOADING. r=cpearce 2014-10-28 20:10:08 +11:00
Carsten "Tomcat" Book
92008ff307 Backed out changeset 04d5a617450f (bug 1092979) for needed checkin of another bug first 2014-11-06 10:27:10 +01:00
Anthony Jones
c95216d4a3 Bug 1092096 - Separate MSE prefs for MP4 and WebM; r=cajbir 2014-10-31 23:09:49 +13:00