4135 Commits

Author SHA1 Message Date
Jan Beich
71ac49183e Bug 1285501 - Build linux/ directory on DragonFly, NetBSD and Solaris as well. r=jesup
MozReview-Commit-ID: 46Z55h9oWIm

--HG--
extra : transplant_source : %AE%E7%0D%9EHg%84%17Z%07%7D%12%95%C1A3%F5%ECw%A1
2016-07-08 09:27:08 +00:00
Randell Jesup
ae674679d8 Bug 1286644: cherry-pick AEC fix from Chromium Issue 576624 r=pkerr 2016-07-13 17:47:00 -04:00
Sotaro Ikeda
cdc6e67e26 Bug 1284803 part 11 - Fix build failure of Android 4.2 x86 opt r=jrmuizel 2016-07-12 23:04:33 -07:00
Sotaro Ikeda
af38b3a39c Bug 1284803 part 9 - Make sure NEON ifdefs match r=jesup 2016-07-12 23:02:12 -07:00
Sotaro Ikeda
72a83366f5 Bug 1284803 part 8 - Disable AVX2 asm if the compiler/assembler don't support it r=jesup 2016-07-12 23:00:57 -07:00
Sotaro Ikeda
81a67fb28f Bug 1284803 part 7 - Disable assembly if toolchain doesn't support ssse3/sse4.1 r=jesup 2016-07-12 22:59:52 -07:00
Sotaro Ikeda
674e17f8c6 Bug 1284803 part 6- Suppress MJPEG fprintf() warnings in libyuv r=jesup 2016-07-12 22:58:57 -07:00
Sotaro Ikeda
82d3f7eb03 Bug 1284803 part 5 - Enable JPEG r=jesup 2016-07-12 22:57:54 -07:00
Sotaro Ikeda
eba67d1f69 Bug 1284803 part 4 - Change libyuv.gyp for fixing build failure r=jesup 2016-07-12 22:56:43 -07:00
Sotaro Ikeda
674339264a Bug 1284803 part 3 - Change basic_types.h for fixing build failure r=jesup 2016-07-12 22:55:58 -07:00
Sotaro Ikeda
47a89eb453 Bug 1284803 part 2 - Update moz.build for fixing build failure r=jesup 2016-07-12 22:55:15 -07:00
Sotaro Ikeda
01215d9b70 Bug 1284803 part 1 - Update libyuv to rev 1602 r=jesup 2016-07-12 22:53:35 -07:00
Nicholas Nethercote
a913f99107 Bug 1285554 - Remove remnants of widget/qt. r=dougt,mshal.
Because bug 1282866 removed Qt support but missed a bunch of things.
* * *
Bug 1285554 - more

--HG--
extra : rebase_source : c48d2485f1fdf1c961e08d91651bbca41e3a1a53
2016-07-12 09:16:45 +10:00
Randell Jesup
3cf9863b59 Bug 1273652: Always reinitialize the receiver/jitterbuffer when reseting video decoding r=pkerr 2016-07-12 15:42:59 -04:00
Wes Kocher
e94aeb34ae Backed out 2 changesets (bug 1285541) for causing a frequent mda failure
Backed out changeset 53ac5a12a19b (bug 1285541)
Backed out changeset aea13acdf417 (bug 1285541)

--HG--
rename : media/libcubeb/src/cubeb_audiounit.cpp => media/libcubeb/src/cubeb_audiounit.c
2016-07-08 15:21:43 -07:00
Paul Adenot
43d6b652f1 Bug 1285541 - Update cubeb to revision b8aebef3. r=padenot
Patches by achronop.

MozReview-Commit-ID: 2RurT5Y3CHo

--HG--
rename : media/libcubeb/src/cubeb_audiounit.c => media/libcubeb/src/cubeb_audiounit.cpp
2016-07-08 15:56:56 +02:00
Carsten "Tomcat" Book
838f21f656 merge mozilla-inbound to mozilla-central a=merge 2016-07-08 11:58:46 +02:00
Nils Ohlmeier [:drno]
61aaacaf56 Bug 1285318: turn of WebRTC TCP packet filtering. r=mjf
MozReview-Commit-ID: 7kmAJlscG9a

