Commit Graph

3617 Commits

Author SHA1 Message Date
Jan Beich
b3a02139f6 Bug 1231117 - Use xlocale on DragonFly as well. r=jesup 2015-12-03 12:32:52 +00:00
Jan Beich
d0f894b45e Bug 1231109 - Drop FreeBSD checks for unsupported versions. r=jld r=jesup 2015-12-03 12:28:22 +00:00
Ralph Giles
7ecd1906ce Bug 1231169 - report rust mp4parse track status in telemetry. r=kinetik,vladan 2015-12-11 12:51:00 -08:00
Chris Pearce
70555bdeaf Bug 1232527 - Call into WMF PDM to determine if WMF can decode instead of using GMPVideoDecoderTrialCreator. r=jwwang
Resurrect WMFDecoderModule::HasAAC() and HasH264(), and use those in
MediaKeySystemAccess.cpp to figure out whether we gmp-clearkey can decode,
rather than assuming Vista and later is always able to decode, as that's not
a valid assumption; Vista may not have the required Platfor Update installed,
or we may be on Windows N or KN without the Media Feature Pack.
2015-12-15 14:50:59 +13:00
Jan-Ivar Bruaroey
1d50668a6b Bug 1198345 - Split moar Hello Telemetry values from general WebRTC. r=jesup 2015-12-10 23:38:02 -05:00
Nils Ohlmeier [:drno]
043ef9a04b Bug 1219557 - don't pair candidates from different reserved networks. r=mt r=bwc 2015-12-04 20:43:15 -08:00
Byron Campen [:bwc]
42dc5c831a Bug 1231196: Fix init of PeerConnectionImpl::mThread for unit-tests and similar. r+drno 2015-12-08 16:39:43 -05:00
Jan Beich
e8b25cd342 Bug 1231106 - Make BSDs fall-through to ASSERT as well. r=jesup 2015-12-03 12:18:29 +00:00
Alfredo Yang
3e4f05d8e7 Bug 1224887: add OpenMax IL headers. r=jya 2015-12-08 15:57:46 +05:30
Byron Campen [:bwc]
0ed8e396c2 Bug 1192390 - Part 2: Simulcast and RID negotiation. r=mt 2015-11-02 09:32:16 -06:00
Byron Campen [:bwc]
5d687ac0b7 Bug 1192390 - Part 1: Lay architectural groundwork for simulcast negotiation. r=mt r=jesup 2015-10-21 17:07:08 -05:00
Nils Ohlmeier [:drno]
c4cd36d04f Bug 1006809 - update triggered check behavior to RFC 5245. r+bwc r=mjf 2015-11-27 23:50:14 -08:00
Jacek Caban
929e31d00c Bug 1228947 - mingw fixup. 2015-12-07 12:21:45 +01:00
Chris Peterson
7f4c4d76a4 Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc 2015-11-27 20:49:55 -08:00
Chris Pearce
00d02d5074 Bug 1230026 - Support 'webm' initDataType format for MP4 ClearKey initData. r=gerald 2015-12-04 07:24:11 +13:00
Gian-Carlo Pascutto
c7cdd238ca Bug 1228788 - Force QT device release to happen on the main thread. r=jesup 2015-12-03 15:11:15 +01:00
Gerald Squelart
02bd65aff8 Bug 1224361 - Upstream update patch - r=rillian 2015-12-03 14:14:46 +11:00
Gerald Squelart
82789accdd Bug 1224361 - Clamp QIndex also in abs-value mode - r=rillian 2015-12-03 14:14:46 +11:00
Gerald Squelart
1358682bdd Bug 1224363 - Upstream update patch - r=rillian 2015-12-03 14:14:45 +11:00
Gerald Squelart
f397a4f10d Bug 1224363 - Clamp seg_lvl also in abs-value mode - r=rillian
Even when the segment feature data is in absolute mode, it is still read as a
6-bit value with an added sign, so it could have values between -63 and +63.
Later, this signed value is used without checks as a filter level, which is
used to access an entry in an array of size MAX_LOOP_FILTER+1=64.

