Commit Graph

5867 Commits

Author SHA1 Message Date
Ceridwen
865d078f80 Bug 1257983 - Fix MANIFEST.in in external-media-tests package; r=maja_zf
This MANIFEST.in contained the wrong file name,
external-media-tests-requirements.txt rather than requirements.txt.

MozReview-Commit-ID: A0zJihjoxzf

--HG--
extra : rebase_source : ddc462d754d234af04ed5a37885b89f9187a3942
2016-03-18 18:32:37 -04:00
Jan Henning
4bb019056c Bug 1257931 - Fix assert in VBRI header parsing to actually check that we've been passed a reader starting with a frame sync. r=esawin 2016-03-18 17:17:20 +01:00
Jean-Yves Avenard
c4dd7379f5 Bug 1256626. Workaround Microsoft macro silliness. r=me
Unrelated to changes to 1256626, but obviously broke the unified build system ON A CLOSED TREE.

MozReview-Commit-ID: 3vklyHWFtgp
2016-03-19 14:04:33 +11:00
JW Wang
47c023238c Bug 1257094 - Remove MediaDecoderStateMachine::DECODER_STATE_DECODING_NONE. r=cpearce.
MozReview-Commit-ID: JYMQVwHBSc3
2016-03-19 07:51:06 +08:00
Jean-Yves Avenard
132b94460d Bug 1256626: P2. Use NotifyBenchmarkResult to save VP9 result. r=jimm
MozReview-Commit-ID: privnKY1zB

--HG--
extra : rebase_source : 051fecb7960515567db4f06cae2819d8927396bb
2016-03-17 17:20:21 +11:00
Jan-Ivar Bruaroey
1d940dfabd Bug 1254839 - add test for RTCPeerConnection deprecation warnings. r=bz
MozReview-Commit-ID: 5tBbn4WW3cq

--HG--
extra : rebase_source : e9e68bb54bc33ec764f1253d523f57d9eaf7e7fb
2016-03-15 17:49:57 -04:00
Jan-Ivar Bruaroey
0e33523335 Bug 1254839 - include file and line number in RTCPeerConnection warnings. r=bz
MozReview-Commit-ID: HfSUBjRtFMC

--HG--
extra : rebase_source : 02a5b4b4ed1d8594d9aa42cd53d7e4ba7264e393
2016-03-08 22:44:06 -05:00
Boris Zbarsky
172598b4e2 Bug 1257335. Replace some AutoSafeJSContext uses with AutoJSAPI or AutoJSContext uses. r=bholley
In general, using an AutoJSAPI inited with an object is NOT the same as using
AutoSafeJSContext (or AutoJSAPI inited without an object) and then entering the
compartment of the object: the former will report exceptions to the global of
the object as it comes off the stack, while the latter will not.  This only
really matters if we have an object from a window or worker global and hence
might fire error events, or report internal stuff to the web console.

The changes to initing with an object made in this bug are OK for the following
reasons:

1) dom/base/Console.cpp: Always clears its exception before coming off the stack.
2) dom/base/nsDOMClassInfo.cpp: Inits with a non-web global.
3) dom/base/nsFrameMessageManager.cpp: Inits with a non-web global.
4) dom/media/MediaPermissionGonk.cpp: We probably want the caller to notice if
   anything here throws.
