Commit Graph

3841 Commits

Author SHA1 Message Date
Sebastian Hengst
4029855eed Backed out changeset e139011ede5b (bug 1254780) for crashes in mozilla::gfx::Log<1,mozilla::gfx::CriticalLogger>::WriteLog on Windows 7 debug. r=backout 2016-03-24 10:52:52 +01:00
Nicholas Nethercote
d6246f169d Bug 1254780 - Shrink log_types from 1024 entries to 16. r=ekr.
--HG--
extra : rebase_source : 7cc7a749b080fb3e35c9b8cf285ff88738ef3234
2016-03-11 10:06:32 +11:00
Gregory Szorc
6a9168778b Bug 1124033 - Disable C4311 and C4312 in directories exhibiting warnings; r=ehsan
There are a long tail of C4311 and C4312 warnings in VS2015. Rather than
wait until all of them are fixed to land VS2015, we're taking the easy
way out and disabling these warnings in every directory currently
exhibiting a warning. This is evil. But it is a lesser evil than
globally disabling C4311 and C4312. At least with this approach new
C4311 and C4312 warnings in directories that aren't suppressing them
shouldn't be introduced.

MozReview-Commit-ID: 2cwWrjMD6B9

--HG--
extra : rebase_source : 3e7b8ea042765fdf138f5ca93a0f9dab75a95fcd
2016-03-23 17:19:20 -07:00
Trevor Saunders
b744ac7d84 bug 1250492 - include sstream in SdpMediaSection.h instead of iostream r=jesup
It gets rid of a couple static constructors, and should make the build slightly
faster since we compile less code.
2016-03-23 09:26:01 -04:00
Trevor Saunders
4b87a31ba8 bug 1250492 - use tl::Max instead of std::max to get rid of a static constructor r=jesup
std::max is only constexpr in c++14 and >, but we build as c++11 so
initializing a constant with std::max ends up with a static constructor.
Fortunately we have tl::Max around which forces evaluation of the math at
compile time.
2016-03-23 09:25:48 -04:00
Matthew Gregan
358dd6f8a1 Bug 1257699 - Update in-tree libnestegg. r=giles 2016-03-23 13:47:14 +13:00
Randell Jesup
6f22cfc9fb Bug 1247574: Force webrtc audio input processing to resample to target rate to fix 16KHz mics. r=padenot
MozReview-Commit-ID: BBZcX03Z6Kn
2016-03-19 16:05:13 -04:00
Ralph Giles
484761817e Bug 1255866 - stagefright: Fix unused variable warnings. r=ajones
MozReview-Commit-ID: 7UwVTewfYde
2016-03-21 14:20:43 -07:00
Byron Campen [:bwc]
1327e24325 Bug 1256750: Remove unnecessary sscanf_s parameter on windows, and fix format string everywhere else. r=jesup
MozReview-Commit-ID: 3YFhTbGg5ec

--HG--
extra : rebase_source : 5a7de94ed893d9434b6195f029d7c634c9f848a0
2016-03-15 14:10:28 -05:00
Randell Jesup
d6e073cec4 Bug 1254876: assert windows recording is shut down r=pkerr 2016-03-21 02:57:13 -04:00
Byron Campen [:bwc]
02772181cb Bug 1257472: Forgive rport of 0. r=drno,ekr
MozReview-Commit-ID: 12YyYqrt3wR

--HG--
extra : rebase_source : b3e8397a0c29f8a9d354e4081fcf76e103fd11d8
2016-03-17 10:50:33 -05:00
Randell Jesup
9865e1f013 Bug 1257616: We can release Conduits immediately if we're on MainThread already r=drno 2016-03-17 20:45:09 -04:00
Jacek Caban
01fffbb313 Bug 1257270 - Use std::nullptr_t instead of nullptr_t in WMFUtils.h. r=cpearce 2016-03-17 10:39:46 +01:00
Martin Thomson
7d88785757 Bug 1251822 - Disable ChaCha20Poly1305 for unit tests that check cipher suite, r=ekr
MozReview-Commit-ID: H7IW0iOTAzx

--HG--
extra : rebase_source : 7d637e24ea89c0d070fbe0511dd445f8d11e51f6
2016-03-16 17:52:49 +11:00
Jean-Yves Avenard
aa950b3d46 Bug 1232313: [mp4] Use cumulative decode time if tfdt box is not present. r=kentuckyfriedtakahe
Per ISO 14496-12, the Track fragment decode time (tfdt) is optional.

