Commit Graph

3703 Commits

Author SHA1 Message Date
Ryan VanderMeulen
1b8b39ab09 Bug 909925 - Re-enable previously-disabled WebRTC crashtests on Android/B2G. 2015-07-31 14:44:37 -04:00
Boris Zbarsky
57621e1167 Bug 1135961. Implement subclassing of DOM objects. r=peterv 2015-07-31 13:30:55 -04:00
Carsten "Tomcat" Book
7005e3bf85 Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2015-07-31 13:50:49 +02:00
Carsten "Tomcat" Book
7b02077e1e merge mozilla-inbound to mozilla-central a=merge 2015-07-31 12:06:51 +02:00
Wes Kocher
fde3090001 Backed out changeset b9cc2c3f8bda (bug 1187247) because the patch this depends on was backed out a=backout 2015-07-30 15:23:55 -07:00
Ryan VanderMeulen
7c486ed4c2 Merge inbound to m-c. a=merge 2015-07-30 16:08:21 -04:00
Ryan VanderMeulen
6153d67abe Merge m-c to b2g-inbound. a=merge
CLOSED TREE
2015-07-30 11:57:28 -04:00
JW Wang
17e42272cd Bug 1187817. Part 5 - assert some code in the audio thread and don't enter the monitor. r=kinetik. 2015-07-31 13:26:06 +08:00
JW Wang
83eef13c75 Bug 1187817. Part 4 - move some code in Shutdown to the audio thread. r=kinetik. 2015-07-31 13:26:06 +08:00
JW Wang
df5724be40 Bug 1187817. Part 3 - move SetPlaying to the audio thread. r=kinetik. 2015-07-31 13:26:06 +08:00
JW Wang
596da6e541 Bug 1187817. Part 2 - remove unused code. r=kinetik. 2015-07-31 13:26:06 +08:00
JW Wang
d247b81f2b Bug 1187817. Part 1 - Move Set{Volume,PlaybackRate,PreservesPitch} to the audio thread. r=kinetik. 2015-07-31 13:26:06 +08:00
Carsten "Tomcat" Book
c1a0be69de Backed out changeset a093b996bafa (bug 1184867) for causing crashes @ mozilla::MediaSourceTrackDemuxer on a CLOSED TREE 2015-07-30 15:49:06 +02:00
Carsten "Tomcat" Book
516119753f Backed out changeset 4624de03e2e5 (bug 1184867) 2015-07-30 15:47:58 +02:00
Carsten "Tomcat" Book
9e504b2779 Backed out changeset 8b17cd283110 (bug 1184867) 2015-07-30 15:47:55 +02:00
Jean-Yves Avenard
ceccac91fe Bug 1183196: [MSE] P3. Slightly increase debugging information. r=kentuckyfriedtakahe
Print the atom's offset, makes it easier to verify that byte ranges are properly calculated.
2015-07-30 20:42:45 +10:00
Jean-Yves Avenard
fa6675ed02 Bug 1189138: [MSE] P3. Properly shift our demuxing index when data is added. r=gerald
Should frames be added before our current demuxing position, we must shift the index ; otherwise the next retrieved frames will be the wrong one.
2015-07-30 20:42:44 +10:00
Alfredo Yang
1885ed42a2 Bug 1189173 - Drop frames aggressively during internal seek. r=jya
--HG--
extra : rebase_source : 2db2cf4908c764df2273a0c6f2fb572a6310b0e8
2015-07-30 00:53:00 +02:00
Jean-Yves Avenard
ec9948fb89 Bug 1189588: [MSE] Remove MediaSourceDemuxer::NotifyTimeRangesChanged. r=cpearce
This was an optimisation added to prevent recalculating our buffered ranges unnecessarily, but it became totally unnecessary with bug 1174981.
Additionally, it appears that there's a race in its use ; which I can't identify.
2015-07-31 14:26:17 +10:00
Eitan Isaacson
f8946263f5 Bug 1187105 - Pause speechsynthesis on empty queue. r=smaug 2015-07-30 16:04:25 -07:00
Wes Kocher
68bcb02c04 Merge m-c to inbound, a=merge 2015-07-29 20:20:59 -07:00
Wes Kocher
1ca8b1de87 Merge b2ginbound to central, a=merge 2015-07-29 20:19:12 -07:00
Jessica Jong
11d3d9a5a3 Bug 1167132 - Part 15: [NetworkManager] Move network information into a separate interface (NetworkInterfaceList). r=echen 2015-07-29 02:16:00 -04:00
Matt Woodrow
d2d5e5b9a3 Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert 2015-07-29 16:35:55 -04:00
Wes Kocher
ec1078c65a Backed out 6 changesets (bug 1150944, bug 1034370) for build failures in WebGLContext.cpp CLOSED TREE
Backed out changeset e2a6160242e5 (bug 1150944)
Backed out changeset 1c510537d20b (bug 1150944)
Backed out changeset 7ae813666ed5 (bug 1150944)
Backed out changeset 2f29ac2e31cd (bug 1150944)
Backed out changeset bf7681b1567e (bug 1150944)
Backed out changeset 79c6b8d014d2 (bug 1034370)
2015-07-29 14:16:17 -07:00
Benjamin Chen
79aedbb1cb Bug 1097498 - Wait fence for the graphic buffer. r=sotaro 2015-07-23 17:54:08 +08:00
Matt Woodrow
501c8bec02 Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert 2015-07-29 16:35:55 -04:00
Jean-Yves Avenard
0e79a42d2e Bug 1185611: [MSE] P1. Remove whitelist. r=kinetik
We are now confident enough that MediaSource is usable by all
2015-07-31 20:09:26 +10:00
Jan Gerber
5248b69cfe Bug 1184867: [MSE] P3. Use WebMDemuxer in TrackBuffersManager. r=jya 2015-07-31 16:16:59 +10:00
Jan Gerber
50206409c0 Bug 1184867: [MSE] P2. Update WebMContainerParser to be compatible with new MSE. r=kinetik 2015-07-31 16:11:09 +10:00
Jan Gerber
87b289a2be Bug 1184867: [vp9] P1. VPXDecoder pass DTS to VideoData::Create. r=jya 2015-07-31 16:10:57 +10:00
Jean-Yves Avenard
179ab5ffb6 Bug 1189602: [MSE] Always notify demuxer when data is added (or removed) to the resource. r=gerald 2015-07-31 16:10:42 +10:00
Ryan VanderMeulen
4bd08c521b Merge m-c to inbound. a=merge 2015-07-30 16:09:17 -04:00
Ralph Giles
c2402aa578 Bug 1188150 - ADTSContainerParser gtest. r=jya
Ran an m4a file from magnatune through ffmpeg -acopy foo.aac
to convert to adts, and pulled the first header out of the
hexdump.

