Commit Graph

5967 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
Bryce Van Dyk
2fbed74f6a Bug 657791 - Update WebM demuxer to consider cue-less WebMs seekable. r=jya
It appears that the work to seek in WebMs that do not have cues has already been
done, however this functionality was gated by the IsSeekable() function still
returning that such WebMs were not seekable. This updates that function so that
WebMs without cues are now considered seekable. Tests are also updated to
reflect this.
2016-01-19 11:43:49 +13:00
Eitan Isaacson
0b1208cd98 Bug 1237176 - Re-enable synth/test/test_bfcache.html r=me
MozReview-Commit-ID: HX84O0fYvhK
2016-03-11 16:35:38 -08:00
Benoit Girard
52f227c58b Bug 1253678 - Rename mozilla::Function to mozilla::function. r=froydnj
MozReview-Commit-ID: 60RPmEsYDN2

--HG--
extra : rebase_source : 9d0bebc7362af2778d123425c56ac20553d9303b
2016-03-11 16:49:13 -05:00
Boris Zbarsky
20514713f3 Bug 1255718. Remove the unused JSContext argument of AudioBuffer::Create. r=ehsan 2016-03-11 16:43:31 -05:00
Syd Polk
aeff90eaeb Bug 1238140 - Always download the GMP plugin before playing Netflix - r=ksteuber,maja_zf
MozReview-Commit-ID: 71tqt7T9oSH

--HG--
extra : rebase_source : 16976ed150f2e2538b67209e8950da7fcd632236
2016-03-11 11:36:39 -06:00
Ryan VanderMeulen
00d56902ad No bug - Fix busted merge conflict resolution on a CLOSED TREE. 2016-03-11 11:12:25 -05:00
Carsten "Tomcat" Book
e070379821 merge mozilla-inbound to mozilla-central a=merge 2016-03-11 16:50:43 +01:00
Joel Maher
c2f5092ca2 Bug 1242682 - Separate dom/media into its own subsuite. r=gbrown, a=tomcat
MozReview-Commit-ID: ERgFe60aJF8
2016-03-10 11:03:52 -08:00
JW Wang
f4472d1237 Bug 1255268 - Replace SeekJob::Steal() with move semantics. r=cpearce.
MozReview-Commit-ID: 3idqNa2MWA9
2016-03-10 15:30:32 +08:00
JW Wang
6788a66e45 Bug 1252767 - Remove MediaDecoderStateMachine::mPendingSeek. r=cpearce. 2016-02-29 17:00:52 +08:00
Bryce Van Dyk
2be9a949c6 Bug 1251460 - MDSM now waits on a promise to enqueue first frame loaded. r=jya
MediaDecoderStateMachine's EnqueueFIrstFrameLoadedEvent would previously call
into MediaDecoderReader to update MDR's buffered ranges and enqueue the frame
loaded event. This commit aims to instead have the buffered update take place,
and only afterwards enqueue the event. This should remove the possibility that
the event will be fired and handled before the update of the buffered ranges has
taken place.

MozReview-Commit-ID: GP8w2nF4xmj

--HG--
extra : transplant_source : %A0m%13%95%E3Gs%ACMd%1F%F4%25%B9qE%28J%21R
2016-03-09 15:32:49 +13:00
Jean-Yves Avenard
0b39ee0085 Bug 1255626: [gtest] Properly shutdown task queue should error occurs. r=gerald
MozReview-Commit-ID: A7Gq4vlmWg1
2016-03-11 11:19:45 +11:00
Jean-Yves Avenard
dcfa9621c9 Bug 1254858: P10. Return early when error. r=me
Quick follow up.

MozReview-Commit-ID: Jl7qTpYGzXK
2016-03-11 10:00:12 +11:00
Eugen Sawin
c0b51aec88 Bug 1255050 - [1.1] Restrict media plugin decoder usage to Android ICS. r=snorp 2016-03-10 23:14:13 +01:00
Ralph Giles
99e329b5ea Bug 1253762 - Re-enable test_texttracklist_moz.html on mac debug. r=kinetik
We no longer test on 10.8, so we can re-enable this whether
bug 1130751 was fixed or not.

MozReview-Commit-ID: FVSNXOQk5WJ
2016-03-09 14:31:44 -08:00
Ralph Giles
dc9f410af9 Bug 1253762 - Adapt test_texttracklist_chrome.html to e10s. r=kinetik
Use SpecialPowers.wrap() and .unwrap() to verify internal
object attributes.

