Commit Graph

3990 Commits

Author SHA1 Message Date
Ehsan Akhgari
f05685cb25 Bug 1197185 - Give NonE10s a virtual destructor; r=jesup
The Parent template class inherits from both NonE10s and PMediaParent,
and the latter has a virtual destructor.  This confuses clang-tidy when
it wants to rewrite ~Parent() which is currently marked as virtual, and
it makes ~Parent() override which breaks the build since ~NonE10s() is
not virtual.  The easiest way to work around this seems to be making
~NonE10s() virtual.  See the discussion in
https://llvm.org/bugs/show_bug.cgi?id=24496 as well.
2015-08-21 17:53:35 -04:00
Alastor Wu
c2936c3691 Bug 1187092 - Refactor the suspend process. r=jwwang 2015-08-19 12:43:25 +08:00
Ryan VanderMeulen
f31d1cba33 Bug 1187903 - Skip various failure-prone EME tests on Windows debug. 2015-08-21 09:41:52 -04:00
Andrea Marchesini
259a723567 Bug 1191814 - WebSpeech synthesis API and AudioChannelService, r=eeejay 2015-08-21 11:58:06 +01:00
Sebastian Hengst
79abdcd746 Backed out changeset 6beb23f39237 (bug 1195073) because other parts of the bug have been backed out. r=backout 2015-08-21 11:31:59 +02:00
Sebastian Hengst
db07879887 Backed out 5 changesets 507a508aea7, 16669eed518d, 6f6fc1a91d07, 1e983ccb61cc, c5afa29ea85a (bug 1195073) for M2 and W5 on OSX and Linux and R(R2, Ru2) bustage on Linux. r=backout
Backed out changeset 507a508aea70 (bug 1195073)
Backed out changeset 16669eed518d (bug 1195073)
Backed out changeset 6f6fc1a91d07 (bug 1195073)
Backed out changeset 1e983ccb61cc (bug 1195073)
Backed out changeset c5afa29ea85a (bug 1195073)
2015-08-21 10:46:05 +02:00
Edwin Flores
e54922879c Bug 1197051 - Don't try to decode ahead while seeking - r=jya 2015-08-21 17:25:46 +10:00
Jean-Yves Avenard
36e9ca19a9 Bug 1195073: [MSE] P6. Fix B2G build. a=bustage 2015-08-21 16:40:18 +10:00
Jean-Yves Avenard
bae9f15f36 Bug 1195073: [MSE] P5. Detect out of order appends and recreate demuxer. r=gerald
The webm demuxer will only handle data where frames's a monotonically increasing.
2015-08-21 16:15:36 +10:00
Jean-Yves Avenard
c3fd52b54a Bug 1195073: [MSE/webm] P4. Limit nestegg reads to the last block's boundaries. r=kinetik
This prevent entering into an unrecoverable error state when parsing incomplete data as often seen with MSE.
2015-08-21 16:15:35 +10:00
Jean-Yves Avenard
34da482ec2 Bug 1195073: [webm] P3. Initialize members. r=kinetik 2015-08-21 16:15:35 +10:00
Jean-Yves Avenard
bc02eee4d2 Bug 1195073: [webm] P2. Add WebMBufferedState::GetLastBlockOffset method. r=kinetik
MSE may input partial media segment, which could cause the WebMDemuxer and libnestegg to error upon encountering an incomplete block which can't be recovered from.
this will allow to limit read to known complete blocks.
2015-08-21 16:15:34 +10:00
Jean-Yves Avenard
b430a15240 Bug 1195073: [MSE/webm] P1. Detect individual webm clusters. r=kinetik
WebMContainerParser was incorrectly reporting webm blocks rather than clusters, causing the webm demuxer to later fail to parse the remaining data.
2015-08-21 16:15:34 +10:00
Jean-Yves Avenard
cdfe186b45 Bug 1196398: [mp4] Do not allocate memory spanning across ftyp and moov atom. r=kentuckyfriedtakahe
A typical non-fragmented mp4 would have the ftyp atom located at the beginning of the mp4 and the moov at the end. We would to calculate the location of the metadata by spanning the byte range of the two atoms.
As such, we would typically allocate an amount of memory equivalent to the size of the mp4.

