Commit Graph

3373 Commits

Author SHA1 Message Date
Johannes Pfrang
7d9d846b63 Bug 1202266 - Suppress '-Wformat-security' in libstagefright CXXFLAGS. r=kentuckyfriedtakahe 2015-09-10 09:49:00 +02:00
Ralph Giles
f9625c4dae Bug 1202677 - Reject mp4 streams with short avc chunks. r=gerald 2015-09-08 14:03:44 -07:00
Paul Kerr [:pkerr]
60592d8111 Bug 1030324: Remove VP8 encoder resize work around. r=rjesup
The VP8 encoder was re-initialized completely when the frame size changed
instead of calling the vpx_enc_config_set() method. The work around is not
longer needed.
2015-09-08 11:02:40 -07:00
Matthew Gregan
d797556fc9 Bug 1200148 - Sanity check header lengths in Vorbis CodecData. r=derf 2015-09-08 11:44:45 +12:00
Ralph Giles
00f5d14c5d Bug 1187076 - Warn at end of SPS buffers. r=jya
Previously we asserted if we tried to read past the end
of a buffer in parsing H.264 SPS headers. This only affected
debug builds, but the failures were reported as crashes in
automated testing.

Therefore, commute the assert to a warning and silently accept
bad data of this type. The read is safe with the first assert
removed because of the subsequent check, and a similar one in
the parent class.
2015-09-08 21:46:22 -07:00
Nicholas Nethercote
902644b3dd Bug 1203005 - Remove all traces of -Wdeclaration-after-statement. r=glandium.
Even though we compile C code as C99, we used to need
-Wdeclaration-after-statement because MSVC didn't allow declarations after
statements.