--HG--
extra : rebase_source : c8d6a741fbde3f514ee49be5ee97291ba58831d3
2016-07-07 11:32:04 -07:00
Carsten "Tomcat" Book
e9a4666c05 Merge mozilla-central to autoland 2016-07-07 11:44:49 +02:00
Nils Ohlmeier [:drno]
8f07aa3df1 Bug 1279146 - Clean up streams on shutdown. r=bwc
--HG--
extra : amend_source : db42e64bafec58bfef42a0fc7aad2cc1a761e137
2016-07-07 21:33:23 -04:00
Nils Ohlmeier [:drno]
aee07d68e0 Bug 1283619: enable far end REMB support for sending conduits depending on signaling. r=mjf
MozReview-Commit-ID: BBuhSHw2Wyb

--HG--
extra : rebase_source : fc512ea95644cc1b62e53a4f88df589f4912dffc
2016-06-30 14:22:38 -07:00
Ralph Giles
705dbc4fe9 Bug 1284589 - Result of running the update script. r=kinetik
Implement the changes by running the new update script.

MozReview-Commit-ID: 2gbmdq4Mlri

--HG--
rename : media/libstagefright/binding/mp4parse/boxes.rs => media/libstagefright/binding/mp4parse/src/boxes.rs
rename : media/libstagefright/binding/mp4parse/byteorder/mod.rs => media/libstagefright/binding/mp4parse/src/byteorder/mod.rs
rename : media/libstagefright/binding/mp4parse/byteorder/new.rs => media/libstagefright/binding/mp4parse/src/byteorder/new.rs
rename : media/libstagefright/binding/mp4parse/capi.rs => media/libstagefright/binding/mp4parse/src/capi.rs
rename : media/libstagefright/binding/mp4parse/lib.rs => media/libstagefright/binding/mp4parse/src/lib.rs
rename : media/libstagefright/binding/mp4parse/tests.rs => media/libstagefright/binding/mp4parse/src/tests.rs
extra : rebase_source : dee1bc8dc923d4d8edc060a2ef14161d78c5e4dc
2016-07-05 11:10:15 -07:00
Ralph Giles
df3f69672e Bug 1284589 - Move mp4parse source to match upstream. r=kinetik
Make Cargo.toml, build.rs and standard cargo source package
layout available in-tree to facilitate testing cargo-driven
builds of rust code.

Update the moz.build script to build using plain rustc as
before, but referencing the new source location.

MozReview-Commit-ID: 11zuebic9tU

--HG--
extra : rebase_source : 1cb71896ae5dd33d1237ca04ec27da60b2256dad
2016-07-05 11:08:37 -07:00
Chris Peterson
13e1939d07 Bug 1277155 - Part 2: Remove snprintf() polyfills in media code imported from libav. r=jya 2016-06-27 20:44:30 -07:00
Chris Peterson
2b3b60f7b1 Bug 1277155 - Part 1: Remove snprintf() polyfills for VS2013 in Sprintf.h and #defines. r=froydnj r=mhowell 2016-06-27 20:45:03 -07:00
Gregory Szorc
f21ec324a6 Merge mozilla-central to mozilla-inbound 2016-07-06 18:30:58 -07:00
ctai
fd36b32d94 Bug 1266646 - Move group of MediaStreamListener to a new header file. r=pehrsons
This can reduce the include header dependency. MediaStreamVideoSink will inherit from DirectMediaStreamTrackListener. But we can't use forward declaration on MediaStreamListener because the usage of nsTArray<RefPtr<MediaStreamVideoSink>>.

MozReview-Commit-ID: 328s4Kw9NvW

