Commit Graph

5401 Commits

Author SHA1 Message Date
Jean-Yves Avenard
5094150c77 Bug 1240995: [ffmpeg] P2. Mark constructor explicit. r=me 2016-01-21 00:20:46 +11:00
Jean-Yves Avenard
dac8ee7941 Bug 1240995: [ffmpeg] Refactor FFmpeg PDM. r=kentuckyfriedtakahe
This greatly simplify how the external libavcodec and libavutil are linked.
2016-01-20 23:55:37 +11:00
Jean-Yves Avenard
27d1086f32 Bug 1240630: [ffmpeg] P4. Rename FFmpegH264Decoder into FFmpegVideoDecoder. r=kentuckyfriedtakahe
The days we used to only be able to use the FFmpeg decoder for H264 are long gone. It can do H264, VP6, VP8 and VP9.
2016-01-20 23:55:37 +11:00
Jean-Yves Avenard
040ca072ee Bug 1240630: [ffmpeg] P3. Only build FFmpeg on mac and unixes. r=kentuckyfriedtakahe
This is a partial revert of bug 1214462 part2. We don't need FFmpeg support on Android or Windows anymore; instead the functionality is provided by the FFVPX PDM.
Remove support for FFmpeg on Windows.
2016-01-20 23:55:36 +11:00
Jean-Yves Avenard
2e03328e3d Bug 1240630: [ffvpx] P2. Hook up FFVPX PDM to PDMFactory. r=kentuckyfriedtakahe
Add new preference media.ffvpx.enabled to control FFVPX PDM being enabled.
2016-01-20 23:55:35 +11:00
Jean-Yves Avenard
fe89dd84a5 Bug 1240630: [ffvpx] P1. Add a FFVPX PDM. r=kentuckyfriedtakahe
This allows support for linking to two different version of libavcodec: our own and the system one if found.
ffvpx symbols are loaded within the namespace mozilla::ffvpx.
2016-01-20 23:55:35 +11:00
Gian-Carlo Pascutto
0f595763a7 Bug 1239384 - Encapsulate Cameras dispatch, locking and success handling in a class. r=jesup 2016-01-20 09:36:06 +01:00
JW Wang
8a4f4317f1 Bug 1240417. Part 2 - remove unused code. r=kinetik. 2016-01-18 11:25:27 +08:00
JW Wang
31e6c6ee58 Bug 1240417. Part 1 - add a writer class to encapsulate pointer arithmetic. r=kinetik. 2016-01-18 11:24:06 +08:00
Jean-Yves Avenard
c27ab6683c Bug 1237629: [webm] Parse into BlockGroup element. r=kinetik 2016-01-20 09:50:27 +11:00
Jean-Yves Avenard
58d924fab9 Bug 1236703: P2. Add methods to retrieve debugging data on plain readers. r=jwwang 2016-01-20 09:50:26 +11:00
Jean-Yves Avenard
e35b5b767d Bug 1236703: P1. Add debugging information for MSE to about:media plugin. r=kentuckyfriedtakahe
Add : number of frames decoded and number of frames skipped during skip to next key frame and if hardware acceleration is currently in use.
2016-01-20 09:50:25 +11:00
Sebastian Hengst
d8d4a2d1a5 Backed out 2 changesets (bug 1224374) for Windows bustage. r=bustage on a CLOSED TREE
Backed out changeset 5f458e6e4997 (bug 1224374)
Backed out changeset 0dc02cb0b604 (bug 1224374)
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller
2d53758d08 Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
--HG--
extra : rebase_source : 51d39d6f88bf58ccb29f5897c3dbbe71007ee842
2016-01-15 11:38:03 +01:00
Eugen Sawin
d963206938 Bug 1232335 - [1.4] Fix test_can_play_type_mpeg for Android. r=snorp 2016-01-19 20:12:53 +01:00
Sebastian Hengst
51ff161768 Backed out changeset 4f090efcb1b6 (bug 1232335) for failing modified test due to calling undefined function. r=bustage 2016-01-19 19:01:53 +01:00
Eugen Sawin
1e2a4d1252 Bug 1232335 - [1.3] Fix test_can_play_type_mpeg for Android. r=snorp 2016-01-19 16:20:29 +01:00
Dan Minor
31ec45b291 Bug 1240054 - Only rebuild BandLimitedTables if more partials are required r=padenot
We currently rebuild the BandLimitedTables whenever we encounter a lower
fundamental frequency but it is only necessary to rebuild the tables if we
can fit more partials below the Nyquist frequency. Rebuilding the tables
unnecessarily can cause performance problems, particularly in the case where
the frequency is continually lowered.

