Commit Graph

2286 Commits

Author SHA1 Message Date
Randell Jesup
cf1cedb73a Bug 1052169: Ignore decode-complete callbacks during OMX decoder shutdown r=jhlin 2014-08-20 04:39:44 -04:00
Shih-Chiang Chien
3d72ae267f Bug 1054908 - Ensure socket_child_ is released on main thread. r=mt 2014-08-18 19:14:00 -04:00
Sylvestre Ledru
9396350e79 Bug 1055060 - Non-array delete for scalars - CID 1122166 & 1122167 r=jesup 2014-08-19 08:19:28 +02:00
Anthony Jones
f574bb0e2e Bug 1050814 - Fix duration reporting in MP4; r=edwin 2014-08-19 14:13:58 +12:00
Anthony Jones
cc7b452600 Bug 1054153 - Fix MP4 demuxer is init vs buffered range race; r=edwin 2014-08-19 14:13:56 +12:00
Anthony Jones
dfffe06cbd Bug 1049133 - Calculate eviction offset for MP4 instead of guessing; r=kinetik,edwin 2014-08-19 14:13:55 +12:00
Gian-Carlo Pascutto
3ae07e977e Bug 929431 - Don't reinitialize DirectShow if it's not actually needed. r=jesup 2014-08-18 14:06:02 +02:00
Gian-Carlo Pascutto
84a06cb866 Bug 929431 - Remove spurious newlines from the logging. r=jesup 2014-08-18 14:06:01 +02:00
Jean-Yves Avenard
ee64078bc7 Bug 1022501 - Add MP3 support to MP4 demuxer. r=edwin
--HG--
rename : content/media/fmp4/eme/EMEAACDecoder.cpp => content/media/fmp4/eme/EMEAudioDecoder.cpp
rename : content/media/fmp4/eme/EMEAACDecoder.h => content/media/fmp4/eme/EMEAudioDecoder.h
rename : content/media/fmp4/ffmpeg/FFmpegAACDecoder.cpp => content/media/fmp4/ffmpeg/FFmpegAudioDecoder.cpp
rename : content/media/fmp4/ffmpeg/FFmpegAACDecoder.h => content/media/fmp4/ffmpeg/FFmpegAudioDecoder.h
extra : rebase_source : 964077ffa7abd11a5da586bfcdee2ee98d4bc210
2014-08-15 16:25:06 +10:00
Landry Breuil
376d1af26a Bug 1054176 - fix some warnings about unitialized values and bad assign r=kinetik 2014-08-18 11:38:08 +02:00
Landry Breuil
a4fb7ffb2b Bug 1054176 : fix cubeb sndio build after bug 1027713 r=kinetik 2014-08-18 11:37:30 +02:00
Ryan VanderMeulen
deaa74fb0e Backed out changesets b8e0173c9c47, b087e84a99f1, and 66c055120ca7 (bug 1049133) for Android and B2G bustage.
CLOSED TREE
2014-08-17 22:28:34 -04:00
Anthony Jones
fce84186cc Bug 1049133 - Calculate accurate MP4 eviction offset; r=edwin 2014-08-18 13:02:27 +12:00
Anthony Jones
05417ba36f Bug 1054144 - Support 'tfdt' in MP4 parser; r=edwin 2014-08-18 13:02:22 +12:00
Vikrantsingh Bisen
ac3793aa86 Bug 1053067 - Correct misspellings of "version" in WebRTC. r=jesup 2014-08-15 23:46:00 -04:00
Gabriele Svelto
549952e23e Bug 1052923 - Fix the volume conversion in millibels. r=padenot 2014-08-15 11:36:49 +02:00
Jan-Ivar Bruaroey
f8abb7024d Bug 1032835 - add/removeStream now implemented with addTrack/removeTrack. r=jesup, r=smaug 2014-08-15 14:53:14 -04:00
Jan-Ivar Bruaroey
338e5bc1d2 Bug 1032835 - addTrack/removeTrack on-top of existing implementation. r=smaug, r=jesup 2014-08-13 21:40:54 -04:00
Ehsan Akhgari
846cc77ddd Bug 1053792 - Fix some bad implicit constructors in the mtransport code; r=jesup 2014-08-15 17:41:29 -04:00
Adam Roach [:abr]
f29b19914b Bug 1052850 - Fix VCM receive calls to use local PT rather than remote PT r=jesup 2014-08-12 16:58:47 -05:00
Ryan VanderMeulen
8b24589784 Backed out changesets 9329fb07c373 and ff8dc9ac0228 (bug 1022501) for Windows mochitest-1 failures.
CLOSED TREE