--HG--
extra : transplant_source : %D2%18%E3%3B%0C%D8%F04%F3%EB%EB%A0%A7%8B%B1%A9%AB%97rY
2016-06-30 15:07:48 +08:00
ctai
533acf2e59 Bug 1266646 - Rename MediaStreamDirectListener and MediaStreamTrackDirectListener to DirectMediaStreamListener and DirectMediaStreamTrackListener respectively. r=pehrsons
Rename those two function to better name alignment with AddDirectListener and AddDirectTrackListener.

MozReview-Commit-ID: 6QY08oyih1X

--HG--
extra : transplant_source : %5C%1C%23%AC%D7%0D%97%24%CB%ED%8E%D5%60/%5E%07%F2%85Z%DA
2016-04-29 11:45:25 +08:00
Nils Ohlmeier [:drno]
ccfaf882c5 Bug 1275119: remove mRecvCodecList from VideoConduit. r=jesup
MozReview-Commit-ID: 5Wgc0NDkyps

--HG--
extra : rebase_source : b796d12ae0a87533df30372ee6da232fdefaff80
2016-06-06 23:40:37 -07:00
Carsten "Tomcat" Book
eec8b2656e Merge mozilla-central to autoland 2016-07-02 11:16:11 +02:00
Paul Adenot
df4b0d9571 Bug 1283850 - Uplift cubeb to revision b8aebef. r=padenot,kinetik,achronop
MozReview-Commit-ID: IjlWPClDuFg
2016-07-01 15:43:16 +02:00
Chris Pearce
e0a9078a6f Bug 1267918 - Add GMPCrashHelper to GMPService::GetGMP* functions. r=gerald
This enables callers to specify a way to determine the correct window to
dispatch the PluginCrashed event to should the GMP actor crash.

We need a way to determine the correct window at crash time, as the GMP's
window can change at runtime. For example, if the GMP is being used for
unencrypted decoding, the <video> element can be moved to a new browser window
at runtime.

Note: I don't handle disconnecting the GMPCrashHandlers in this patch; we do
delete the GMPCrashHandlers in this patch when their associated GMP crashes, and
in the next patch we handle disconnecting GMPCrashHandlers in the case where
we don't crash.

MozReview-Commit-ID: DrwcZAB6Ys0

--HG--
extra : rebase_source : 8da188b68456914773e6adae8cbccd6bf6a6e7a7
2016-06-29 11:41:56 +12:00
Carsten "Tomcat" Book
fcff88e7a8 Merge mozilla-central to autoland 2016-07-01 11:20:25 +02:00
Alexandre Lissy
a09dfe4799 Bug 1283439 - Include OpusDecoder.h only for Rust MP4 parsing r=kinetik
MozReview-Commit-ID: 9zzhvYowlkX

--HG--
extra : rebase_source : d10ddb0632a6bf35d4f92080438a5f01f6466b72
2016-06-30 19:13:53 +02:00
EKR
0a7e8ae834 Bug 1283085 - Handle new ALPN value r=abr 2016-06-29 10:24:48 -07:00
Ralph Giles
b9106558db Bug 1282963 - Share CodecDelay prepend code. r=kinetik
Both the WebM and mp4 demuxers need to pack this value into
the the CodecSpecificConfig, so move the shared implementation
to the OpusDecoder, near where it is unpacked so the two can
be kept in sync.

MozReview-Commit-ID: 2pQaruJoAWr
2016-06-29 15:49:04 -07:00
Ralph Giles
160fca741c Bug 1267887 - Add algorithm.h for std::min on msvc. r=kinetik
Fixes a compile error on Windows.

MozReview-Commit-ID: 6FOl7fn5xMq
2016-06-29 09:13:19 -07:00
Ralph Giles
af27dceab2 Bug 1267887 - Document MP4AudioInfo::IsValid(). r=jya
Jean-Yves and I both found this logic confusing.

MozReview-Commit-ID: C5phemRPDQZ
2016-06-29 09:13:15 -07:00
Ralph Giles
f3eb2d75ba Bug 1267887 - Update source for mp4parse v0.4.0. r=kinetik
Result of running the update script.