MozReview-Commit-ID: LNrMPYlkDvt

--HG--
extra : rebase_source : fbacde893352db9248a3ebe6a62b2042eb3106b6
2016-03-16 18:58:48 +11:00
Jean-Yves Avenard
c2467e583e Bug 1254721: Ensure consistency between Cenc offsets and sizes table. r=gerald
MozReview-Commit-ID: E1KbKIIBR87
2016-03-16 16:59:05 +11:00
Jean-Yves Avenard
e9909fb19d Bug 1254731: [mp4] P2. Remove unused parsing of creation date. r=gerald
We just don't care about it in our use.
Additionally, gmtime and strftime are not thread safe at all (they use global static internally)

MozReview-Commit-ID: HfRpCyx4MpK
2016-03-16 16:56:27 +11:00
Jean-Yves Avenard
4ca801910c Bug 1254731: P1. Check for overflow and that conversion succeeded. r=gerald
MozReview-Commit-ID: Cs33P9QyP2V
2016-03-16 16:56:27 +11:00
Nils Ohlmeier [:drno]
eca4273031 Bug 1233181: improve misleading log message about missing STUN & TURN servers. r?=mjf
MozReview-Commit-ID: sQzU9u96yP

--HG--
extra : rebase_source : 9a5d3198ee4d52fab556d2eace08aa41ea75cf5a
2015-12-16 12:00:27 -08:00
Mike Shal
f33175df08 Bug 1254950 - Remove several media Makefile.ins; r=ted
MozReview-Commit-ID: 4dvngHQnH0b
2016-03-14 18:02:02 -04:00
Nicholas Nethercote
3101dc7152 Bug 820972 - Comment out colorTable[] because we don't need it. r=jesup.
This saves 64 KiB of static data.
2016-03-11 12:41:30 +11:00
Ralph Giles
2c98c3b096 Bug 1255869 - Don't call into mp4parse-rust on machines without sse2. r=kinetik
Work around sse2 instructions in the rust standard library
built for the i686-pc-windows-msvc target. We disable
sse2 code generation for our own code.

MozReview-Commit-ID: F6n0CmBd8dQ
2016-03-11 11:48:00 +13:00
Mike Hommey
d464f29e5f Bug 1255813 - Remove build system support for Solaris, HPUX and AIX. r=ted 2016-03-15 07:34:50 +09:00
Ted Mielczarek
68bd5e8c4d bug 1244743 - Replace MOZ_NATIVE_X with MOZ_SYSTEM_X. r=gps
MozReview-Commit-ID: 9ip3qeAXFEe

--HG--
extra : commitid : H6aEkHprVyX
extra : rebase_source : e20d5f4b297caf66711c72cd55dd76f7f9ef9d9c
extra : histedit_source : 47545e0ea61eb66f16545f70e6d3792a389bedb1
2016-02-01 10:49:34 -05:00
Ted Mielczarek
86995dd661 bug 1248020 - convert a bunch of moz.build files to use USE_YASM. r=mshal
MozReview-Commit-ID: n59TejhJq6

--HG--
extra : rebase_source : a5fd47c48ae4f03fcd2b699d7283a8838d24449c
extra : amend_source : cdd00e6f76195956dd83f8a2e3109d453459d158
extra : histedit_source : 4e36a2c2ff01a2cb352a46b2f4d9062f14be5232
2016-03-03 11:38:59 -05:00
Ted Mielczarek
5c634ab869 bug 1248016 - make ASFILES rules work with .s/.asm, get rid of ASM_SUFFIX. r=mshal
MozReview-Commit-ID: 1MK0Kud51vR

--HG--
extra : rebase_source : de7a7f11bfbbac1e8eccc34de39dd2d88d803b03
extra : amend_source : d7eddb71b050e0576e783c6ce8c67f66cfd88e13
2016-03-01 13:47:19 -05:00
Christoph Kerschbaumer
b47c0eea98 Bug 1254691 - Remove SEC_NORMAL from webrtc/. r=bwc 2016-03-10 08:52:34 -08:00
Boris Zbarsky
1228b7cbd3 Bug 1255269. Get rid of nsITCPSocketCallback.fireDataEvent. r=jdm 2016-03-10 18:07:28 -05:00
Timothy Nikkel
1f99404503 Bug 1187420. r=drc r=jmuizelaar a=abillings 2016-03-10 13:23:27 -06:00
Byron Campen [:bwc]
736356238e Bug 1248637: Prune duplicate CANCELLED candidate pairs. r=drno
MozReview-Commit-ID: HeErN7xMxbQ