This patch just extends the existing clamping (that was done only to relative-
mode data) to absolute mode data, before it is blindly 'memset' in
lfi->lvl[seg][0], which was where the out-of-bound filter_value was read in
subsequent vp8_loop_filter_row_simple.
2015-12-03 14:14:45 +11:00
Ralph Giles
d4ff189728 Bug 1229615 - Catch panics in mp4parse_get_track_info. r=kinetik
Wrap calls in a thread the way we do for read_mp4().

Patch from upstream.
2015-12-02 17:22:01 -08:00
Ralph Giles
d6efa029b8 Bug 1229615 - Conditionalize mp4parse.h export. r=kinetik 2015-12-02 17:21:54 -08:00
Matthew Gregan
367c0c5063 Bug 1229615 - Compare track counts between rust and stagefright. r=rillian
Use the new capi calls in rust mp4parse v0.1.5 to query
audio and video track counts and compare with what we
get from stagefright.
2015-12-02 17:21:49 -08:00
Ralph Giles
dfd87cdf7b Bug 1229615 - Don't reject files without edit lists. r=kinetik
Patch from upstream.
2015-12-02 17:21:41 -08:00
Wes Kocher
6050aa17e4 Backed out 3 changesets (bug 1229615) for crashtest crashes in 0-timescale.html CLOSED TREE
Backed out changeset aa313047a6de (bug 1229615)
Backed out changeset 80aa7ecf9456 (bug 1229615)
Backed out changeset d7bf9994e1b0 (bug 1229615)
2015-12-02 15:00:42 -08:00
Ralph Giles
752ded79da Bug 1229615 - Conditionalize mp4parse.h export. r=kinetik 2015-12-02 12:22:09 -08:00
Matthew Gregan
30b217924f Bug 1229615 - Compare track counts between rust and stagefright. r=rillian
Use the new capi calls in rust mp4parse v0.1.5 to query
audio and video track counts and compare with what we
get from stagefright.
2015-12-02 12:19:29 -08:00
Ralph Giles
ecc090b55d Bug 1229615 - Don't reject files without edit lists. r=kinetik
Patch from upstream.
2015-12-02 12:25:00 -08:00
Bogdan Postelnicu
5443502946 Bug 1227481 - added a memset on aec. r=jesup 2015-12-02 05:05:00 +01:00
Nigel Babu
83b61a4a2c Backed out changeset df07a5d14903 (bug 1224887) for build bustage
Backed out changeset 0bc40a9a5804 (bug 1224887)
2015-12-02 14:51:20 +05:30
Alfredo Yang
22b5a849da Bug 1224887: add OpenMax IL headers. r=jya, with actual patch
CLOSED TREE
2015-12-02 13:52:56 +05:30
Chris Pearce
bfc437077a Bug 1229508 - Support current and previous GMP_API_DECRYPTORs. r=gerald
To allow GMPs time to update to new GMPDecryptor versions, we support the
latest GMPDecryptor version, and the previous.

In order to support a consistent interface to Gecko, we adapt the previous
GMPDecryptor version to the latest in the GMP child process.  So Gecko always
thinks it's talking to the latest version.