5) dom/xbl/nsXBLPrototypeBinding.cpp: Inits with a non-web global.
6) dom/xul/nsXULElement.cpp: Inits with a non-web global.
7) extensions/pref/autoconfig/src/nsJSConfigTriggers.cpp: Inits with a non-web global.
8) ipc/testshell/XPCShellEnvironment.cpp: Inits with a non-web global.
2016-03-18 10:48:38 -04:00
JW Wang
4436a4705f Bug 1250829 - add customized assertions for completion promises to facilitate promise chaining. r=bobbyholley.
MozReview-Commit-ID: 5IbbAz0KIBY
2016-03-18 11:27:19 +08:00
JW Wang
7070827866 Bug 1257063 - Don't destruct the runnable inside the lock when TaskQueue::Dispatch fails. r=bobbyholley.
MozReview-Commit-ID: I5KvfHnLUIS
2016-03-18 11:27:15 +08:00
Randell Jesup
c97852aa52 Bug 1257621: Disable ipc tests for webrtc (test_ipc pseudo-e10s test) r=drno
MozReview-Commit-ID: 3NGI0NTu0mu
2016-03-17 20:45:29 -04:00
Randell Jesup
cda32a495b Bug 1257620: disable webrtc identity tests for Linux opt non-e10s (due to Exit code -11) r=drno
MozReview-Commit-ID: CoZH0T97jWu
2016-03-17 20:45:29 -04:00
Randell Jesup
9865e1f013 Bug 1257616: We can release Conduits immediately if we're on MainThread already r=drno 2016-03-17 20:45:09 -04:00
Matt Woodrow
d5a05c75b0 Bug 1257028 - Fallback to d3d9 decoding if d3d11 fails. r=cpearce 2016-03-18 10:06:05 +13:00
Matt Woodrow
231647cca3 Bug 1248496 - Show which DXVA API is being used in about:support. r=jya 2016-02-18 15:41:11 +13:00
Eitan Isaacson
f990cccf30 Fix compiler warning from bug 1257328. CLOSED TREE
MozReview-Commit-ID: DOGK8kzFzzR
2016-03-17 10:43:53 -07:00
Eitan Isaacson
9bd7b90e07 Bug 1257328 - Limit SpeechSynthesisUtterance attribute values to spec ranges. r=smaug
MozReview-Commit-ID: CbF91OvCf2G

--HG--
extra : rebase_source : 1178a88fa14d24e339633a4459fb2c4d0df38c77
2016-03-16 15:04:17 -07:00
Nils Ohlmeier [:drno]
8d67ca1481 Bug 1254905: reduced default video size on Android to 320x240 @ 10 FPS. r=jesup
MozReview-Commit-ID: H440cYzCGhi

--HG--
extra : rebase_source : 95942fd5a8a07b3e4a8098662e1312ab2b6f93eb
2016-03-08 13:58:31 -08:00
Geoff Brown
29977660c0 Bug 1251013 - Update android_version annotations in test manifests - mochitest; r=jmaher 2016-03-17 10:00:48 -06:00
Gian-Carlo Pascutto
839aa03119 Bug 1254102 - Add "blackout" mode. If the window is not legal, output a black square. r=jesup
MozReview-Commit-ID: GlBy8fUZwIE

--HG--
extra : rebase_source : 7708bc0cb5da5a676ae75d9965ede16e944c8307
2016-03-16 19:21:17 +01:00
Gian-Carlo Pascutto
fbdfd1759a Bug 1254102 - Don't skip Tab sources if the camera is in use. r=jesup
MozReview-Commit-ID: 7ZaebdnWj3R

--HG--
extra : rebase_source : 77f645aa109b805cfaf0039a9daab21339fb0ef9
2016-03-15 20:39:37 +01:00
Jean-Yves Avenard
fc53bc2dc2 Bug 1257211: Exit early if already shutting down. r=gerald
MozReview-Commit-ID: 1Oi4m2AIByw

--HG--
extra : rebase_source : cc044bdb48952885d982833b9ec91e932ed77d2b
2016-03-17 12:58:21 +11:00
Ehsan Akhgari
d2a9ec7408 Bug 1257343 - Port test_bug1027864.html to mochitest-plain so that it can be turned on in e10s mode; r=mrbkap 2016-03-16 19:03:20 -04:00
Ehsan Akhgari
9588951fb9 Bug 1257341 - Port test_ScriptProcessorCollected1.html to mochitest-plain so that it can be turned on in e10s mode; r=mrbkap 2016-03-16 18:58:55 -04:00
Ehsan Akhgari
ecf86396c9 Bug 1257337 - Port test_AudioParamDevtoolsAPI.html to mochitest-plain so that it can be turned on in e10s mode; r=mrbkap 2016-03-16 18:57:18 -04:00
Ehsan Akhgari
d92ea6155c Bug 1257333 - Port test_AudioNodeDevtoolsAPI.html to mochitest-plain so that it can be turned on in e10s mode; r=mrbkap 2016-03-16 18:50:53 -04:00
Eitan Isaacson
88044aea24 Bug 1254738 - Normalize speech rate for speech dispatcher. r=smaug
MozReview-Commit-ID: 79OuII34vz7
2016-03-16 13:46:12 -07:00
Eitan Isaacson
19dc2d2aab Bug 1256521 - Normalize speech rate in Windows. r=smaug
MozReview-Commit-ID: EuQAqfoxwmo
2016-03-16 13:42:50 -07:00
Chris Pearce
d7aaa4c090 Bug 1257100 - Report we can play type 'audio/mp4; codecs=mp4a.40.29'. r=jya 2016-03-16 14:38:02 +08:00
Kevin Corre
b22bf9f9b3 Bug 1252459 - Replaced 'identity.name' by 'name' to fix identity undefined bug, r=mt
MozReview-Commit-ID: 40FbNyLMOhz