--HG--
extra : rebase_source : d8f355e6cc74c73c3e9bc100a2bb2b2603931e55
2016-03-01 10:47:14 -06:00
Noel Gordon
6b3d2d0174 Bug 1050342. Fix a case where the fast huffman decoder in libjpeg-turbo can produce different results depending on how data is fed to it. r=seth
This change comes from the blink repo https://codereview.appspot.com/229430043/ and is unlikely to be accepted upstream into libjpeg-turbo.
2016-03-09 17:56:35 -06:00
Gian-Carlo Pascutto
568a64e79a Bug 1254507 - Fix leak in WebRTC DesktopApplication class. r=jesup
MozReview-Commit-ID: FLuQZcPyv0d

--HG--
extra : rebase_source : 24bc9507bb4abee94a1238176675948249c102f1
2016-03-08 14:14:05 +01:00
Gerald Squelart
2d4fdb1b57 Bug 1253471 - Remove Metadata hard-coded limit - r=jya
Instead of relying on some arbitrary limit for ftyp+moov box sizes, we check
for overflow and possible type truncations, and then let memory allocation
routines (e.g. MediaByteBuffer::SetLength) deal with actual memory limitations.

MozReview-Commit-ID: AXXxvdDYnnr
2016-03-08 17:25:33 +11:00
Nils Ohlmeier [:drno]
6d382efd5e Bug 1253198: add WebRtcIce prefix to all ICE unit tests. r=bwc
MozReview-Commit-ID: 5wD8Dl9ETkB

--HG--
extra : rebase_source : edf942c35be1d4caba5501b9395a70953eaa8344
2016-03-03 01:40:52 -08:00
Nils Ohlmeier [:drno]
01210346dd Bug 1217677: increase UDP socket receive buffer for <= Win7. r=jesup,mcmanus
MozReview-Commit-ID: A3yCZZ3Pwcu

--HG--
extra : rebase_source : 67d200194ed72076fcb6064f16ec94334f8fb5e7
2016-03-01 21:46:50 -08:00
Nils Ohlmeier [:drno]
1a7d746ecc Bug 1252777: skip over ICE TCP host candidate creation failures. r=bwc
MozReview-Commit-ID: 6l0ierHz5eL

--HG--
extra : rebase_source : 5bcce0063cf092f9eba278ea6790a0ada07eb82c
2016-03-02 01:27:01 -08:00
Byron Campen [:bwc]
b0ba04fb55 Bug 1221473: Do not treat answer as authoritative wrt payload types. r=drno
MozReview-Commit-ID: 2uVn60j8QfC

--HG--
extra : rebase_source : 4f5ee469a514deb4e89745885cda34cb6061a660
2015-11-06 10:14:23 -06:00
[:ng]
9e95296e04 bug 1241064 - updating stats filter SSRC when audio channel SSRC changes; r=jib
bug: getStats was returning statistics for the shortlived, initial SSRC
now updating SSRC filter on statistics update callback to match audio channel ssrc
getStats API now returns statistics for correct SSRC: jitter, packets lost, etc.

MozReview-Commit-ID: WCd71WMkUW

--HG--
extra : rebase_source : 5d3a5a14e04313749173d264894e44411c3417bf
2016-03-03 08:03:06 -08:00
Nathan Froyd
b938c57967 Bug 1251714 - use UniquePtr instead of ScopedDeletePtr in media/; r=jesup
UniquePtr is more standard than ScopedDeletePtr; using standard
constructs whenever possible is preferable.

This patch merits a couple explanations:

- Where it made sense, I tried to convert:

    T* foo() {
      UniquePtr<T> x = ...;
      ...
      return x.release();
    }

  into:

    UniquePtr<T> foo()

  with corresponding changes inside |foo|'s body.

- The attentive reader will note that:

    auto x = MakeUnique<T>(...);

  is used sometimes and:

    UniquePtr<T> x(new T(...));

  is used sometimes.  I would prefer to use the former, but was stymied
  in several places due to protected constructors.  (MakeUnique doesn't
  have access to those protected constructors, natch.)