- Test rejection of non-zero layer fields.
- Test rejecting explicit frequency in headers.
- Test rejection of plain headers as media segments.
2015-07-30 13:05:50 -07:00
Ralph Giles
e36f86f767 Bug 1188150 - Instantiate ADTSContainerParser for audio/aac. r=jya 2015-07-30 13:05:49 -07:00
Ralph Giles
52b333ce9e Bug 1188150 - ADTSContainerParser. r=jya
Parse an ADTS header and use it to recognize MSE
'initialization segments' i.e. those with a header.
For 'media segments' we look for a header followed
by the declared amount of data.

The implementation treats 'media headers' the same
as 'media segments'.

ADTS has no embedded timestamps, so we don't need
to do anything there; the demuxer will generate
them based on packet lengths.
2015-07-30 13:05:48 -07:00
Ralph Giles
39ef04f2fd Bug 1188150 - Move ContainerParser dtor to implementation. r=jya
This blocks inlining so callers don't have to include
SourceBufferResource.h &c. Intended to simplify unit tests.
2015-07-30 13:05:48 -07:00
Carsten "Tomcat" Book
fbe5e8ab67 Backed out changeset ca2c0a7b3b3b (bug 1189138) for causing timeouts in test_BufferingWait_mp4.html on a CLOSED TREE 2015-07-30 10:18:17 +02:00
Brendan Long
8be4518086 Bug 909993 - Add WebIDL for TextTrackCue and fix link in VTTCue.webidl. r=rillian r=bz 2015-07-29 12:41:00 +02:00
Jan Gerber
95a2af0262 Bug 1187247: [MSE] Enable WebM in MediaSource. r=jya
https://bugzilla.mozilla.org/show_bug.cgi?id=1187247
2015-07-30 16:56:22 +10:00
Jan Gerber
8df6b30ffe Bug 1184867: [MSE] P3. Use WebMDemuxer in TrackBuffersManager. r=jya 2015-07-30 16:56:21 +10:00
Jan Gerber
d65404b8ba Bug 1184867: [MSE] P2. Update WebMContainerParser to be compatible with new MSE. r=kinetik 2015-07-30 16:56:20 +10:00
Jan Gerber
8006fc4e40 Bug 1184867: [vp9] P1. VPXDecoder pass DTS to VideoData::Create. r=jya 2015-07-30 16:56:20 +10:00
Jan Gerber
9d8d3579f0 Bug 1188341: [MSE] Add Test for multiple init segments in MSE appendBuffer. r=jya 2015-07-30 16:56:19 +10:00
Nicholas Nethercote
87b80f8c66 Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj.
This makes it clearer that, unlike how SizeOf*() functions usually work, this
doesn't measure any children hanging off the array.

And do likewise for nsTObserverArray.

--HG--
extra : rebase_source : 6a8c8d8ffb53ad51b5773afea77126cdd767f149
2015-07-28 23:24:24 -07:00
Jean-Yves Avenard
bdf2f8bda7 Bug 1183196: [MSE] P1. Do not overwrite stored init data until known as valid. r=gerald 2015-07-30 15:20:49 +10:00
Jean-Yves Avenard
02c530d98b Bug 1189138: [MSE] P4. Tell the mediasource demuxer of modified range as early as possible. r=gerald
We would only tell our demuxer once a complete media segment had been received.
A partial media append would have unnecessarily delayed pending seeks.
2015-07-30 15:20:43 +10:00
Jean-Yves Avenard
625eecf933 Bug 1189138: [MSE] P3. Properly shift our demuxing index when data is added. r=gerald
Should frames be added before our current demuxing position, we must shift the index ; otherwise the next retrieved frames will be the wrong one.
2015-07-30 15:20:38 +10:00
Jean-Yves Avenard
024aff6746 Bug 1189138: P2. Add useful debugging information to logs. r=cpearce 2015-07-30 15:20:19 +10:00
Jean-Yves Avenard
fa43517ced Bug 1189138: [MSE] P1. Only seek to a position if the trackbuffer contains it. r=cpearce
Ignoring the time if it was 0 was a remnant on when Reset() used to call seek and meant to get to the first frame available.
This is no longer relevant, DoSeek is only called when we are explicitly seeking.
2015-07-30 15:20:07 +10:00