We also make gmp-fake deliberately support the previous GMPDecryptor version,
to ensure this code path remains tested.
2015-12-02 15:37:09 +13:00
Ralph Giles
12d57f819b Bug 1229612 - Update rust mp4parse to v0.1.5. r=kinetik
Adds query functions for track metadata.
2015-12-01 17:33:00 -08:00
Jean-Yves Avenard
bc4e268578 Bug 1226842: Error rather than asserting when encountering error in sample table. r=gerald 2015-12-02 10:39:50 +11:00
Jean-Yves Avenard
2fe731ac52 Bug 1229134: Check that memory allocation actually succeeded. r=gerald 2015-12-02 10:39:49 +11:00
Matthew Gregan
442950b2c5 Bug 1225703 - Update in-tree libcubeb. r=padenot 2015-11-19 16:37:36 +13:00
Jan Beich
4ba22afe35 Bug 1228230 - Rely more on top-level configure auto-detection. r=qdot 2015-11-27 07:37:33 +00:00
Gerald Squelart
e4b34f47be Bug 1210319 - p3. Lowered useless log level - r=jya 2015-12-01 13:46:07 -08:00
Gerald Squelart
98a80154b0 Bug 1210319 - p2. Minor intf clean-up, RIP trex - r=rillian
Made some class interfaces a bit more "C++11"-ish, to protect against some
possible issues.
Also removed 'trex', which was only used by code removed in previous patch.
2015-12-01 13:45:55 -08:00
Gerald Squelart
65c964ca33 Bug 1210319 - p1. Removed unused code - r=rillian 2015-12-01 13:45:42 -08:00
Jean-Yves Avenard
b955e48ed6 Bug 1229339: Partial revert of commit c15c9f37f. r=cpearce
Replacement of nsTArray<MediaByteRange> by MediaByteRangeSet in the MoofParser was incorrect.
2015-12-02 08:35:57 +11:00
Alexandros Chronopoulos
a7089b11b5 Bug 1202087 - Filter out non-shareable application for win8 or greater. r=jesup 2015-11-11 14:01:27 +02:00
Chris Pearce
96575de147 Bug 1186406 - Copy input to ClearKey's decoder, so we can return its containing shmem earlier. r=gerald
We're failing in the "Very rough kill-switch" case in
GMPVideoDecoderParent::Decode() we find that too many shmems are in use when we
come to send a "Decode" message to the GMP, and that causes an error which
percolates up to cause the test failure.

This patch changes gmp-clearkey to copy the input encrypted and compressed
sample and immediately return the shmem to the parent process. We are
copying the data anyway when we decrypt, so we can rejigg things so that we
don't actually end up doing a second copy.
2015-12-01 18:13:58 +13:00
EKR
9c72334e01 Bug 1227781 - Fix crash with bogus STUN parameters. r=bwc 2015-11-30 12:15:19 -08:00
Jean-Yves Avenard
4ac83d3195 Bug 1227396: P14. Reduce memory usage of sample index for audio tracks. r=cpearce
All samples in an audio track are keyframes. As such, use block on 128 samples instead.
2015-11-30 11:36:39 +11:00
Jean-Yves Avenard
9945ff8188 Bug 1227396: P13. Refactor how MP4 buffered range is calculated. r=cpearce
We now use an index of samples made of block of samples delimited by keyframes. The search is performed using a binary search. This allows to quickly find which blocks are found within the media cache.
On a 8 core mac pro, this leads to a 67% improvement on CPU time spent playing a long MP4 video (from 112s CPU to 45s CPU)

The optimisation is only possible if all mp4 data chunks are continuous (which they almost always are)
2015-11-30 11:29:37 +11:00
Jean-Yves Avenard
c0593734db Bug 1227396: P10: Remove stray function definition. r=cpearce 2015-11-30 11:29:35 +11:00
Jean-Yves Avenard
3ccc47c48a Bug 1227396: P9. Remove unnecessary monitor. r=cpearce
The Index and MoofParser are now only used via the MP4Demuxer which is guaranteed to always be called on the same taskqueue.
2015-11-30 11:29:35 +11:00
Jean-Yves Avenard
9ffb614ce1 Bug 1227396: P8. Replace MediaByteRange with Interval<int64_t> typedef. r=cpearce
It's now okay to simplify.
2015-11-30 11:29:34 +11:00
Jean-Yves Avenard
8abd913bda Bug 1227396: P7. Replace nsTArray<MediaByteRange> with dedicated MediaByteRangeSet object. r=cpearce 2015-11-30 11:29:34 +11:00