--HG--
rename : content/media/fmp4/eme/EMEAudioDecoder.cpp => content/media/fmp4/eme/EMEAACDecoder.cpp
rename : content/media/fmp4/eme/EMEAudioDecoder.h => content/media/fmp4/eme/EMEAACDecoder.h
rename : content/media/fmp4/ffmpeg/FFmpegAudioDecoder.cpp => content/media/fmp4/ffmpeg/FFmpegAACDecoder.cpp
rename : content/media/fmp4/ffmpeg/FFmpegAudioDecoder.h => content/media/fmp4/ffmpeg/FFmpegAACDecoder.h
2014-08-15 13:14:03 -04:00
Jean-Yves Avenard
ed9213e715 Bug 1022501 - Add MP3 support to MP4 demuxer. r=edwin
--HG--
rename : content/media/fmp4/eme/EMEAACDecoder.cpp => content/media/fmp4/eme/EMEAudioDecoder.cpp
rename : content/media/fmp4/eme/EMEAACDecoder.h => content/media/fmp4/eme/EMEAudioDecoder.h
rename : content/media/fmp4/ffmpeg/FFmpegAACDecoder.cpp => content/media/fmp4/ffmpeg/FFmpegAudioDecoder.cpp
rename : content/media/fmp4/ffmpeg/FFmpegAACDecoder.h => content/media/fmp4/ffmpeg/FFmpegAudioDecoder.h
2014-08-15 16:25:06 +10:00
Sotaro Ikeda
0e78807c21 Bug 1036539 - Add async mode support to GonkNativeWindow r=mikeh,pchang 2014-08-15 07:41:33 -07:00
Ralph Giles
3c372f1361 Bug 1052610 - Fix an unused variable warning. r=martin.thomson
Disabling the code while leaving the table it uses breaks -Werror.
2014-08-14 10:02:00 -07:00
Ralph Giles
fdccd07b28 Bug 1045231 - Namespace nrAppKit's htonll. r=abr
This avoids conflicts with any system-provided versions, like
on Apple MacOS X 10.10.
2014-08-14 10:05:00 -07:00
Martin Thomson
a7496d2d8d Bug 1052610 - Removing cipher suite profiling. r=ekr 2014-08-13 14:08:00 -05:00
EKR
ffe3f9c163 Bug 1047487 - Add support for G.722. r=jesup 2014-08-02 21:10:09 -07:00
Anthony Jones
02954d544b Bug 1051666 - Add avc3 atom support to MP4 parser; r=edwin 2014-08-13 17:13:28 +12:00
Anthony Jones
89cf34962d Bug 1050060 - Optimise MP4 range calculation; r=edwin 2014-08-13 17:13:28 +12:00
Anthony Jones
154a8d9e7b Bug 1050060 - Clean up MP4 index fields; r=edwin 2014-08-13 17:13:27 +12:00
Randell Jesup
5a3bb753da Bug 1051566: Support H.264 Mode 0 in GMP OpenH264 r=ehugg 2014-08-11 17:13:59 -04:00
Chris Kitching
65c16c70f7 Bug 1051695: Reduce use of proxy methods and generated getters in 'webrtc' code. r=rnewman 2014-07-28 17:33:01 -07:00
Karl Tomlinson
d55bf5abac b=987679 update speex resampler to speexdsp d60e75b2 r=padenot
--HG--
extra : rebase_source : 8837b12e4e70daf5c089978079eeb5fa7bd278a4
2014-08-07 19:15:27 +12:00
Randell Jesup
583bfcfee0 Bug 1030112: Fix typo in OMX H264 encode timestamp matching and deal with SPS/PPS timestamp assignment r=jhlin 2014-07-03 10:54:22 -04:00
Mo Zanaty
b5a77e2104 Bug 1050461: Clean up webrtc upstream h264 mode 0 support and jitter buffer code, remove kludges r=jesup
Changes the H.264 RTP receiver to handle multiple NAL units per frame with
the same timestamp.
A single jitter buffer frame is created for all packets with the same RTP
timestamp. NAL units are depacketized upon insertion to the encoded frame
buffer. Depacketization includes insertion of start codes and removal of
fragmentation and aggregation unit headers.
2014-08-09 01:46:04 -04:00
Mike Hommey
a3eba4accf Bug 1050704 - Remove STLPORT_CPPFLAGS from Makefiles. r=mshal 2014-08-09 07:55:09 +09:00
Mike Hommey
e93b3d1687 Bug 1050081 - Remove media/webrtc/webrtc-config.mk. r=mshal 2014-08-09 07:54:39 +09:00
Martin Thomson
f732264a57 Bug 1006207 - Remove offset from Packet class, forcing use of recv over read. r=ekr 2014-08-04 15:35:00 -04:00
Martin Thomson
4c4bff04e7 Bug 1006207 - Remove unused mode_ code. r=ekr 2014-08-04 15:34:00 -04:00
Blake Wu
fe63f52d3d Bug 941302 - Part 4: Changes in demuxer to make aac_profile public. r=ajones
From 3d24ae2e30a7d53387b2e08cf3562f343cf99123 Mon Sep 17 00:00:00 2001
2014-08-07 18:17:48 +08:00
Paul Adenot
254410d00e Bug 1046592 - Fix bustage.
--HG--
extra : rebase_source : ca08f9c642c8ab6463551cf00ad8f4d9c9be02df
2014-08-08 14:19:14 +02:00
Paul Adenot
4e1c8b21e9 Bug 1046592 - Fix volume computation in cubeb's opensl backend. r=kinetik 2014-08-08 13:26:42 +02:00
Paul Adenot
7aab689f0a Bug 1049478 - Fix volume handling in cubeb's PulseAudio backend: revert to soft-volume when needed. r=kinetik
--HG--
extra : rebase_source : 16c2702a4304047e266c07c02f868510c9860f75
2014-08-08 13:26:02 +02:00
Karl Tomlinson
999788eb34 b=995075 update speex resampler to speexdsp 769dc295 r=padenot
--HG--
extra : rebase_source : 786ee924d4d41745bfad84fbf9457c82db4158fb
2014-08-07 18:13:12 +12:00
Randell Jesup
410855c643 Bug 1041369: one more missing line in the previous bustage fix r=bustage 2014-08-07 11:09:34 -04:00
Randell Jesup
263a3ec2c7 Bug 1041369: unified build: missing include of scoped_ptr.h r=bustage 2014-08-07 10:38:52 -04:00
Randell Jesup
facb61a326 Bug 1041369: add lost stub in null window capture device for Refresh() r=bustage 2014-08-07 10:26:26 -04:00
Roman Skalish
6a8050e871 Bug 1041369 - Rescan window list on each getUserMedia window/screensharing request. r=jesup, r=gcp 2014-08-01 02:14:00 -04:00
Matthew Gregan
7d1f102037 Bug 992238 - Disable test_init_destroy_multiple_contexts_and_streams on Windows 7. r=padenot 2014-08-05 21:57:00 -04:00
EKR
8b8d92e134 Bug 1049291 - Remove uses of select() in SIPCC SIP task r=ehugg 2014-08-06 17:56:27 -07:00
Mike Hommey
0f4c5d9244 Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
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