This removes all the chrome.ini tests from dom/media/test.

MozReview-Commit-ID: 436UAgSoGpF
2016-03-09 14:31:42 -08:00
Ralph Giles
6826d80eed Bug 1253762 - Adapt test_texttrackcue_chrome to work with e10s. r=kinetik
Use SpecialPowers.wrap() to allow access to privileged
attributes of TextTrackCue.

MozReview-Commit-ID: BLtZKCW9ypF
2016-03-09 14:31:41 -08:00
Ralph Giles
8efa019f44 Bug 1253762 - Adapt texttrack_chrome to work with e10s. r=kinetik
Convert this to a plain mochitest so it runs in the client context,
and use the SpecialPowers object's wrap() and unwrap() methods to
access the privileged parent pointer api.

Rename _chrome to _moz to clarify that this is a moz-specific
extension, since chrome privilege is ambiguous in the context
of e10s.

MozReview-Commit-ID: JQVfqjvS55e
2016-03-09 14:31:39 -08:00
Jean-Yves Avenard
b9f36401b9 Bug 1230265 - Mark constructor as explicit; r=me
ON A CLOSED TREE.

MozReview-Commit-ID: 1jCfP6OzCfH
2016-03-09 16:40:55 +11:00
Jean-Yves Avenard
d5b11db943 Bug 1230265 - Add codec agnostic benchmark; r=kentuckyfriedtakahe
The Benchmark class is now taking a MediaDataDemuxer argument. Options allow to decode any videos and measure the decoding speed.

MozReview-Commit-ID: C017I1cGqPL
2016-03-09 15:43:57 +11:00
Anthony Jones
c8300ee73e Bug 1230265 - Add VP9 benchmark telemetry; r=bsmedberg
MozReview-Commit-ID: 6ofvNqvkg0U
2016-03-09 15:43:39 +11:00
Anthony Jones
d00c420b2c Bug 1230265 - Benchmark VP9 decoder performance and enable VP9 on fast machines; r=jya
MozReview-Commit-ID: 4GhSLun9x6Z
2016-03-09 15:43:38 +11:00
Michelangelo De Simone
3eb888db23 Bug 1250109 - Change DOMEventTargetHelper subclasses to not assume that GetOwner() is non-null, since it can be nulled out by navigation. r=bzbarsky
MozReview-Commit-ID: 8EGB58FWLi2

--HG--
extra : rebase_source : f8d190021ad92f707cfce554ced5c525cc528f4d
2016-03-04 13:37:50 -08:00
Jean-Yves Avenard
2f92fd7f34 Bug 963238: Fix compilation errors. r=me
MozReview-Commit-ID: K08L6G4F47P
2016-03-09 13:32:43 +11:00
Jean-Yves Avenard
cbd1ad11d5 Bug 1254311: [mp4] Ignore empty raw sample. r=cpearce
Some decoders (wmf) will return an error if fed an empty sample.

MozReview-Commit-ID: 2FF0cy41zYV
2016-03-09 13:32:26 +11:00
Fabrice Desré
72233b19c7 Bug 1254515 - GonkCameraImage.cpp:16:5: error: class 'mozilla::GonkCameraImage' does not have any field named 'mThread' r=reuben 2016-03-08 18:23:43 -08:00
Wes Kocher
9a43697d65 Backed out changeset 6358a64e4f15 (bug 1236112) for windows video wpt failures
MozReview-Commit-ID: 6tovOHlvyak
2016-03-08 16:23:04 -08:00
Randell Jesup
fc6187d378 Bug 1224029: ensure video elements that may be disabled (black) are scaled r=mattwoodrow
disabled video elements may be 1x1 black images