However, Visual Studio 2013 added support, so we can now merrily mix
declarations and statements everywhere. Hooray.
2015-09-09 04:57:44 -07:00
Byron Campen [:bwc]
92e769ad78 Bug 1200763 - Remove hard-coded STUN IP address from ice_unittest, and do a DNS lookup instead. r=drno 2015-09-04 10:21:12 -05:00
Gerald Squelart
65f60b271d Bug 1187067 - Added gtests using the bug's test file, running simple checks and many parsing runs to catch parser crashes. r=rillian 2015-09-04 07:07:00 +02:00
Gerald Squelart
0c6d547caf Bug 1187067 - Null-check mLastTrack before dereferencing it - r=rillian 2015-09-03 00:58:00 +02:00
Michael Froman
e61426de30 Bug 1051052 - Made mid an outparam in JsepSession::AddLocalIceCandidate. r=bwc 2015-09-01 16:40:00 -05:00
Michael Froman
e5a6261ceb Bug 1008792 - Check for valid pointer before using. r=bwc 2015-09-01 11:52:43 -05:00
Gerald Squelart
bfb2b88ea8 Bug 1201404 - Implement minimal gtests to exercise the MPEG4 parser - r=rillian 2015-09-03 00:05:00 +02:00
Byron Campen [:bwc]
6e40337826 Bug 1201209 - Extend the timeout on socket readiness in test_nr_socket_unittest. r=drno 2015-09-02 14:27:07 -05:00
Pavlo
198bb42e59 Bug 1037997 - Added possibility to choose monitors during screen capturing. r=florian,jesup 2015-09-03 07:24:00 +02:00
Ralph Giles
776ac893f0 Bug 1186715 - Add diagnostic asserts. r=k17e 2015-08-19 10:33:13 -07:00
Byron Campen [:bwc]
e9a3cdecd0 Bug 1094447 - Use UDP/TLS/RTP/SAVPF for audio/video m-lines. r=drno 2015-09-01 17:15:30 -05:00
Nils Ohlmeier [:drno]
738b65f581 Bug 1199766 - Disable ICE TCP SO gathering via user pref. r=bwc 2015-08-28 13:22:45 -07:00
Paul Adenot
0eb7fdb014 Bug 901633 - Part 16 - Remove another allocation in the sending side. r=jesup 2015-09-01 14:26:14 +02:00
Paul Adenot
a2494cc82a Bug 901633 - Part 15 - Remove an allocation on the sending side, out of the packetizer. r=jesup 2015-09-01 14:26:13 +02:00
Paul Adenot
ae6fa93922 Bug 901633 - Part 11 - Add an API in webrtc.org's output mixer to get the output channel count. r=jesup 2015-09-01 14:25:48 +02:00
Paul Adenot
b0d6f98a0b Bug 901633 - Part 10 - Change the receiving side of the MediaPipeline so that it can detect and handle stereo. r=jesup 2015-08-12 14:43:51 +02:00
Paul Adenot
44398357f7 Bug 901633 - Part 9 - Make the necessary changes to VoEExternalMediaImpl::ExternalRecordingInsertData so that it the number of channels is forwarded down the webrtc.org code. r=jesup 2015-08-11 13:49:29 +02:00
Paul Adenot
cdcf7f4ce2 Bug 901633 - Part 8 - Use our new generic packetizer in the MediaPipeline so that we can packetize stereo easily. r=jesup 2015-08-11 13:49:29 +02:00
Paul Adenot
4e53c61e76 Bug 901633 - Part 5 - Make MediaPipeline downmix and properly convert audio for webrtc.org code. r=jesup
This means converting to int16, interleaving, and down-mixing to stereo (or
keeping it to mono if it's already mono of course).
2015-07-29 18:39:56 +02:00
Edwin Flores
a2ff24c645 Bug 1185388 - Limit the number of cores used by WMF in ClearKey CDM - r=cpearce 2015-09-01 17:31:48 +12:00
Matthew Gregan
7f305659ad Bug 1199794 - Add NULL checks to avoid crashing during media playback if the audio device removed. r=padenot 2015-08-28 19:13:00 -04:00
Paul Adenot
6d5f4fe7a7 Bug 1190676 - Part 5 - Fix consumers: PeerConnection. r=jesup 2015-08-25 10:29:50 +02:00
Nicholas Nethercote
10d95cca57 Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Chris Peterson
1361a2ef8e Bug 1197563 - Polyfill __func__ for MSVC 2013 and earlier. r=froydnj 2015-08-20 23:39:18 -07:00
Anthony Jones
adae7ab07f Bug 1180101 - Skip four bytes when we hit a zero length box; r=jya 2015-08-26 18:12:59 +12:00
Andreas Pehrson
6d8c5356b2 Bug 1198107 - Destroy VP8 encoder context before re-initing on resolution change to avoid leaking memory. r=jesup 2015-08-25 16:55:28 +08:00
Jan Gerber
b045b2738e Bug 1073319 - Enable AVX2 for libvpx on linux (libvpx). r=rillian 2015-07-16 02:38:00 -07:00
Jan Gerber
b8500322f0 Bug 1073319 - Enable AVX2 for libvpx on linux (update.py). r=rillian 2015-07-16 02:37:00 -07:00
Jacek Caban
06e0168155 Bug 1197282 - Include <atomic> in VideoDecoder.h. r=cpearce 2015-08-25 12:40:20 +02:00
Matthew Gregan
5f6fe686a4 Bug 1197049 - Retain stream volume across device changes. r=padenot 2015-08-21 14:46:22 +12:00
Ethan Hugg
e2ca5bd69b Bug 1191301 - Re-enable the use of media.navigator.video.use_tmmbr pref. r=bwc 2015-08-24 09:31:38 -07:00
Matthew Gregan
4cc0d5c816 Bug 1136360 - Report actual number of frames written to ReleaseBuffer. r=jesup 2015-08-21 18:09:34 +12:00
Matthew Gregan
875c5146ca Bug 1136360 - Account for stream and device latency in stream position calculation. r=jesup 2015-08-21 13:53:21 +12:00
Matthew Gregan
a24e2c354a Backed out 2 changesets (bug 1136360)
Backed out changeset 004f6db9c2dd (bug 1136360)
Backed out changeset 9b568fb8d447 (bug 1136360)
2015-08-24 13:25:57 +12:00
Matthew Gregan
bde4f17812 Bug 1136360 - Report actual number of frames written to ReleaseBuffer. r=jesup 2015-08-21 18:09:34 +12:00
Matthew Gregan
ded84ad3b6 Bug 1136360 - Account for stream and device latency in stream position calculation. r=jesup 2015-08-21 13:53:21 +12:00
Nils Ohlmeier [:drno]
5bfe29f992 Bug 1142964 - Fix ICE tiebreaker on Windows. r=bwc 2015-08-21 10:35:28 -07:00
Byron Campen [:bwc]
d38599b7ea Bug 1193495 - Part 2: Maintain clones of supported codecs for each level, and do necessary checking to prevent payload-type clashes. r=mt 2015-08-12 10:00:28 -05:00
Byron Campen [:bwc]
1eb877cd34 Bug 1193495 - Part 1: Test case. r=mt 2015-08-12 10:00:28 -05:00
Jan Gerber
fd164253c9 Bug 1192226 - Apply libvpx size limit. r=rillian 2015-08-21 12:01:41 +02:00
Jan Gerber
75948bf379 Bug 1192226 - Enable libvpx size limit in update.py. r=rillian
Bounds match those in VideoUtils.h.
2015-08-08 09:28:52 +02:00
Nils Ohlmeier [:drno]
86ffea1d7c Bug 1194385 - Add new unit tests which demonstrate the current behavior. r=bwc 2015-08-13 12:05:40 -07:00
Nils Ohlmeier [:drno]
90a3950d0c Bug 1194019 - New defaults for gather tests. r=bwc 2015-08-14 14:52:06 -07:00
Chris Peterson
81884462f6 Bug 1195186 - Build media/pocketsphinx in unified mode. r=kdavis 2015-08-18 00:13:49 -07: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