Commit graph

339 commits

Author SHA1 Message Date
Jiaxun Yang
076a13bb2d Issue #1542 - [mtransport] Fix unaligned memory allocation in r_memory
Unaligend memory access can't work on RISC.
2020-05-23 06:55:28 +08:00
Jiaxun Yang
cc24eccfce Bug 1426323 - Media: WebRTC: Fix build config for MIPS64
Tag: #1542
2020-05-23 06:55:26 +08:00
Jiaxun Yang
2b6293d816 Issue #1542 - [WebRTC] Set CPU speed to -1 on MIPS
CPU is pretty slow due to lack of SIMD optmization.
2020-05-23 06:55:22 +08:00
Jiaxun Yang
8a6ebcdf2f Issue #1542 - [WebRTC] Don't use post proc on MIPS 2020-05-23 06:55:19 +08:00
Jiaxun Yang
8750eed647 Bug 1384826 - Media: WebRTC: Fix build config for MIPS
Tag: #1542
2020-05-23 06:55:16 +08:00
Roy Tam
bd1e07b203 Merge remote-tracking branch 'origin/master' into custom 2020-05-09 07:01:19 +08:00
Matt A. Tobin
8ca630ef64 Issue #1531 - Work around GCC 10 defaulting to -fno-common in media/ffvpx/libavcodec/
Build Reference:
26:39.53 ../../../build/unix/gold/ld: error: /home/mattatobin/development/.obj/trunk-f1f9fdabf/navigator-x86_64-pc-linux-gnu-gtk2/media/ffvpx/libavcodec/flac_parser.o: multiple definition of 'ff_flac_parser'
26:39.53 ../../../build/unix/gold/ld: /home/mattatobin/development/.obj/trunk-f1f9fdabf/navigator-x86_64-pc-linux-gnu-gtk2/media/ffvpx/libavcodec/dummy_funcs.o: previous definition here
26:39.53 collect2: error: ld returned 1 exit status
26:39.53 gmake[4]: *** [/home/mattatobin/development/binoc-central/platform/config/rules.mk:773: libmozavcodec.so] Error 1

See also: https://gcc.gnu.org/gcc-10/porting_to.html
2020-05-09 06:55:05 +08:00
Roy Tam
8d7d46f06c Merge remote-tracking branch 'origin/master' into custom 2020-04-11 10:43:22 +08:00
Matt A. Tobin
b746a4196a Move aom source to a sub-directory under media/libaom
There is no damned reason to treat this differently than any other media lib given its license and there never was.
2020-04-11 09:40:44 +08:00
Roy Tam
4ecaa49dd0 Merge remote-tracking branch 'origin/master' into custom 2020-04-03 09:57:28 +08:00
JMadgwick
1640ee7bc6 Issue #1471 - Fix building on sparc64 Linux
Correct various pre-processor defines for sparc64 and in mozjemalloc use the JS arm64 allocator on Linux/sparc64.
This corrects build problems opn Linux sparc64 and is in line with bugzilla bug #1275204.
2020-04-03 09:26:50 +08:00
Roy Tam
bd46990741 Merge remote-tracking branch 'origin/master' into custom 2020-03-05 09:48:44 +08:00
Matt A. Tobin
ecf0a07d12 Issue #1319 - Remove EARLY_BETA_OR_EARLIER condition 2020-03-05 09:38:16 +08:00
Roy Tam
c9f0b81b06 Merge remote-tracking branch 'origin/master' into custom 2020-02-07 08:01:35 +08:00
wolfbeast
fced04faa2 Issue #1342 - Remove support for system libvpx 2020-02-07 07:52:18 +08:00
Roy Tam
1a197351cd Merge remote-tracking branch 'origin/master' into custom 2020-01-09 21:28:41 +08:00
wolfbeast
e82bb23d7e Reject sample rates that are out-of-range for libsoundtouch.
We never reach this with our normal use of this lib but adding the
sanity check just in case. (ported from upstream)
2020-01-09 21:23:49 +08:00
Roy Tam
8c7f5dcc57 Merge remote-tracking branch 'origin/master' into custom 2019-12-07 06:55:51 +08:00
Christian Holler
39c9c5849b Check return value of PeerConnectionImpl::GetFingerprint. 2019-12-07 06:55:08 +08:00
Roy Tam
09a00ad3bd Merge remote-tracking branch 'origin/master' into custom 2019-11-04 11:56:53 +08:00
Gaming4JC
3c2728e97e Issue #1271 - Fix build failure in current in-tree libcubeb sndio module
Fixes build error due to errant typecast in PTHREAD_MUTEX_INITIALIZER.
2019-11-04 11:54:34 +08:00
Gaming4JC
84c1e8ce10 Issue #1265 - Expose sndio as a build option for any supporting system 2019-11-04 11:54:32 +08:00
athenian200
cbf60a2058 Fix a bunch of dumb typos and omissions. 2019-11-04 11:53:57 +08:00
athenian200
c3adb0a157 MoonchildProductions#1251 - Part 14: libstagefright build should avoid _GLIBCXX_OS_DEFINES.
https://bugzilla.mozilla.org/show_bug.cgi?id=1367775