MozReview-Commit-ID: 6xTm8Eq1Tjs
2016-03-08 19:21:40 -05:00
Wes Kocher
2048d9f4a0 Merge m-c to inbound, a=merge CLOSED TREE
MozReview-Commit-ID: 4SEUTTY9jRn
2016-03-08 16:08:08 -08:00
Wes Kocher
0fbf6c1476 merge inbound to m-c a=merge
MozReview-Commit-ID: BHxDQF6gIe3
2016-03-08 16:00:45 -08:00
Matt Woodrow
bfae8352c6 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
Randell Jesup
8851505a96 Bug 1250934: Modify MediaEngine shutdown to allow neutering the AudioDataListener r=padenot
MozReview-Commit-ID: 7LeFAbaTHMY
2016-03-08 12:11:09 -05:00
Randell Jesup
9cec436b3e Bug 1250934: remove unused method from MediaStreamGraphImpl r=padenot
on IRC
MozReview-Commit-ID: 2o6v4T7e4Qw
2016-03-08 12:11:09 -05:00
Randell Jesup
a237d6632f Bug 1250934: Only dig out cubeb deviceIDs immediately before use since they can be freed r=padenot
MozReview-Commit-ID: CyIk4WCuJ9s
2016-03-08 12:11:09 -05:00
Randell Jesup
ca3eeefaf9 Bug 1250934: Make tests use the correct audio frequency when fake devices are used r=drno
MozReview-Commit-ID: 7LROWzMLGyS
2016-03-08 12:11:09 -05:00
Randell Jesup
1a6c605f9c Bug 1250934: Update some MediaStreamGraph logging r=padenot
MozReview-Commit-ID: Hqo3vihDzcy
2016-03-08 12:11:09 -05:00
Randell Jesup
21685ca126 Bug 1250934: Block GraphDriver switching if audio input is enabled (full-duplex) r=padenot
Also fixes a debug that would always report 'nil' for a pointer

MozReview-Commit-ID: 2xKD9s47d8z
2016-03-08 12:11:08 -05:00
Randell Jesup
39c683f5b6 Bug 1250934: Don't reopen input AudioCallbackDrivers on a second use r=padenot
MozReview-Commit-ID: 6Ky8UMyOHJG
2016-03-08 12:11:08 -05:00
Randell Jesup
6cbe994f89 Bug 1250934: Factor out AudioTracksPresent() in MediaStreamGraph, and add checks of 'pending' tracks r=padenot
MozReview-Commit-ID: KLWleRaAjx3
2016-03-08 12:11:08 -05:00
Randell Jesup
2fcb417fe7 Bug 1250934: Don't allow switching to a clock driver when we already have a switch pending r=padenot
MozReview-Commit-ID: 5DJQhx7cyf1
2016-03-08 12:11:08 -05:00
Syd Polk
4e27fe1a3b Bug 1253723 - Text from README.md should be moved to http://developer.mozilla.org. r=SingingTree
MozReview-Commit-ID: JTWxhDfEfRd

--HG--
extra : rebase_source : dcc037a1d10df83ff67fdb64c3fc586c6c5c721c
2016-03-04 15:00:52 -06:00
Mark Banner
d81b31cff7 Bug 1249365 - Fix regression in e10s mode to re-allow the camera by default in Loop's conversation window. r=gcp
--HG--
extra : commitid : 83CnO0jToMb
2016-03-07 14:11:54 +00:00
JW Wang
d5a8e21b53 Bug 1253928 - adjust the time passed to RequestVideoData() by the start time to avoid incorrectly skipping key frames. r=jya.
MozReview-Commit-ID: 9NHapIMoozG
2016-03-07 18:44:03 +08:00
JW Wang
09155c88a8 Bug 1253959 - per comment 10, #ifdef code that causes ReadMetadata() to fail on Windows XP debug. r=cpearce.
MozReview-Commit-ID: J6Muv6pJJhf
2016-03-07 16:07:14 +08:00
Tim Taubert
0d2f5760da Bug 1250930 - Use correct global when creating a key in GenerateAsymmetricKeyTask r=bz 2016-03-08 11:15:58 +01:00
JW Wang
2b94f1c475 Bug 1252753. Part 2 - remove MediaDecoderStateMachine::PushFront(). r=kinetik.
MozReview-Commit-ID: 2jtDFI61bGf
2016-03-08 11:20:39 +08:00
JW Wang
e25d87faab Bug 1252753. Part 1 - remove calls to PushFront(). r=kinetik.
MozReview-Commit-ID: BJ9F4GRYFIe
2016-03-08 11:20:22 +08:00
Gerald Squelart
1471e61be9 Bug 1253395 - Disable msmpeg2vdec.dll blackslisting - r=cpearce
Disable the blacklisting introduced in bug 1242343, as it was having a
negative effect on many working configurations.
2016-03-08 12:54:48 +11:00
Randell Jesup
260da5482b Bug 1253333: Don't cause a second MediaManager to be created if there's a race with NotifyFinished r=jib
MozReview-Commit-ID: J4GArKKncYx
2016-03-07 16:44:25 -05:00
Eugen Sawin
dd0ca3004d Bug 1232308 - [1.1] Disable MediaRecorder tests requiring video encoding. r=snorp 2016-03-07 22:24:03 +01:00
Sebastian Hengst
587e9dfd1b Backed out changeset ea5fb05616a7 (bug 1109614) for Android 2.3 M(9) orange. r=test-failure on a CLOSED TREE 2016-03-07 20:46:18 +01:00
Jonathan Watt
a73bd8c354 Bug 1253094, part 1 - Stop using DebugOnly for class/struct members in dom/. r=baku
MozReview-Commit-ID: ErWZs9oV4WS
2016-02-26 15:52:06 +00:00
Jan-Ivar Bruaroey
2f8eca5103 Bug 1181768 - Make already-defined pc.getConfiguration() work. r=mt
MozReview-Commit-ID: 14uiIICVF30