2016-03-02 15:28:27 -05:00
Makoto Kato
89dd964ab1 Bug 1252737 - use size_t instead of uint32_t for InitEncode(). r=jesup
Although 3rd parameter VideoEncodeer::InitEncode() is defiend as size_t, WebrtcIMXH264VideoCodec and WebrtcMediaCodecVP8VideoCodec uses uint32_t.  This will cause build error for 64bit platform.

MozReview-Commit-ID: 20NgE5e7Cuz

--HG--
extra : rebase_source : 6da7b73504843b1062daff2b6977743114c2591e
2016-03-02 13:05:43 +09:00
Nathan Froyd
9d78c6759b Bug 1252901 - don't use ScopedFreePtrTraits in MediaEngineWrapper.h; r=jesup
ScopedFreePtrTraits is somewhat of an internal implementation detail of
Scoped.h, and it's not hard to write out the two static functions we
need from ScopedFreePtrTraits anyway.  Removing this means that we can
clear the way for ScopedFreePtr to be removed.
2016-03-02 11:43:58 -05:00
Mike Hommey
1ba1737ec0 Bug 1252699 - Set WEBRTC_DETECT_ARM_NEON when optional neon is requested. r=jesup 2016-03-03 06:28:10 +09:00
Byron Campen [:bwc]
f1f2ee96b5 Bug 1037618 - Part 1: Add some logging to highlight TCP connection failures. r=drno
MozReview-Commit-ID: 4q84yGspvyX

--HG--
extra : rebase_source : 099d1dd32cc46ed96ac234fe0a65c85333acfdf1
2016-03-01 12:06:12 -06:00
Byron Campen [:bwc]
f3294c2565 Bug 1252585: Clear received_ct_ in TestStunServer::Reset r=drno
MozReview-Commit-ID: F7Dgk5gN4cs

--HG--
extra : rebase_source : 5a5b536b906a01dfb171008ba02ce3650abafca9
2016-03-01 13:59:43 -06:00
Byron Campen [:bwc]
8e9153abea Bug 1252163: Fix CheckTcpConnectivity to wait for readable/writeable when necessary. r=drno
MozReview-Commit-ID: 6hz0eCghYE0

--HG--
extra : rebase_source : 46b1221ab29c33455f7ceb3c0e149e4c8aaa2397
2016-02-29 12:33:47 -06:00
Byron Campen [:bwc]
3a66dfe493 Bug 1252171: Update last_used_ on TCP port mappings when they are used, similar to UDP. r=drno
MozReview-Commit-ID: DNinTza44la

--HG--
extra : rebase_source : 5d65d9a4c21ad113a2762ebf397b1e7b8f289dd5
2016-02-29 13:04:42 -06:00
Jan-Ivar Bruaroey
fe08f0669c Bug 1250990 - Make RTCRtpEncodingParameters.scaleResolutionDownBy work with H.264 unicast. r=jesup
MozReview-Commit-ID: 2j8rRzZemql

--HG--
extra : rebase_source : c3750d3ed62d99d05cf2b637ef06001b5a9c347e
2016-02-28 09:19:23 -05:00
Dan Minor
3b0b90c4ba Bug 1158741 - Implement a version of omxSP_FFTInv_CCSToR_F32_Sfs in openmax DL's FFT that is not scaled r=padenot
The new routine actually multiplies by two for consistency with the other FFT
routines in use.

MozReview-Commit-ID: Hk2Dg3fR2cQ

--HG--
extra : rebase_source : 08bdbbd65d372a3d0eb69568313cec33ccea6af3
2016-01-25 06:38:29 -05:00
Julian Seward
0c7e11d71b Bug 1252073 - Uninitialised value uses in mozilla::EncodingConstraints::operator==. r=docfaraday@gmail.com.
--HG--
extra : rebase_source : 705e0e821163e8f49d591d77ad306e317884d1c9
2016-03-02 12:29:36 +01:00
Wes Kocher
6866309c97 Backed out 2 changesets (bug 1251714, bug 1251715) for gtest failures in media code
Backed out changeset 1bbd0cd10f76 (bug 1251714)
Backed out changeset 80b197c5608f (bug 1251715)

MozReview-Commit-ID: EHOtiKLS4Xr
2016-03-01 11:36:35 -08:00