--HG--
extra : rebase_source : 777799b08b43b251e3238d370e631610aa077602
2016-03-01 17:12:30 +01:00
Chris Pearce
8ff9779f10 Bug 1256065. r=gerald 2016-03-16 13:49:26 +08:00
Mike Shal
f33175df08 Bug 1254950 - Remove several media Makefile.ins; r=ted
MozReview-Commit-ID: 4dvngHQnH0b
2016-03-14 18:02:02 -04:00
Randell Jesup
ef46e30953 Bug 1256510: When shutting down MediaStreamGraphs, if the graph hasn't started, let it start and shut down r=padenot
MozReview-Commit-ID: 64WjTbaduvu
2016-03-15 11:46:01 -04:00
Daniel Holbert
0c0862c4c2 Bug 1256555: Wrap "shouldAEC" variable-usage in #ifdef for consistency & to fix --disable-webrtc build failure. r=jesup 2016-03-15 10:03:43 -07:00
Sebastian Hengst
cfe29a5416 Backed out changeset d2144af8a3fe (bug 1256510) for failing reftest crashtests/876024-2.html. r=backout on a CLOSED TREE 2016-03-15 17:52:23 +01:00
Randell Jesup
3608515672 Bug 1256510: When shutting down MediaStreamGraphs, if the graph hasn't started, let it start and shut down r=padenot
MozReview-Commit-ID: 64WjTbaduvu
2016-03-15 11:46:01 -04:00
Randell Jesup
5a9c0ee8db Bug 1255217: Don't require getUserMedia/cubeb device enumeration mapping if --disable-webrtc is set r=padenot
MozReview-Commit-ID: 1XtSXlhWn37
2016-03-15 11:11:30 -04:00
radu stoica
4aa507f7fc Bug 1247864 - delete[] on anything allocated with new[]. r=cpearce
--HG--
extra : amend_source : 1ebb15451e67107a9ef1eb1f0a74df45535ece6f
2016-02-12 01:06:00 -05:00
Matt Woodrow
60b2f060b1 Bug 1236112 - Block on d3d9 video frames to complete before returning them from the decoder. r=cpearce 2016-03-09 10:34:49 +13:00
Karl Tomlinson
a293753929 Back out changeset 3c6fec908401 (bug 1255618) for timeout on Android 4.3 API15+ opt
--HG--
extra : amend_source : 351bd0c4843add8a21dd3721fbde9fb32e00766b
2016-03-15 20:52:18 +13:00
Jean-Yves Avenard
cbdcb3df1f Bug 1246536: [webm] Only use discard padding information on last packet. r=kinetik
MozReview-Commit-ID: 3MYm25HfX0N

--HG--
extra : rebase_source : c4d657d232d852e341114d4f966362005c9c4087
2016-03-15 18:03:30 +11:00
Karl Tomlinson
32877f50d8 mochitest for bug 1255618 r=Ehsan
MozReview-Commit-ID: 9SImAja2jXH

--HG--
extra : rebase_source : 71f4e8c72c864867b3cf004a12a02ee29ca07b59
2016-03-14 16:58:18 +13:00
Karl Tomlinson
f531d372a2 bug 1255618 remove AudioContext from global window at unlink r=Ehsan
mDestination is cleared during unlink, which means that after that point the
window can't do much with the AudioContext, nor should need to do so.