--HG--
extra : rebase_source : 0b2977cf89111c4d6dcba5ad868d84e5a66e0154
2016-03-04 15:05:20 -05:00
Ruxton
28870fef4b Bug 1109614 - Part 1: Add tests for TextTrack cuechange on AudioElement. r=rillian
MozReview-Commit-ID: G5BsH2dtJHf
2016-03-07 09:05:05 -08:00
Nathan Froyd
0ce6da7e92 Bug 1253711 - delete unused MediaFormatReader::ByteInterval typedef; r=jya 2016-03-04 15:25:58 -05:00
JW Wang
1d43d61105 Bug 1253490 - fix the calculation of decodeTime. r=jya.
MozReview-Commit-ID: 6LMH7cQrC02
2016-03-05 09:32:26 +08:00
Makoto Kato
d5d324001f Bug 1247514 - Clear speech delegate when finishing speaking. r=eeejay
After dispatched didFinishSpeaking by OS, another events may be dispatched.  So I should remove speech delegate soon when didFinishSpeaking is called.

MozReview-Commit-ID: nsHKJCX8MQ

--HG--
extra : rebase_source : 2ab599f39065d76c4f7319cdf7a92dcb3ea2c8f7
2016-03-03 11:14:01 +09:00
Christoph Kerschbaumer
cacb6fe0fc Bug 1228677 - Do not enforce CORS when loading file for MediaResource. r=cpearce
MozReview-Commit-ID: 4RNWLi1QQC7
2016-03-06 19:17:43 -08:00
Randell Jesup
904ffa008a Bug 963238: Support isTypeSupported() in MediaRecorder, and throw on invalid mimetypes at construction r=cpearce,khuey
MozReview-Commit-ID: LPIJMSgXwxf
2016-03-06 22:48:16 -05:00
Doug Turner
bf44c44934 Bug 1252750 - Part 4: Convert dom/media/webspeech to use SpecialPowers.spinEventLoop. r=mrbkap
--HG--
extra : rebase_source : 67d3067907c44ce38907dbfd8ffc429adc106836
2016-03-05 00:06:00 -05:00
Doug Turner
f77ed0040b Bug 1252750 - Part 2: Convert dom/media to use SpecialPowers.spinEventLoop. r=mrbkap
--HG--
extra : rebase_source : 37821b331d76f555f60173644e15244f618c06bf
2016-03-05 00:05:00 -05:00
sakshi
1af0b67296 Bug 1197311 - Remove PR_snprintf calls in dom/ r=froydnj 2016-02-17 14:23:39 -05:00
Wes Kocher
0c4a0e7ccb Backed out changeset 20d8879ac256 (bug 1242682) a=backout CLOSED TREE
MozReview-Commit-ID: AH8yw9fw2kD

--HG--
extra : source : 5a2e0878d6c258b36b0ee8712a2afcde6ad94c78
2016-03-04 11:41:25 -08:00
Carsten "Tomcat" Book
7141570807 merge mozilla-inbound to mozilla-central a=merge 2016-03-04 11:49:58 +01:00
JW Wang
be803477f3 Bug 1252766 - Remove MediaDecoderStateMachine::mDecodeToSeekTarget which is never read. r=kaku.
MozReview-Commit-ID: KAArYtFqUKQ
2016-03-04 10:47:26 +08:00
Joel Maher
4719fa3568 Bug 1242682 - Separate dom/media into its own subsuite. r=armenzg, a=Tomcat
MozReview-Commit-ID: 55QtAPlIltM
2016-02-04 13:35:06 -08:00
Chris Pearce
648f43b562 Bug 1252168 - Don't send CDM unsupported notifications from Gecko to chrome. r=kentuckyfriedtakahe
MozReview-Commit-ID: FDfpeEt3HfT

