Mike Hommey
490b04e4f0
Bug 1050037 - Remove STLPORT_LIBS/STLPORT_LDFLAGS from Makefiles. r=mshal
2014-08-07 13:48:10 +09:00
Anthony Jones
53b97c265f
Bug 1048517 - Initialised potentially uninitialised variables; r=cpearce
2014-08-07 16:40:01 +12:00
Chris Pearce
332c531212
Bug 1049309 - Remove no-op code in libstagefright. r=kentuckyfriedtakahe
2014-08-07 12:03:38 +12:00
Randell Jesup
41c5add935
Bug 1045482: Wrap X11 calls for window lists and XQueryPointer in error trapping to avoid asserts on X11 errors r=karlt
2014-08-06 20:01:33 -04:00
Ed Morley
2e6839e1e5
Merge mozilla-central and inbound
2014-08-06 13:43:41 +01:00
Ed Morley
fdc793d552
Merge latest green inbound changeset and mozilla-central; a=merge
2014-08-06 13:37:48 +01:00
Wes Kocher
28470a7734
Merge m-c to fx-team on a CLOSED TREE
2014-08-05 17:38:06 -07:00
Mike Hommey
ec54bf6c1f
Bug 1045783 - Move most OS_LIBS to moz.build and do some related cleanup. r=mshal
2014-08-06 07:25:33 +09:00
Randall Barker
30be952e2e
Bug 1042525 - Add missing null implementation for screensharing. r=gcp
2014-08-01 11:43:00 +02:00
Martin Thomson
bbbe9c69a3
Bug 1048261 - Safe dispatch from DTLS connect to PeerConnectionImpl. r=jesup, r=bwc
2014-08-05 12:18:56 -07:00
EKR
c634b80303
Bug 1028582 - Modify TransportLayerDtls to force a fresh ECDHE server key. r=mt
2014-08-05 09:06:48 -07:00
Martin Thomson
bd58e64361
Bug 996237 - Check for DHE negotiation failure. r=ekr
2014-08-04 11:50:00 -04:00
Martin Thomson
afa8bcbb2e
Bug 996237 - Tests for cipher mismatch. r=ekr
2014-08-04 11:50:00 -04:00
Martin Thomson
9b95d04978
Bug 996237 - Unit testing cipher suite selection happy path. r=ekr
2014-08-04 11:49:00 -04:00
Martin Thomson
7b591a212a
Bug 996237 - Limit WebRTC cipher profiles. r=ekr
2014-08-04 11:49:00 -04:00
Gian-Carlo Pascutto
526b2765aa
Bug 1043350 - Do not disable Aero mode when screen capturing. r=jesup
2014-08-05 15:48:15 +02:00
Mike Hommey
62e4d2c740
Bug 1048064 - Fix libstagefright build on GNU/kFreeBSD. r=ajones
2014-08-05 16:07:28 +09:00
Anthony Jones
e7ff4e143d
Bug 1045909 - Fix buffer range calculation for fMP4; r=edwin
2014-08-05 18:12:48 +12:00
Wes Kocher
8690584308
Backed out 2 changesets (bug 1045909, bug 1045915) for build failures
...
Backed out changeset 70e3d6723e8e (bug 1045909)
Backed out changeset d137dd97d955 (bug 1045915)
2014-08-04 19:18:34 -07:00
Anthony Jones
1d729bea82
Bug 1045909 - Fix buffer range calculation for fMP4; r=edwin
2014-08-05 13:35:04 +12:00
Randell Jesup
8d9058b81e
Bug 1048261: Fix SetDtlsConnected() r=bwc
2014-08-04 16:31:45 -04:00
Ryan VanderMeulen
17b5bf3fac
Backed out changeset db13171100fa (bug 1041369) for frequent mochitest-3 failures.
...
CLOSED TREE
2014-08-04 13:55:14 -04:00
Ed Morley
076cbae1d4
Backed out changeset ab292958d0e7 (bug 996237) for build failures on Android
2014-08-04 15:34:42 +01:00
Ed Morley
7da815226f
Backed out changeset 1015ade997be (bug 996237)
2014-08-04 15:34:25 +01:00
Ed Morley
1cbd2f3336
Backed out changeset 5cc4c2e9f1e4 (bug 996237)
2014-08-04 15:34:22 +01:00
Ed Morley
7a0239ee7e
Backed out changeset 7c32b87be327 (bug 996237)
2014-08-04 15:34:18 +01:00
Roman Skalish
f7af84fb1d
Bug 1041369 - Rescan window list on each getUserMedia window/screensharing request. r=jesup, r=gcp
2014-08-01 02:14:00 -04:00
Martin Thomson
406a9ecfd2
Bug 996237 - Check for DHE negotiation failure. r=ekr
2014-07-31 17:47:00 -04:00
Martin Thomson
4d4cb1fb06
Bug 996237 - Tests for cipher mismatch. r=ekr
2014-07-31 17:45:00 -04:00
Martin Thomson
dd8aded4a6
Bug 996237 - Unit testing cipher suite selection happy path. r=ekr
2014-07-31 10:47:00 -04:00
Martin Thomson
8c4a34fabd
Bug 996237 - Limit WebRTC cipher profiles. r=ekr
2014-07-31 17:45:00 -04:00
Edmund Wong
10171b103e
Bug 1047999 - Move GmpVideoCodec.h after MediaConduitInterface.h in mediaconduit_unittests.cpp. r=jesup
2014-08-04 17:31:18 +08:00
Gian-Carlo Pascutto
2b1a58480d
Bug 1042689 - Deal with a native stopCapture if the camera is paused. r=jesup
2014-08-04 08:29:45 +02:00
Karl Tomlinson
7fb342b26b
b=1045482 make XErrorTrap installation and removal thread-safe r=jesup
...
Error handling is now applied to the Display using async_handlers, instead of
replacing and trying to reinstate the XSetErrorHandler() global handler for
all Xlib Displays.
Inspired by use of the same Xlibint.h structures at
https://git.gnome.org/browse/gtk+/tree/gdk/x11/gdkasync.c?id=0e1a4248#n252
https://git.gnome.org/browse/gtk+/tree/gdk/x11/gdkasync.c?id=0e1a4248#n150
Compare use of _XAsyncErrorHandler in libX11.
--HG--
extra : rebase_source : 8bb16f09912b15e435441657e7275c9213b1a475
2014-08-01 17:58:24 +12:00
Karl Tomlinson
e40b693b73
b=1042508 enable neon resampler optimizations r=padenot
...
--HG--
extra : rebase_source : fd984143b78ecf25a5158715dd8bed8df7398945
2014-07-22 16:51:08 +12:00
Karl Tomlinson
4cd53b7e4f
b=1042508 remove : of empty Clobber asm argument r=padenot
...
https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html#Extended-Asm says
asm [volatile] ( AssemblerTemplate : [OutputOperands] [ : [InputOperands] [ : [Clobbers] ] ] )
which implies that Clobbers is optional even after the third colon, but
the gcc used for b2g_try_emulator_dep builds says
resample_neon.c: In function 'saturate_32bit_to_16bit':
resample_neon.c:50: error: expected string literal before ')' token
--HG--
extra : rebase_source : 6ca7768d5b30f67ff6827acc9a4fdc51a672bc1e
2014-07-22 20:10:36 +12:00
Karl Tomlinson
443ba0fbbc
b=1042508 move resampler simd optimizations to separate translation units r=padenot
...
This ensures that code in resample.c will run on Intel x86 cpus even when SSE
support has been compiled, and will provide similarly for neon support when
enabled.
--HG--
rename : media/libspeex_resampler/sse-detect-runtime.patch => media/libspeex_resampler/simd-detect-runtime.patch
rename : media/libspeex_resampler/src/resample_neon.h => media/libspeex_resampler/src/resample_neon.c
rename : media/libspeex_resampler/src/resample_sse.h => media/libspeex_resampler/src/resample_sse.c
rename : media/libspeex_resampler/src/sse_detect.cpp => media/libspeex_resampler/src/simd_detect.cpp
rename : media/libspeex_resampler/src/sse_detect.h => media/libspeex_resampler/src/simd_detect.h
extra : rebase_source : bdf1ef791129dedeadce7369354a5992729a99b7
2014-07-23 21:49:04 +12:00
Karl Tomlinson
741069760c
b=1042508 tie resampler sample type choice to MOZ_SAMPLE_TYPE_S16 r=padenot
...
When built with FIXED_POINT speex_resampler_process_float() assumes the
samples are in the range ±0x7fff and so Gecko instead uses ConvertAudioSamples
and speex_resampler_process_int(). This decision is based on
MOZ_SAMPLE_TYPE_S16.
--HG--
extra : rebase_source : 1e67861478026dfa65b61a31e3272970a7094094
2014-07-22 15:41:50 +12:00
Karl Tomlinson
5565b85921
b=1042508 include resample_neon.h from speexdsp 305e54ea r=padenot
...
--HG--
extra : rebase_source : effe9aa434298b0b49099b6809d506b92075ad1c
2014-07-21 17:08:00 +12:00
Jean-Yves Avenard
dd0783ff84
Bug 1046549 - Ignore mdat unless we've already found a media track. r=kentuckyfriedtakahe
2014-07-31 18:54:12 +12:00
Randell Jesup
91dee12169
Bug 1037830: Enforce size limit on returned encoded data from GMP plugins for webrtc r=ekr
2014-08-02 01:17:46 -04:00
Randell Jesup
251c8f2513
Bug 1047442: Add thread to resolve deadlock on sendCritSect caused by sync Encode dispatch to GMPThread r=pkerr
2014-08-01 17:27:52 -04:00
Randell Jesup
07610504b6
Bug 1047442: reacquire _sendCritSect within webrtc Encoded() callback (upstream patch) r=pkerr
2014-08-01 17:27:50 -04:00
Jeff Walden
7760dae108
Bug 1037100 - Remove all use of ScopedDeleteArray from media/. r=ekr
...
--HG--
extra : rebase_source : 0f32325b868e5e07b0d2966aea7057a940004be9
2014-07-10 20:03:12 -07:00
Ryan VanderMeulen
cde39a4083
Merge inbound to m-c. a=merge
2014-08-01 15:59:05 -04:00
Gian-Carlo Pascutto
39763359ac
Bug 1046275
- Fix potential concurrency bugs in Android WebRTC code. Remove inner classes. r=rnewman
2014-08-01 18:12:38 +02:00
Andrei Vlad Postoaca
77e88a30be
Bug 1032438 - Fix warnings in r_bitfield.c. r=abr
2014-07-02 08:35:00 -04:00
Anuj Agarwal
2300c8c15a
Bug 1028142 - Make the destructor of CSF::VideoControl private. r=abr
2014-07-31 10:05:59 -07:00
Andrew McCreight
969de38ff1
Bug 1028141 - Remove dangerous public destructor of CSF::AudioControl. r=abr
2014-07-31 10:05:59 -07:00
Andrew McCreight
6cc44b7ee7
Bug 1029478 - Remove dangerous public destructor of TransportFlow. r=abr
2014-07-31 10:05:58 -07:00
Nathan Froyd
9ea6c585f8
Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium
2014-07-24 11:55:33 -04:00
Ethan Hugg
eea1a20fd2
Bug 1045468: WebRTC should support SVC NAL(NAL type 14) for H264 r=jesup
2014-07-31 06:45:08 -07:00
Chris Kitching
1ca4ae5686
Bug 1047971: Delete even more redundant field initialisers r=rnewman
2014-08-03 02:21:42 -07:00
Randell Jesup
4699ae79b8
Bug 1043808: bustage fix for #includes that didn't get deleted r=bustage
2014-07-30 18:03:01 -04:00
Randell Jesup
38519b7452
Bug 1043808: remove assertions that video is an even number of pixels r=pkerr
2014-07-30 17:35:12 -04:00
Randell Jesup
3bfc2f209f
Bug 1043808: Don't allow content_analysis to half-initialize on small capture sizes r=pkerr
2014-07-30 17:35:05 -04:00
Ralph Giles
a998be842d
Bug 941296 - h.264 platform decoder for OS X. r=cpearce
...
Implement an h.264 decoder using Apple's VideoToolbox framework.
Based on gstreamer's vtdec because there's very little documentation
for this API beyond the framework's header file.
Reuse the MOZ_APPLEMEDIA define from the mp3 decoder.
AAC decoding is stubbed to use the BlankDecoderModule's 440A tone.
Provide a stub header for the VideoToolbox framework and load
it dynamically at run time so we can build and run on versions
prior to MacOS X 10.8 where it's not available.
Dynamically load the CoreMedia framework as well, but build
against its headers since it's available on MacOS X 10.7 or
later, which is our minimum build version.
2014-07-24 13:47:00 -07:00
Karl Tomlinson
39582dd9ce
b=1033122 be consistent about speex_resampler symbol visibility r=khuey
...
When "speex/speex_resampler.h" was included, another exported header (in
dist/include) would find the speex/speex_resampler.h in dist/include before
dist/system_wrappers. Visibility of undefined symbols depended on the order
of includes.
This patch changes includes to <speex/speex_resampler.h> so that
WRAP_SYSTEM_INCLUDES works as expected but removes the wrapper when not using
GKMEDIAS_SHARED_LIBRARY.
--HG--
extra : rebase_source : 93ca1dbdd6b489647624326e78539f44c60d0b34
2014-07-02 14:21:34 +12:00
Paul Adenot
b50326fc1e
Bug 1045018
- Make webrtc.org code use mozilla_set_coreaudio_notification_runloop. r=gcp
2014-07-29 18:45:06 +02:00
Paul Adenot
26d637626f
Bug 1045018
- Make cubeb_audiounit.c use the new cubeb_set_coreaudio_notification_runloop function. r=kinetik
2014-07-29 18:45:06 +02:00
Paul Adenot
f7bb7c3f73
Bug 1027713 - Disable test_stress on windows 8 as well.
2014-07-29 18:45:05 +02:00
Paul Adenot
2c058e4f67
Bug 1023947 - Part 2 - Allow getting the current input device in cubeb. r=kinetik
2014-07-18 19:21:27 +02:00
Paul Adenot
74f90cf9f5
Bug 1027713 - Part 3 - Add a cubeb API to signal that the output device changed. r=kinetik
...
The reentrant mutex is needed so that users can call back into cubeb's API from
the callback.
2014-07-29 18:45:03 +02:00
Paul Adenot
0d0ac0d649
Bug 1027713 - Part 2 - Add a cubeb API to query the name of the audio output device in use. r=kinetik
2014-07-29 18:45:03 +02:00
Paul Adenot
9e0d9d7167
Bug 1027713 - Part 1 - Add a volume API in cubeb and use it instead of doing our own soft gain. r=kinetik
2014-07-29 18:45:02 +02:00
Birunthan Mohanathas
4b365f674c
Bug 1044447 - Remove a few unnecessary empty moz.build files. r=glandium
2014-07-28 18:02:44 -07:00
Gian-Carlo Pascutto
8d31a955a9
Bug 1015932 - Move OpenSLES Realize into the engine broker. r=padenot
2014-07-29 16:45:41 +02:00
Gian-Carlo Pascutto
56cdd710c4
Bug 1015932 - Make WebRTC and libcubeb use the OpenSLES engine broker. r=padenot
2014-07-29 16:45:41 +02:00
Georg Fritzsche
42d8526108
Bug 1045500 - Allow differentiating GMP PluginCrashed events from others. r=jesup
2014-07-29 16:46:16 +02:00
Georg Fritzsche
0c6065059e
Bug 1043531 - Move PluginCrashed event generation to C++. r=smaug,jesup
2014-07-28 17:41:52 +02:00
Mike Hommey
1e79fe55c2
Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps
2014-07-29 08:55:55 +09:00
Carsten "Tomcat" Book
8329e0d768
merge fx-team to mozilla-central a=merge
2014-07-28 15:44:12 +02:00
Chris Kitching
9f496ef232
Bug 1041836: Delete redundant initialisers. (generated) r=rnewman
2014-07-25 20:14:47 -07:00
Wes Kocher
88a01acaab
Merge m-c to fx-team
2014-07-25 16:27:34 -07:00
Randell Jesup
2d6b62842b
Bug 1043808: Compile desktop_capture_impl.cc with the rest of desktop_capture r=ted
2014-07-25 11:21:54 -04:00
Carsten "Tomcat" Book
629718b0ad
Backed out changeset b652396e9fd7 (bug 1015932)
2014-07-28 08:21:19 +02:00
Carsten "Tomcat" Book
f5c141c5c2
Backed out changeset 689b75c98f2f (bug 1015932)
2014-07-28 08:21:16 +02:00
Gian-Carlo Pascutto
a847503bc3
Bug 1015932 - Move OpenSLES Realize into the engine broker. r=padenot
2014-07-28 08:10:21 +02:00
Gian-Carlo Pascutto
cc77fa9637
Bug 1015932 - Make WebRTC and libcubeb use the OpenSLES engine broker. r=padenot
2014-07-28 08:09:48 +02:00
Anthony Jones
5f8aaaf71d
Bug 1044714 - Add MP4 parser 'trex' atom support; r=edwin
2014-07-28 16:32:51 +12:00
Anthony Jones
47f2e5fc02
Bug 1044713 - Modify MP4 metadata parser to make it less sensitive to atom ordering; r=edwin
2014-07-28 16:32:50 +12:00
Randell Jesup
de6e65a87e
Bug 1043515: Add support for a preferred codec to be chosen/offered first always r=ehugg
2014-07-27 20:00:35 -04:00
Randell Jesup
a6b7bd2a23
Bug 1043515: Ignore unknown fmtp values; partially fix unittests to handle H264_P0 disabled r=ehugg
2014-07-27 20:00:06 -04:00
Randell Jesup
f8df63b25d
Bug 1043515: Add max-br and max-mbps H.264 SDP fmtp parameters; update supported h264 level r=ehugg
2014-07-27 19:59:46 -04:00
Ehsan Akhgari
ec9e807bb2
Bug 1044478 - Just use the libraries that we really need when linking cubeb tests; r=padenot
2014-07-27 13:08:43 -04:00
Brad Lassey
6140b461f2
bug 1041493 - add support for browser to mediaSource constraint r=rjesup,khuey
2014-07-21 08:31:31 -04:00
Randell Jesup
b5b6394b6f
Bug 1043808: Clean up rounding of sizes in MediaPipeline to handle odd sizes correctly r=jhlin
2014-07-25 03:11:13 -04:00
Georg Fritzsche
0d3e2a8cbf
Bug 1043531 - Cache PluginID in WebRTCVideoDecoder/Encoder if plugin Terminates unexpectedly r=jesup
2014-07-24 20:41:03 +02:00
Anthony Jones
9b31f46826
Bug 1039128 - Fix drain of video queue
2014-07-25 14:57:25 +12:00
Randell Jesup
50baa1493e
Bug 1042765 - Better logging for GMP plugins r=cpearce
2014-07-24 21:47:44 -04:00
Randell Jesup
8591e2dec0
Bug 1041232: Resolve GMP API lifetime issues and allow mid-call shutdown, etc r=cpearce
2014-07-24 21:47:40 -04:00
Wes Kocher
c1992a8da2
Backed out 8 changesets (bug 1023947, bug 1027713) for frequent Cppunit test failures
...
Backed out changeset 03edb1ab3182 (bug 1027713)
Backed out changeset ad05dc816fa0 (bug 1023947)
Backed out changeset a56aad94c7c9 (bug 1023947)
Backed out changeset 63af4528bd9c (bug 1023947)
Backed out changeset b6bb38846333 (bug 1027713)
Backed out changeset c0045bb1849e (bug 1027713)
Backed out changeset 274b2b25d167 (bug 1027713)
Backed out changeset e0bba6f4966f (bug 1027713)
2014-07-24 13:57:03 -07:00
Chris Pearce
9633095076
Bug 1038615 - Report GMP decoding/encoding errors asynchronously. r=jesup
2014-07-24 09:35:01 +12:00
Karl Tomlinson
82e2b3354d
b=1042504 use direct resampler for 48->44.1k r=padenot
...
Transplanted from patch by Gregory Maxwell <greg@xiph.org>
http://git.xiph.org/?p=opus-tools.git;a=commitdiff;h=f426ab52
--HG--
extra : rebase_source : 457a874135b4fea8649d72299be96a79e7dcda64
2014-07-21 16:34:26 +12:00
Karl Tomlinson
6d4723f7d2
b=1042504 update speex resampler to speexdsp 305e54ea r=padenot
...
Upstream SATURATE32PSHR changes conflict with Gecko's SSE runtime
detection patch. That patch is updated to reduce deviation from
upstream.
--HG--
extra : rebase_source : fdaf355f802b944fcbe286e076ca19dc6bc33f80
2014-07-23 16:58:45 +12:00
Karl Tomlinson
f15c5047f8
b=1042504 switch speex resampler to speexdsp bbe7e099 r=padenot
...
This is the speexdsp revision most similar to what is currently in Gecko.
We'll want to keep the HUGEMEM variant that we currently have from
opus-tools, but that will be restored in a subsequent patch.
--HG--
extra : rebase_source : 0d0d881dc1c997a42c9386136f0b93fd15aa0331
2014-07-23 16:56:25 +12:00
Karl Tomlinson
65871f39fc
b=1042504 correct strip prefix for applying outside-speex patch r=padenot
...
--HG--
extra : rebase_source : 946eef24f2f585f992065430188bdbd2aff523de
2014-07-21 15:22:25 +12:00
Randell Jesup
cf11de6562
Bug 1042791: H.264 profile-level-id's in SDP have no leading '0x', breaking interop r=ehugg
2014-07-23 15:43:38 -04:00
Mike Hommey
ad9b49263a
Bug 1041936 part 2 - Directly use the static library "xul" to link into "xul-gtest" instead of having an intermediate library "xul" used by "xul-shared" and "xul-gtest". r=gps
2014-07-23 13:33:09 +09:00
Mike Hommey
71623acdd6
Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
...
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.
Always pass EXTRA_LIBS before OS_LIBS on linker command lines.
Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00