MozReview-Commit-ID: AE6jXz8IMU7
2016-06-29 09:13:04 -07:00
Ralph Giles
8c0fe7a521 Bug 1267887 - Update script for mp4parse v0.4.0. r=kinetik
Remove patches for issues which are fixed upstream.

Update the script to generate the C api header file by running
`cargo build` before copying it.

Update byteorder mod-ification patch to apply to 0.5.3.

MozReview-Commit-ID: 8FDpbcSWt1o
2016-06-29 09:12:45 -07:00
Ralph Giles
72ecfe6999 Bug 1267887 - Support Opus in mp4 with the rust demuxer. r=kinetik
Update C++ caller code for for mp4parse 0.4.0. Now feeds data through
a read callback in mp4parse_io.

Hook up the GetTrackInfo method to the rust demuxer results.

Prefer rust demuxer only if there's an Opus track.

Fill in audio and video track metadata. Pass audio codec_specific_config
to the decoder.

With this change sample.mp4 plays.

MozReview-Commit-ID: F8xwWPZZBfZ
2016-06-29 09:12:45 -07:00
Ralph Giles
c1c627c22a Bug 1267887 - Experiment with exporting track mime-type. r=kinetik
MozReview-Commit-ID: 9CynVkwtUn2
2016-06-29 09:12:45 -07:00
Carsten "Tomcat" Book
5c90a99952 merge mozilla-inbound to mozilla-central a=merge 2016-06-29 16:13:05 +02:00
Nils Ohlmeier [:drno]
8a525ec4ae Bug 1282792: start transmitting OR receiving if track is active r=bwc
MozReview-Commit-ID: GaT5v9UN6ox

--HG--
extra : rebase_source : d7140ffe87f9ea42cc29cc96c3a92270c34d88a8
2016-06-28 01:16:08 +02:00
Gerald Squelart
23c839e07f Bug 1274637 - Detect OOB copy attempts in clearkey decryptor - r=cpearce
MozReview-Commit-ID: LgXe8xrQvzs
2016-05-26 19:46:40 +02:00
Ryan VanderMeulen
02d34ad572 Bug 1278648 - Update libjpeg-turbo to version 1.5.0. r=jrmuizel
--HG--
rename : media/libjpeg/README => media/libjpeg/README.ijg
rename : media/libjpeg/README-turbo.txt => media/libjpeg/README.md
2016-06-26 15:41:09 -04:00
Byron Campen [:bwc]
577b657567 Bug 1280215 - Stop using the nsresult in OnProxyAvailable to determine whether the PCM is still interested. r=drno
MozReview-Commit-ID: AIZm4VNZJtV
2016-06-15 13:38:26 +01:00
Byron Campen [:bwc]
208469617b Bug 1280443 - Make a timer assert more aggressive. r=drno 2016-06-20 11:47:10 -05:00
Phil Ringnalda
0c749ef583 Back out 2 changesets (bug 1195477) on suspicion of breaking Mac clobbers in libffi
CLOSED TREE

Backed out changeset 45a6a74c46ea (bug 1195477)
Backed out changeset 4f607b7635fd (bug 1195477)
2016-06-23 19:29:22 -07:00
Phil Ringnalda
3f1ee7a2b6 Backed out 7 changesets (bug 1267887) for gtest failures and crashes and Marionette crashes on Windows 8
CLOSED TREE

Backed out changeset e7e34b315a0a (bug 1267887)
Backed out changeset 9128f4f94032 (bug 1267887)
Backed out changeset c697af8c555a (bug 1267887)
Backed out changeset 8f1c1957ce80 (bug 1267997)
Backed out changeset 3b1177fd30cb (bug 1267887)
Backed out changeset 72ea61f4f820 (bug 1267887)
Backed out changeset e19c4c4eac51 (bug 1267887)
2016-06-28 21:40:09 -07:00