--HG--
extra : rebase_source : 5bddbeae15a8afb750f4baae416d9ff8257893c4
2016-03-03 11:02:17 +13:00
Gerald Squelart
368b69b72f Bug 1242343 - p2. Blacklist msmpeg2vdec.dll 12.0.9200.16426 & .17037 - r=cpearce
MozReview-Commit-ID: C6osQ3ubhH1
2016-03-03 08:40:26 +11:00
Ruxton
e8669ba74e Bug 1033144 - Part 2: Add tests for TextTrack cuechange event. r=rillian 2016-03-02 11:35:09 -08:00
Ruxton
24b291374f Bug 1033144 - Part 1: Dispatch 'cuechange' event on TextTracks. r=rillian,bz 2016-03-02 11:35:09 -08:00
Jan-Ivar Bruaroey
fe08f0669c Bug 1250990 - Make RTCRtpEncodingParameters.scaleResolutionDownBy work with H.264 unicast. r=jesup
MozReview-Commit-ID: 2j8rRzZemql

--HG--
extra : rebase_source : c3750d3ed62d99d05cf2b637ef06001b5a9c347e
2016-02-28 09:19:23 -05:00
Nathan Froyd
3f6ef6aa59 Bug 1252198 - use UniquePtr instead of ScopedFreePtr in MediaEngineTabVideoSource; r=gerald
UniquePtr is more standard than ScopedFreePtr; using standard constructs
whenever possible is preferable.  In this case, we're allocating a
simple block of memory, so we can allocate an |unsigned char[]| via
MakeUnique for the same effect.
2016-02-29 10:20:01 -05:00
Dan Minor
3b0b90c4ba Bug 1158741 - Implement a version of omxSP_FFTInv_CCSToR_F32_Sfs in openmax DL's FFT that is not scaled r=padenot
The new routine actually multiplies by two for consistency with the other FFT
routines in use.

MozReview-Commit-ID: Hk2Dg3fR2cQ

--HG--
extra : rebase_source : 08bdbbd65d372a3d0eb69568313cec33ccea6af3
2016-01-25 06:38:29 -05:00
JW Wang
69ca12a319 Bug 1252344. Part 2 - remove unnecessary checks from MediaDecoderStateMachine::NeedToDecodeAudio(). r=bechen.
MozReview-Commit-ID: LiFvkp9RNsI
2016-03-02 10:39:22 +08:00
JW Wang
c3f95d4dba Bug 1252344. Part 1 - remove unnecessary checks from MediaDecoderStateMachine::NeedToDecodeVideo(). r=bechen.
MozReview-Commit-ID: Jgo9g5B9yq
2016-03-02 10:39:20 +08:00
JW Wang
bc386c21c3 Bug 1252762 - Decode at most one audio/video sample before finishing seeking. r=cpearce.
The idea is to make NeedToDecode{Audio,Video} return false when mState is DECODER_STATE_SEEKING
so DispatchDecodeTasksIfNeeded() basically does nothing during seeking. And we call
Ensure{Audio,Video}DecodeTaskQueued instead during seeking to request audio/video samples
only when audio/video seeking is not completed.

MozReview-Commit-ID: 2n7ehVXAq4H
2016-03-03 15:13:37 +08:00
Nathan Froyd
9fb640a914 Bug 1251715 - use UniquePtr instead of ScopedDeletePtr in dom/media/; r=gerald
UniquePtr is more standard than ScopedDeletePtr; using standard
constructs whenever possible is preferable.
2016-02-26 14:21:05 -05:00
Jonathan Griffin
0b0e0abda1 Bug 1232780 - Adjust test exclusions for win7 debug e10s, a=test-only 2016-03-01 10:36:31 -08:00
Wes Kocher
6866309c97 Backed out 2 changesets (bug 1251714, bug 1251715) for gtest failures in media code
Backed out changeset 1bbd0cd10f76 (bug 1251714)
Backed out changeset 80b197c5608f (bug 1251715)