Windows already requires this ifdef, Solaris needs it too. Not much more to say, but I can do research and follow up on this if asked.
2019-11-04 11:52:34 +08:00
athenian200
c19f252ab2 MoonchildProductions#1251 - Part 11: libpng uses C89 now to avoid buffer overflows.
https://bugzilla.mozilla.org/show_bug.cgi?id=1371266
12e63e91af

This sounds absurd, and the fact that we had to change a C++ comment to a C-style comment on account of this may seem hilarious and inconsequential, but this isapparently not a joke and leaving it as it is now may be a bad idea.
2019-11-04 11:52:30 +08:00
athenian200
68ee7c2d20 MoonchildProductions#1251 - Part 6: Solaris needs an audio implementation.
Current versions of libcubeb already have a Sun audio implementation, but in Firefox 52 and earlier, this was all they had. I'm not completely happy with this implementation because it has issues like video freezing if the soundcard isn't working, but I think fixing this or pulling in a newer libcubeb would be going too far for too little gain.
2019-11-04 11:52:21 +08:00
Roy Tam
4f8655fb73 update libaom to rev 1f0a4746aa8bfcce3fe7fbd2092aef8fe247aef4 (without moz.build and aom_ports/aom_once.h) 2019-10-30 15:19:33 +08:00
Byron Campen
df83678e80 Prevent nr_ice_component_insert_pair from leaking. 2019-10-25 12:00:23 +08:00
Roy Tam
aeda91f1d0 import changes from tenfourfox:
- #574: M1581950 M1584216 M1577107 M1584907 M1558522 (71cf5b95a)
- #574: new tzdata (842c3af2a)
2019-10-22 14:13:42 +08:00
Roy Tam
4ea7de218b Merge remote-tracking branch 'origin/master' into custom 2019-10-18 09:06:42 +08:00
Dmitry Grigoryev
12fba36d6e Added missing libwebp files to update.sh 2019-10-18 09:04:55 +08:00
Roy Tam
e4a4b3aee3 Merge remote-tracking branch 'origin/master' into custom 2019-10-05 07:23:24 +08:00
Dmitry Grigoryev
9d42392ea8 Added missing libwebp NEON files 2019-10-05 07:22:24 +08:00
Roy Tam
2afee714fb Merge remote-tracking branch 'origin/master' into custom 2019-07-19 10:08:05 +08:00
Jeroen Vreeken
3dfc953945 Alow AAC audio codec data in matroska/webm streams.
Allow CRC32 elements in matroska cluster elements.
2019-07-19 10:04:57 +08:00
Roy Tam
8f3a931753 Merge remote-tracking branch 'origin/master' into custom 2019-07-12 17:03:30 +08:00
Jeroen Vreeken
a960d679d5 Allow matroska mime types for video element and MSE
Allow avc (h.264) content in matroska/webm containers
2019-07-12 16:56:02 +08:00
Roy Tam
6431b85501 Merge remote-tracking branch 'origin/master' into custom 2019-05-31 07:28:33 +08:00
wolfbeast
dfb01e0384 Ensure we AddRef prior to early return in MediaType::Assign. 2019-05-31 07:21:30 +08:00
wolfbeast
269dfa5bac [libpng] Backport an upstream libpng patch. 2019-05-31 07:18:30 +08:00
Roy Tam
ef35212f8b update libaom to rev 76574b6c09515d6687ebfa9760319e521f5abeb3 (without moz.build and aom_ports/aom_once.h) 2019-04-19 13:08:28 +08:00
Roy Tam
fb515ea77b update libaom to rev 5bdd95475e07ac8641114cb139105b8d734a1b60 (without moz.build and aom_ports/aom_once.h) 2019-03-29 21:53:07 +08:00
Roy Tam
402c27b560 ffvpx: update to 3.4.6 2019-03-29 21:29:57 +08:00
Roy Tam
55c995b79c Merge remote-tracking branch 'origin/master' into custom 2019-03-16 07:14:05 +08:00
adeshkp
888d5e5395 Fix warnings about unreachable code in cubeb 2019-03-16 07:04:14 +08:00
Roy Tam
113a86e60a ffvpx: update ffmpeg to 3.4.4 with AVC/AAC/HEVC/FLAC added. 2019-02-22 22:05:32 +08:00
Roy Tam
eb361970c5 aom: update libaom to 0ec86ac7ae1e32a7e70410fa4972a655ec3670a4 2019-02-22 22:05:25 +08:00
Roy Tam
bc3f20e378 libjpeg: update to libjpeg-turbo/libjpeg-turbo@0dd9a2c 2019-02-22 22:05:19 +08:00
Roy Tam
87993c82c7 libogg: updated to upstream rev ea2b95940 2019-02-22 22:05:17 +08:00
Roy Tam
39c1c4e3de libtheora: cherry-picked some fixes from upstream:
- Sanity improvements to oc_dec_headerin() error returns. (50fd339b4)
- Fix mismatched oc_mb_fill_cmapping11 signature. (12f20c7a5)
- Correct an operator precedence error in the visualization code.  (6b94bf905)
- Remove some redundant NULL checks (de386d3ea)
2019-02-22 22:05:14 +08:00