MozReview-Commit-ID: E45aCpEfJEu

--HG--
extra : rebase_source : cafd502552b7126bcdddc2544c4c28c1b62a701f
2016-03-11 20:54:31 +13:00
Jean-Yves Avenard
adf9b13ff5 Bug 1230641: P2. Increase the video queue size on mac. r=cpearce
The mac decoder when used on intel GPU gives bad performance due to locking. Increasing the queue size allows to alleviate most problems.

MozReview-Commit-ID: 3yQ3btiMqvk

--HG--
extra : rebase_source : 17951db2769b2cd56742ba420f08b3f5ebc2436d
2016-03-15 11:54:19 +11:00
Jean-Yves Avenard
7b7d669844 Bug 1230641: P1. Use UYVY (YUV422) format in decoders. r=mattwoodrow
MozReview-Commit-ID: I6KZLi2bHk0

--HG--
extra : rebase_source : b233233878ed386c9635614d70e79b0d16071d92
2016-03-15 11:41:00 +11:00
Gregory Szorc
1fa003c29e Bug 1256482 - Disable C4312 to unblock compilation on VS2015; r=jesup
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings, of course.

Given that the warning is in WebRTC which is third party code, there
isn't much we can do about the warning. However, Google is building
Chrome with Visual Studio 2015, so I wouldn't be surprised if this
were fixed upstream or will be fixed upstream. Then again, we allow
warnings when building WebRTC. So perhaps not.

MozReview-Commit-ID: G6JP9fkCzfn

--HG--
extra : rebase_source : bf5c9a049230bb8e483f6a85bdbc2ca20eb3ab45
2016-03-14 16:05:06 -07:00
Jean-Yves Avenard
f6b7c1b48e Bug 1251184: [quicktime] P2. Use external plugin if available over native playback. r=cpearce
While almost identical to video/mp4, quicktime files often use codecs that we don't support: in particular MPEG4 part 2 and amr audio.
If a plugin exists and is enabled, prefer it to handle those files.

We only do so when opening the file directly. Media in <video> element will always play natively.

MozReview-Commit-ID: 1yPpzfDaCfT

--HG--
extra : rebase_source : 4c66eb0fd81a288f4c8eed643c79cf9851bd4273
2016-03-11 22:42:02 +11:00
Bryce Van Dyk
bd4f689e90 Bug 657791 - Add cueless WebM seeking tests. r=jya
Add tests to exercise seeking in cueless WebMs. These tests reproduce a subset
of the test_seek tests, namely the first 3. These tests have been added
separately from the test_seek ones to avoid additional logic required to handle
cueless WebMs in such test. Once random seeking for cueless WebMs is
implemented then these cases can be easily rolled into the existing test_seek
cases by moving the cueless WebM into the appropriate test array in the
manifest -- after which these tests can be removed.

MozReview-Commit-ID: DNwiSmMmALQ
2016-02-18 13:52:03 +13:00
Bryce Van Dyk
939ab2b661 Bug 657791 - Update seekable range handling for cueless WebMs. r=kinetik
MediaDecoder previously had 3 states within GetSeekable(), media is either
seekable, seekable but not supported by transport, or not seekable. Due to
changes to make cueless webms playable, a 4th option is needed: a file that is
not fully seekable, but may support seeking from the transport, such as these
webms, should only be seekable in the buffered range.

MozReview-Commit-ID: ISeFkngtrGU
2016-02-04 17:31:21 +13:00
Bryce Van Dyk
25356d3a7c Bug 657791 - Update WebM demuxer to clamp cueless seeks instead of failing. r=kinetik
Previously if a seek time is specified outside of the buffered range for
certain WebMs (particularly those without cues) the WebMDemuxer would fail out
of SeekInternal() with an error code. However, this would lead to issues due to
inconsistent state (recovery was not made from a failed seek). This change
attemps to address this by instead seeking to the final available cluster.

MozReview-Commit-ID: GZLPZDWLcT1
2016-02-01 13:46:02 +13:00