MozReview-Commit-ID: EHOtiKLS4Xr
2016-03-01 11:36:35 -08:00
Joel Maher
8b55ee9fcd backout bug 1242682 for failures due to buildbot config issues
MozReview-Commit-ID: LsAxnbITmAq
2016-03-01 10:23:53 -08:00
Benjamin Chen
43dd9d064e Bug 1185931 - Add assert(mDecoderStateMachine). r=jwwang
MozReview-Commit-ID: 2c6AF3iu0TD
2016-02-25 14:32:19 +08:00
Nathan Froyd
710083b54a Bug 1251715 - use UniquePtr instead of ScopedDeletePtr in dom/media/; r=gerald
UniquePtr is more standard than ScopedDeletePtr; using standard
constructs whenever possible is preferable.
2016-02-26 14:21:05 -05:00
Carsten "Tomcat" Book
30e5302af8 Merge mozilla-central to mozilla-inbound 2016-03-01 15:25:31 +01:00
JW Wang
96be80d2b7 Bug 1252343. Part 2 - remove null checks for mReader which is const and never null. r=bechen.
MozReview-Commit-ID: GfyvA7Kbrcd
2016-03-01 15:21:11 +08:00
JW Wang
504d12bb95 Bug 1252343. Part 1 - make mReader const. r=bechen.
MozReview-Commit-ID: IL0cCd5aUR1
2016-03-01 10:56:19 +08:00
JW Wang
99fd1b56d5 Bug 1252341 - No need to reset mReader in ~MediaDecoderStateMachine() because the destructor will do that. r=bechen.
MozReview-Commit-ID: AmFsE95Ai9A
2016-03-01 10:47:36 +08:00
Maire Reavy
76e43453eb Bug 1213775: VP8 automatic resizing breaks ffmpeg-based players; turn it off in VP8TrackEncoder r=jya
Can re-enable once fixed in ffmpeg *and* commonly installed, since this
feature is meant to save video replayable elsewhere.

MozReview-Commit-ID: L5c6rZ8aC1s
2016-02-29 17:25:40 -05:00
Randell Jesup
e67a5005ec Bug 1234230: Don't pass null images for video encoding, and don't reencode the same image r=roc
Largely clones logic from OMXEncoder.

MozReview-Commit-ID: JfSERuCCPzT
2016-02-29 17:25:35 -05:00
Carsten "Tomcat" Book
7f956c0bfb merge mozilla-inbound to mozilla-central a=merge 2016-02-29 11:35:30 +01:00
Jean-Yves Avenard
7a839f5456 Bug 1251044: P2. Remove dead code and generalise the use of content-range header. r=roc
MozReview-Commit-ID: ESMlcBOQKsy
2016-02-29 11:41:14 +11:00
Jean-Yves Avenard
055a36351a Bug 1251044: P1. Use content-range values to determine content's length. r=roc
MozReview-Commit-ID: 7oAmvRGxzw3
2016-02-29 11:41:07 +11:00
Wes Kocher
45b5e4259b Merge m-c to fx-team, a=merge
MozReview-Commit-ID: Hc6og2UJTjf
2016-02-26 13:28:45 -08:00
Benjamin Chen
6a0c1db709 Bug 1237545 - Remove RtspMediaCodecDecoder. r=bwu 2016-02-15 13:54:49 +08:00
Joel Maher
be768c0a8d Bug 1250635 - remove ENABLE_TESTS from dom/media cpp files. r=esawin
MozReview-Commit-ID: D6T1253vNwP

--HG--
extra : rebase_source : a247b10446bf8aaa03f0aad55d4c451aad3c2fe2
2016-02-23 12:04:27 -08:00
Joel Maher
a9ad590555 Bug 1242682 - Separate dom/media into its own subsuite. r=armenzg, a=Tomcat
MozReview-Commit-ID: 55QtAPlIltM
2016-02-04 13:35:06 -08:00
Carsten "Tomcat" Book
83adb66526 merge mozilla-inbound to mozilla-central a=merge 2016-03-01 12:01:58 +01:00
Carsten "Tomcat" Book
372be7a1e1 Backed out changeset b1b50935ab45 (bug 1249313) for for making Bug 1207431 worse 2016-03-01 11:21:55 +01:00
Sebastian Hengst
b63895fdbf Backed out changeset 4cc3fae66ffb (bug 1250990) for frequent failure of modified test test_peerConnection_scaleResolution.html. r=frequentorange 2016-02-28 09:59:16 +01:00
Jan-Ivar Bruaroey
2f66effab3 Bug 1250990 - Make RTCRtpEncodingParameters.scaleResolutionDownBy work with H.264 unicast. r=jesup
MozReview-Commit-ID: 2j8rRzZemql

--HG--
extra : rebase_source : 1e039392219000830d869f0ad5432a297f6d6987
2016-02-26 16:16:11 -05:00
Eric Rahm
16fbdcb5f8 Bug 1251494 - Remove remaining references to MOZILLA_XPCOMRT_API from dom. r=jesup 2016-02-26 18:10:56 -08:00