Instead we now reconstruct the metadata to only have the ftyp and moov atoms contiguously.
2015-08-21 15:35:31 +10:00
Jean-Yves Avenard
c9a46a7f39 Revert "Bug 1196398: [mp4] Do not allocate memory spanning across ftyp and moov atom. r=kentuckyfriedtakahe"
This reverts commit 73156610be5f
2015-08-21 14:48:23 +10:00
Jean-Yves Avenard
e1fba5fbd6 Bug 1196398: [mp4] Do not allocate memory spanning across ftyp and moov atom. r=kentuckyfriedtakahe
A typical non-fragmented mp4 would have the ftyp atom located at the beginning of the mp4 and the moov at the end. We would to calculate the location of the metadata by spanning the byte range of the two atoms.
As such, we would typically allocate an amount of memory equivalent to the size of the mp4.

Instead we now reconstruct the metadata to only have the ftyp and moov atoms contiguously.
2015-08-21 13:10:34 +10:00
Chris Pearce
df49e88fd2 Bug 1197022 - [EME] Disable dormant mode for EME videos on all channels. r=kentuckyfriedtakahe 2015-08-21 13:34:21 +12:00
Karl Tomlinson
4c9ecfb041 bug 1196632 pass ownership of runnables to NS_DispatchToMainThread r=jesup
The already_AddRefed<nsIRunnable>&& overload saves some ref-counting and
provides an assertion if called too late in shutdown.
2015-08-20 09:52:56 +12:00
Karl Tomlinson
1f03daa74c bug 1196111 don't keep AudioContext alive from AudioBuffer r=baku
AudioBuffers are often generated from OfflineAudioContext to be used in other
contexts, when the OfflineAudioContext is no longer required.
2015-08-18 11:48:38 +12:00
Wes Kocher
54b7c0eff4 Backed out changeset f51c32dbea00 (bug 875573) for test_can_play_type_mpeg.html orange 2015-08-20 16:19:39 -07:00
Roman Reiss
020c889f4f Bug 875573 - Add video/x-m4v mime type to MP4Decoder r=kentuckyfriedtakahe 2015-08-20 14:14:11 -07:00
Wes Kocher
2c89f1d3c0 Backed out changeset 91cc337bef3b (bug 1191814) for m-e10s(3) failures in test_global_queue_pause.html 2015-08-20 12:05:37 -07:00
Andrea Marchesini
181c338707 Bug 1184807 - better management of the dispatching of events when shutting down, r=rjesup 2015-08-20 19:54:50 +01:00
Andrea Marchesini
d5b0e653c7 Bug 1191814 - WebSpeech synthesis API and AudioChannelService, r=eeejay 2015-08-20 12:48:57 +01:00
Andrea Marchesini
40fffc3959 Bug 1184807 - TextTrackList should check if we are shutting down before dispatching events, r=mccr8 2015-08-20 17:45:34 +01:00
Matt Woodrow
b737d30e9d Bug 1196417 - Make video software fallback only affect the current video instead of the entire browser. r=cpearce 2015-08-20 11:43:36 -04:00
Matt Woodrow
2b4a4abd54 Bug 1196408 - Make sure we only report a corrupt/slow video frame once. r=cpearce 2015-08-20 11:39:49 -04:00
Matt Woodrow
dff66496c6 Bug 1196411 - Disable DXVA on 60fps 1080p videos for AMD cards that can't decode quick enough. r=jya 2015-08-20 11:37:26 -04:00
Matt Woodrow
85ff3bdccf Bug 1196409 - Disable D3D11-DXVA for resolutions not supported in hardware. r=jya 2015-08-20 11:36:04 -04:00
Jean-Yves Avenard
dc456b6648 Bug 1196591: Initialize member. r=me
Small correction introduced in bug 1190238
2015-08-20 21:04:28 +10:00
Andrea Marchesini
70cb6ddacd Bug 1196514 - remove dom.messagechannel.enabled pref, r=smaug 2015-08-20 08:34:38 +01:00
JW Wang
2c7c90a745 Bug 1195185. Part 4 - remove dead code. r=roc. 2015-08-20 13:02:54 +08:00
JW Wang
bfef40beca Bug 1195185. Part 3 - align the life cycle of mData with {Start,Stop}Playback. r=roc. 2015-08-20 13:02:43 +08:00
JW Wang
b471cfd9f3 Bug 1195185. Part 2 - Check if all output streams are from the same graph because we don't support connecting streams from different graphs. r=roc. 2015-08-20 13:02:31 +08:00
JW Wang
791fc93907 Bug 1195185. Part 1 - rename Connect/Remove to AddOutput/RemoveOutput. r=roc. 2015-08-20 13:02:20 +08:00
Ehsan Akhgari
32a369b80d Bug 1196361 - Remove the media.useAudioChannelService pref; r=baku
We need to rely on the audio channel service for all products now,
so supporting running without it seems pointless at this point.
2015-08-19 21:00:18 -04:00
Benjamin Chen
0dcd0f0e04 Bug 1071375: Re-enable some MediaRecorder tests. r=jwwang 2015-08-17 17:31:14 +08:00
Kilik Kuo
fa4c4819ee Bug 1188268 - Make AudioSink a base class, create DecodedAudioDataSink to act as original AudioSink, and move sink-related files to dom/media/mediasink. r=jwwang, r=cpearce 2015-08-18 11:55:01 +08:00
Jean-Yves Avenard
8ad828bf9a Bug 1180214: P3. Do not override known duration with approximated one. r=edwin
Some gstreamer plugin return nonsensical values
2015-08-19 15:51:01 +10:00
William Chen
cb7d38cf1d Bug 1131470 - Part 1: Rename existing use of ScreenOrientation to ScreenOrientationInternal. r=baku 2015-08-18 14:55:09 -07:00
Matt Woodrow
14403876cf Bug 1195527 - Part 2: Add D3D11 video TextureClient recycler. r=jrmuizel 2015-08-18 21:04:46 -04:00
Matt Woodrow
5eeaa93ed8 Bug 1195527 - Part 1: Move D3D11 texture allocation into the TextureClient. r=jrmuizel 2015-08-18 21:04:14 -04:00
Bobby Holley
b9e9d253f8 Bug 1195867 - Hoist StateWatching and StateMirroring into XPCOM. r=froydnj 2015-08-18 15:37:06 -07:00
Eugen Sawin
09f9f9e8c4 Bug 1194085 - Abort frame parsing if no valid audio stream is found. r=jya 2015-08-18 20:49:58 +02:00
Matt Woodrow
050cac5369 Bug 1194753 - Wait longer when decoding the first frame of D3D9 DXVA video before deciding it is invalid. r=cpearce 2015-08-18 14:19:45 -04:00
Ryan VanderMeulen
7a64b3eade Backed out changeset ee800c0e234f (bug 1187092) for media crashes/asserts. 2015-08-18 13:11:05 -04:00
Alastor Wu
2c9a9f9667 Bug 1187092 - Refactor the suspend process. r=jwwang 2015-08-17 17:25:07 +08:00
Alfredo Yang
303ddbef37 Bug 1195625 - Use correct TaskQueue in SharedDecoderManager and H264Converter promise. r=jya 2015-08-17 23:47:00 -04:00
Alfredo Yang
7369e9e20c Bug 1179667 - Use MozPromise to initialize Gonk PlatformDecodeModule. r=jya 2015-08-17 23:05:00 -04:00
Sebastian Hengst
77867db976 Backed out changesets d0eee19c83cd, 0c54ee53678f, 5b202008a431, 81291b4e6dc3, acbc0d7e21cd, a7ceb6162a63 (bug 1194112) for Linux x64 Hazard failure. r=backout
Backed out changeset d0eee19c83cd (bug 1194112)
Backed out changeset 0c54ee53678f (bug 1194112)
Backed out changeset 5b202008a431 (bug 1194112)
Backed out changeset 81291b4e6dc3 (bug 1194112)
Backed out changeset acbc0d7e21cd (bug 1194112)
Backed out changeset a7ceb6162a63 (bug 1194112)
2015-08-18 11:11:38 +02:00