--HG--
extra : rebase_source : e53c773d53f723d5b34270d6214a5812ec1eb7f0
2016-01-18 08:51:29 -05:00
Jean-Yves Avenard
42b3ccc897 Bug 1240411: P10. Remove obsolete members. r=ayang 2016-01-19 19:47:36 +11:00
Jean-Yves Avenard
bc55ba93a4 Bug 1240411: P9. Clean up media headers. r=jwwang
Remove redundant virtual keyword and add missing override if any.
2016-01-19 19:47:36 +11:00
Jean-Yves Avenard
f079977e08 Bug 1240411: P8. Clean up MediaSource headers. r=cpearce
Remove redundant virtual keyword and add missing override if any.
2016-01-19 19:47:35 +11:00
Jean-Yves Avenard
ea26e6e162 Bug 1240411: P7. Clean up webspeech header declarations. r=rillian
Remove redundant virtual keyword and add missing override if any.
2016-01-19 19:47:34 +11:00
Jean-Yves Avenard
81d6ae6bec Bug 1240411: P6. Clean up OMX headers. r=ayang
Remove redundant virtual keyword and add missing override if any.
2016-01-19 19:47:33 +11:00
Jean-Yves Avenard
a9394d5946 Bug 1240411: P5. Clean up GMP headers. r=cpearce
Remove redundant virtual keywords
2016-01-19 19:47:32 +11:00
Jean-Yves Avenard
fcaa513106 Bug 1240411: P4. Clean up readers headers. r=cpearce
Remove redundant virtual keyword and add missing override if any.
2016-01-19 19:47:31 +11:00
Jean-Yves Avenard
b3cd27d6e4 Bug 1240411: P3. Clean up EME header declarations. r=cpearce 2016-01-19 19:47:30 +11:00
Jean-Yves Avenard
9b530d4a1e Bug 1240411: P2. Clean up webrtc headers. r=jesup
Remove redundant virtual keyword and add missing override if any.
2016-01-19 19:47:29 +11:00
Jean-Yves Avenard
d822675be4 Bug 1240411: P1. Clean up webaudio headers. r=cpearce
Remove redundant virtual keyword and add missing override if any.
2016-01-19 19:47:28 +11:00
Gian-Carlo Pascutto
a621015f0b Bug 1239384 - Remove static interface for Cameras using forwarding. r=jesup 2016-01-18 17:15:05 +01:00
Sebastian Hengst
9249e58bdf Backed out 2 changesets (bug 1238906) for bustage in M(2) on OSX and Windows. r=bustage
Backed out changeset e729b30ba7b4 (bug 1238906)
Backed out changeset 1857bca40ac4 (bug 1238906)
2016-01-18 13:11:43 +01:00
Emilio Cobos Álvarez
b5364082de Bug 866513 - Non-empty MediaStreamTrack labels. r=jib 2016-01-16 13:39:00 +01:00
Alastor Wu
bbcb84cc7b Bug 1238906 - part2 : notify audible state from MDSM to ME. r=jwwang
--HG--
extra : transplant_source : %A6I%CA%AC%95%AD%0C%7D%40K%8C_%8B%3D%15%BC%F7%FB%86%27
2016-01-18 10:50:47 +08:00
Alastor Wu
45303164df Bug 1238906 - part1 : check whether audio data is audible. r=jwwang
--HG--
extra : transplant_source : I%CC%AD%125%872%94%D5%0A%5E%08t%0E%22%F0%A9%7E%1EK
2016-01-18 10:50:35 +08:00
Chris Peterson
74f570e360 Bug 1240264 - Annotate intentional switch fallthroughs in dom/media/. r=cpearce
dom/media/MediaManager.cpp:1905:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/media/webm/WebMBufferedParser.cpp:133:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2016-01-14 01:42:18 -08:00
Sotaro Ikeda
598e12bf6f Bug 1239598 - Fix potential deadlock and race condition r=bechen 2016-01-17 17:02:57 -08:00
Ryan VanderMeulen
0d1f6a74d4 No bug - Keep comment with the intended test. r=DONTBUILD 2016-01-17 13:37:07 -05:00
Michael Froman
030aef859c Bug 1166832 - Add test to verify audio (using AudioStreamAnalyser) after renegotiation. r=bwc
--HG--
extra : transplant_source : %D1/%A9%C3%BBj%CF%28%E4AJ%86%40%F0%AB%2A%0B%DFR%40
extra : histedit_source : 92a5470e09a583ef5e0656d370edb7f0280817bf
2016-01-13 17:48:34 -06:00
Michael Froman
13a82c11bf Bug 1166832 - Add test to verify video (using capture stream) after renegotiation. r=bwc
--HG--
extra : transplant_source : I%AB%28%AA%D6%91%8F%CA5%8A%D9%0C%F2%8A%CD%B8m%DE%D7%05
extra : histedit_source : 1d30b92a3c6d128c24cfbb1f8778c665a6bb9eca
2016-01-13 20:59:52 -06:00
Michael Froman
6abe3c833c Bug 1166832 - Add test for canvas capture on multiple streams. r=bwc
--HG--
extra : transplant_source : M%EF%1B%05%EC%E7%E7%D3%A0%3A%E3C4%17%C3%2B%8B%3D%2B%C3
extra : histedit_source : d018f58a2c171558932911bde42025b3184f5611
2016-01-14 10:56:17 -06:00
Jan-Ivar Bruaroey
139424685c Bug 1232082 - Disable test_peerConnection_addDataChannelNoBundle.html on android debug. r=jesup 2016-01-16 01:00:48 -05:00
Jan-Ivar Bruaroey
0d8258e908 Bug 1232082 - fix removal of remote tracks to update receivers. r=jesup
--HG--
extra : transplant_source : %A5%E4%8BSEujxc7%7B%9D%C0%FFhb%1F%CC9%80
2016-01-05 19:51:52 -05:00
Jan-Ivar Bruaroey
ddcdf769db Bug 1232082 - add pc.ontrack and RTCTrackEvent r=jesup,smaug
--HG--
extra : transplant_source : %BA%B7%0B%AD%EA%24%19R%93-%9F%CF%82%10%CE%8B%DC4%FB%15
2016-01-12 15:09:01 -05:00
Jan-Ivar Bruaroey
fd16766941 Bug 1232082 - add RTCRtpReceiver for each remote track. r=jesup
--HG--
extra : transplant_source : %20%28eG%1DW%0FK%B2%9B%D1%29%00%E4%AB%F7m%95%0F%8C
2015-12-11 23:47:29 -05:00
Alfredo Yang
3b64896d86 Bug 1238878 - Reset decoder EOS by calling flush. r=sotaro 2016-01-15 01:35:00 -05:00
Jean-Yves Avenard
3f310a591f Bug 1239223: [vorbis] P1. Properly calculate decoded audio sample timestamps. r=kinetik 2016-01-16 10:54:44 +11:00
Jean-Yves Avenard
464ee710df Bug 1239202: [ffmpeg] Specify path of mozavcodec and mozavutil. r=glandium
Also error gracefully should libraries not be found.
2016-01-16 01:25:22 +11:00
Sotaro Ikeda
c1661adea8 Bug 1239610 - Remove GonkNativeWindowClient usage from OmxDecoder r=jolin 2016-01-15 00:32:33 -08:00
Chris Pearce
30838a05fa Bug 1230857 - Ensure GMPService has sufficient file permissions to delete GMPs. r=gerald
Without this, existing installs of the Adobe x64 Windows GMP from the zip file
where the GMP files are read-only will not be able to be installed.

--HG--
extra : rebase_source : 21ac7b0e4c55cc26e17f05563f61bdce65117507
2016-01-14 15:11:04 +13:00
Gerald Squelart
124e39b2ba Bug 1237842 - Unlock mMutex before calling CloseActive. r=cpearce
UnloadPlugins runs in the GMP thread. While it locks mMutex, any locking
attempt on the main thread would effectively block the main thread while we are
calling CloseActive on each plugin.
The problem is that CloseActive calls GeckoMediaServiceParent::GetSingleton(),
which dispatches a task to the main thread, which may be blocked because of
mMutex.

To solve this inter-locking issue, the list of plugins is first copied to a
local array, after which mMutex may be released, and we may now call
CloseActive without risking locking.
2016-01-12 21:22:00 +01:00
John Lin
523524c583 Bug 1235340 - Don't always disable/enable port for OMX_EventPortSettingsChanged. r=sotaro 2016-01-13 18:37:00 +01:00