Commit Graph

4108 Commits

Author SHA1 Message Date
Randy Lin
010711a79e Bug 1000736 - Throw a error if an app tries to record a video from a video file being transcoded into a stream. r=tterribe. 2014-04-29 11:34:43 +08:00
Matthew Gregan
8baaf89c87 Backout 07196a58650f (bug 1002320) so it can be relanded with a follow-up fix. 2014-04-29 18:52:18 +12:00
JW Wang
443e575546 Bug 916399 - autoplay fails to activate due to Bug 1001317, call play() instead, r=cpearce 2014-04-28 00:59:00 -07:00
Matthew Gregan
0b88abbf1e Bug 1002320 - Switch video readers at the earliest possible point rather than the latest. r=cajbir 2014-04-27 22:11:00 +12:00
Matthew Gregan
45d85dcd01 Bug 946027 - Expose subdecoder's owner to avoid breaking DXVA decoding in MSE. r=cpearce 2014-04-27 17:36:00 +12:00
Matthew Gregan
6cd83695f8 Bug 1000180 - Disallow seeking SourceBufferResource to offsets that have been evicted from the input buffer. r=cajbir 2014-04-27 20:35:00 +12:00
Chris Double
12756cb1cc Bug 1002294 - Fix ContainsTime in SourceBuffer to allow for gaps in time ranges - r=kinetik
--HG--
extra : rebase_source : 6f872c3cd3757f57832cd0797338a1f93b4fa977
2014-04-28 14:39:50 +12:00
Chris Double
6653cf5c72 Bug 1002290 - Set MediaSource duration when read by MediaSourceReader - r=kinetik
--HG--
extra : rebase_source : 07ac1618cf17fd09b72b4fcf7d1fd2973f989999
2014-04-28 14:39:27 +12:00
Chris Pearce
e212cfc560 Bug 1002266 - Access MediaQueues from MediaDecoderStateMachine through accessors. r=kinetik 2014-04-28 13:12:50 +12:00
Matthew Gregan
06f0cb473f Bug 881512 - Restrict MSE codec whitelist to WebM for now. r=cajbir 2014-04-23 21:25:00 +12:00
Birunthan Mohanathas
5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Jan-Ivar Bruaroey
898be16031 Bug 907352 - Part 7: Width/height/frameRate gUM constraints. r=mt 2014-04-18 15:15:37 -04:00
Jan-Ivar Bruaroey
e8178b5b3b Bug 907352 - Part 6: Change media.navigator.video.default_width to 0. r=mt 2014-04-24 19:30:08 -04:00
Jan-Ivar Bruaroey
cce37e9b39 Bug 907352 - Part 5: Wiring for width/height/frameRate gUM constraints. r=mt 2014-04-18 15:15:10 -04:00
Jan-Ivar Bruaroey
8321c5043f Bug 907352 - Part 4: Normalized constraints to relieve downstream width/height/frameRate implementation. r=mt 2014-04-18 15:16:08 -04:00
Jan-Ivar Bruaroey
412a6bc6ff Bug 907352 - Part 1: Update to most recent constraints syntax. r=mt 2014-04-18 14:00:16 -04:00
Birunthan Mohanathas
7ac92ae5ea Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
JW Wang
155ee10cf7 Bug 843265 - Remove the check for 'canplaythrough' since the purpose of this test is test the 3 ways to register an event handler. r=kinetik 2014-04-24 23:49:00 -04:00
Matthew Gregan
60ca814140 Bug 881512 - Use MediaTaskQueue to run MSE tasks rather than a per-MSE thread. r=cajbir 2014-04-25 22:42:00 +12:00
JW Wang
861439011b Bug 969392 - remove the check for 'canplaythrough' in 'ended' event handler r=kinetik 2014-04-26 00:46:32 -04:00
cajbir
62d3a81cef Bug 1000608 - Populate active source buffers and fix/rename ContainsTime - r=kinetik 2014-04-23 19:44:00 +12:00
cajbir
c28a3456df Bug 1000608 - Implement cue-less seeking on WebM Reader - r=kinetik 2014-04-23 19:47:00 +12:00
cajbir
42e9fb6fde Bug 1000608 - Implement seeking on MediaSourceDecoder - r=kinetik 2014-04-23 19:46:00 +12:00
cajbir
a22aa76f5d Bug 1000608 - Allow querying source buffers to see if they contain data for a given time - r=kinetik 2014-04-23 19:45:00 +12:00
Matthew Gregan
b2ff9b3f80 Bug 881512 - Make sure any released decoders are destroyed on the main thread. r=cajbir 2014-04-24 00:44:00 +12:00
Matthew Gregan
e8952fcd85 Bug 881512 - Explicitly initialize ReadMetadata's aTags parameter to null. Also add some null deref tests. r=cajbir 2014-04-22 23:59:00 +12:00
Matthew Gregan
e8a2fb3b77 Bug 881512 - Fix bogus indexing of audio/video readers by ditching audio/video reader arrays and using the parent decoder directly. r=cajbir 2014-04-22 23:59:00 +12:00
Matthew Gregan
99fd9c18f5 Bug 881512 - Delay decoder initialization by indicating that we're waiting for subdecoders to be created. r=cajbir 2014-04-22 23:58:00 +12:00
Matthew Gregan
07984b60a6 Bug 881512 - Don't mix refcounting with auto ptr use. Rather than try to hang on to the reader, punch the appropriate holes through via the state machine class. r=cajbir 2014-04-22 23:58:00 +12:00
Matthew Gregan
fcad7b4c85 Bug 881512 - Remove useless static_casts. r=cajbir 2014-04-22 23:58:00 +12:00
Matthew Gregan
6b7ea64b2a Bug 881512 - Use the base video and audio queues. Currently works by shifting media data from the sub-reader queues on each decode call. Future work could allow the sub-readers to use the base queues directly. r=cajbir 2014-04-22 01:33:00 +12:00
Matthew Gregan
929d14ff1a Bug 881512 - Don't pretend the entire resource is always completely cached. r=cajbir 2014-04-22 01:32:00 +12:00
Matthew Gregan
4d687d3504 Bug 881512 - Temp fix: don't call mParentDecoder functions while SBD runs off decode thread. Revert when SBD runs on state machine's task queue. r=cajbir 2014-04-22 01:32:00 +12:00
Matthew Gregan
dfeda585a8 Bug 881512 - Crude attempt at segment parser for WebM. r=cajbir 2014-04-22 01:31:00 +12:00
Matthew Gregan
2e36eb5c82 Bug 881512 - Switch video readers on EOF. r=cajbir 2014-04-22 01:31:00 +12:00
Matthew Gregan
6fd6c6f713 Bug 881512 - Start processing multiple decoders. r=cajbir 2014-04-22 01:30:00 +12:00
Matthew Gregan
2de00cd7ca Bug 881512 - Add hidden pref to ignore MIME type in AddSourceBuffer and IsTypeSupported. For experimental/debugging use only. r=cajbir 2014-04-14 23:24:00 +12:00
Matthew Gregan
2eece5c24d Bug 881512 - Hide MediaSourceResource implementation details from HTMLMediaElement. r=cajbir 2014-04-14 23:24:00 +12:00
Matthew Gregan
2cee6e38b1 Bug 881512 - Allow a SourceBuffer to own multiple subdecoders. Switch decoders on abort(). r=cajbir 2014-04-14 23:24:00 +12:00
Ryan VanderMeulen
3c60ecfba4 Merge b2g-inbound to m-c. 2014-04-25 16:12:25 -04:00
JW Wang
f065b28c64 Bug 981153 - Fix and re-enable test_seek.html. r=cpearce
* Enable test on Windows.
* Longer timeout for it could take over 10 mins on B2G.
* Release decoder to avoid timeout on waiting for decoding resource.
2014-04-24 20:45:00 -04:00
Benjamin Chen
dd4a20efc0 Bug 990908 - Revert the change of bug 938512 and let the RTSP's code flow align to others. r=cpearce 2014-04-24 14:45:31 +08:00
Star Cheng
c6183f6ddf Bug 984498: To plumb audiochannel type from AudioContext to MediaStreamGraph r=roc 2014-04-18 17:23:36 +08:00
Carsten "Tomcat" Book
f4336f1541 Backed out changeset c07bced21c89 (bug 984498) for mochitest-1 bustage on a CLOSED TREE 2014-04-25 12:09:54 +02:00
Star Cheng
59feac455c Bug 984498: To plumb audiochannel type from AudioContext to MediaStreamGraph r=roc 2014-04-18 17:23:36 +08:00
Paul Adenot
aa81ed9e24 Bug 998179 - Refactor how MediaStreamGraph get and use their sample rate. r=roc
Use the sample rate passed to the OfflineAudioContext constructor in
MediaStreamGraph::CreateOfflineInstance, and pass the preferred mixer sample
rate to the (real time) MediaStreamGraph constructor.

Then, always use this sample rate for the lifetime of the graph.

This patch needed to pass the sample rate to the AudioMixer class to avoid
relying on globals like it was done before.

--HG--
extra : rebase_source : 2802208819887605fe26a7040998fc328b3c9a57
2014-04-23 11:20:56 +02:00
Robert O'Callahan
c14cfbf44f Bug 998284. When entering the buffering state from AdvanceFrame, be prepared to accept a second's delay before reevaluating whether to exit buffering. r=cpearce
--HG--
extra : rebase_source : 2a7aab19c998f6977cb47d6300e2967be69bcbdf
2014-03-25 00:58:11 +13:00
Paul Kerr [:pkerr]
07fe6406b7 Bug 970691 - Part 1: Add timestamp to fake video. r=jesup
Update YuvStamper utility. Add a CRC32 to the encoded
payload and have the decode method us this to verify reception.
Wrap encoded values across multiple lines in the frame buffer
when necessary. Use YuvStamper to encode a timestamp in each fake video frame.
Extract the value in VideoConduit to calculate the video latency
and add this to a running average latency when enabled via config.
2014-03-22 16:35:43 -07:00
Robert O'Callahan
72885c0876 Bug 998282. Ensure cancellable_request.sjs massively overfills the default 100K media cache size.
This ensures a test can make such a request, receive the event that the
load has been suspended, and cancel the request, all before the load has
completed.

--HG--
extra : rebase_source : c7ea934a1745004872d8529bb99241e2e376759c
2014-03-11 17:30:27 +08:00
John
356b84852a Bug 999902 - Enable WebRTC OMX codec only when Android version >= 18. r=jesup 2014-04-23 02:59:00 +02:00
Wes Kocher
50c5a26e84 Backed out 2 changesets (bug 970691) for build bustage on a CLOSED TREE
Backed out changeset 83f7aec5a083 (bug 970691)
Backed out changeset 94348d189ed5 (bug 970691)
2014-04-23 18:26:05 -07:00
Paul Kerr [:pkerr]
7db94a6847 Bug 970691 - Part 1: Add timestamp to fake video. r=jesup
Update YuvStamper utility. Add a CRC32 to the encoded
payload and have the decode method us this to verify reception.
Wrap encoded values across multiple lines in the frame buffer
when necessary. Use YuvStamper to encode a timestamp in each fake video frame.
Extract the value in VideoConduit to calculate the video latency
and add this to a running average latency when enabled via config.
2014-03-22 16:35:43 -07:00
Carsten "Tomcat" Book
bf96d695e0 Merge m-c to mozilla-inbound 2014-04-23 15:00:31 +02:00
Ehsan Akhgari
6eeb144cc5 Bug 999908 - Remove support for the Web Audio legacy prefs for AudioBufferSourceNode, AudioContext, and AudioParam; r=padenot 2014-04-23 08:56:42 -04:00
JW Wang
5bfcd08a49 Bug 998168 - nsITimer functions should be only called in the event target thread of the timer. r=cpearce. 2014-04-23 05:29:14 -04:00
JW Wang
ad59de6573 Bug 998168 - add decoder pointer to the log message of MediaDecoderStateMachine/MediaDecoder for debugging. r=cpearce 2014-04-23 05:29:04 -04:00
Carsten "Tomcat" Book
47979f8e8f Backed out changeset 1f410dde84d9 (bug 984498) 2014-04-23 08:20:37 +02:00
Benjamin Chen
1cb73ec373 Bug 994557 - part2: 1. fix bug in finishCluster function. 2. Can flush metadata only. 3. Ensure the keyframe is placed at the beginning of cluster. r=rillian 2014-04-23 12:04:27 +08:00
Sotaro Ikeda
decd53822e Bug 994889 - Fix how to get video size from OMXCodec r=cajbir 2014-04-22 20:21:29 -07:00
Benjamin Chen
2ce5fd2459 Bug 994557 - part1:fix formatting, typo, 80 characters. r=rillian 2014-04-23 10:32:46 +08:00
Star Cheng
857419fd92 Bug 984498: To plumb audiochannel type from AudioContext to MediaStreamGraph r=padenot 2014-04-23 09:58:38 +08:00
Wes Kocher
7e12aa6d98 Merge inbound to m-c 2014-04-22 17:54:44 -07:00
Ryan VanderMeulen
e4daf0a0d5 Merge b2g-inbound to m-c. 2014-04-22 12:50:29 -07:00
Randell Jesup
a39021aa83 Bug 996487: don't null out mThread while committing thread suicide r=bsmedberg 2014-04-22 15:32:13 -04:00
Ethan Tseng
f2d1f8c08a Bug 992568 - Part 2: Refactor RtspChannel to support redirection. r=sworkman 2014-04-03 19:08:34 +08:00
Ethan Tseng
2ea30d25e4 Bug 992568 - Part 1: Render RTSP in the browser. r=sworkman 2014-01-20 18:54:33 +08:00
Ethan Tseng
059cac0e12 Bug 998239 - [RTSP] Follow up of 877193 to refine RtspTrackBuffer size. r=sworkman 2014-04-18 15:54:00 +08:00
JW Wang
79fabcdae3 Bug 995090 - Update MediaCache again when there are changes in |MediaCache::mStreams|. r=roc 2014-04-22 08:37:01 -04:00
Vasanthakumar Pandurangan
851264dc76 Bug 994881 - Release audio offload player resources after pause timeout. r=roc 2014-04-21 16:47:04 +05:30
Jan Beich
149bce343a Bug 996433 - Sprinkle MOZ_WEBRTC ifdefs to unbreak --disable-webrtc after bug 694814. r=jesup 2014-04-21 09:15:34 +02:00
Ryan VanderMeulen
0ce621aabd Backed out changesets d8d01c95be03 and 5fa0c8f5ccb2 (bug 907352) for Linux64 mochitest-3 crashes. 2014-04-18 11:22:21 -04:00
Jan-Ivar Bruaroey
68500a88e9 Bug 907352 - Part 1: Update to most recent constraints syntax. r=mt 2014-04-18 03:23:29 -04:00
Ryan VanderMeulen
ecb85b74fb Backed out changesets 1e581e74878d, 7d2138e87ca0, and 7cc66aee4341 (bug 942367) for B2G mochitest failures.
CLOSED TREE
2014-04-17 22:26:07 -04:00
Randell Jesup
dd18e038e2 Bug 996853: handle AUDIO_FORMAT_SILENCE in MediaPipeline and AudioSegment::WriteTo r=roc 2014-04-17 17:45:25 -04:00
Eric Rahm
314e9711f0 Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
Martin Thomson
33ae3b1f29 Bug 942367 - Part 3: Stream isolation for WebRTC. r=jib, r=bholley 2014-04-10 11:52:08 -07:00
Martin Thomson
18a7178383 Bug 942367 - Part 2: DOMMediaStream support for PeerIdentity. r=bholley, r=roc 2014-04-10 11:51:29 -07:00
Randell Jesup
b945edf9dc Bug 997286: Don't depend on NewThread event timing; add test for suicidal initial events r=bsmedberg 2014-04-17 15:13:44 -04:00
Ralph Giles
a82d7f8191 Bug 995289 - Use fmod to wrap custom waveform phase. r=padenot
From 4156df84046e8c0be31f02a9ac0ffac1cb9fe668 Mon Sep 17 00:00:00 2001
2014-04-14 19:12:13 -07:00
Birunthan Mohanathas
c85411f987 Bug 997208 - Remove unnecessary nullptr checks before deleting in content/media. r=cajbir 2014-04-17 09:23:16 -04:00
Paul Adenot
3af065c262 Bug 997229 - Don't call IdealAudioRate on an offline MediaStreamGraph r=roc
--HG--
extra : rebase_source : 44aec47b98965a663600a84c630c0f89239842a6
2014-04-17 11:15:47 +02:00
Ethan Tseng
9b511816f4 Bug 877193 - Reduce memory usage for RTSP streaming. r=sworkman 2014-04-16 21:07:17 +08:00
Randell Jesup
edc4e3927e Bug 997286: Make NS_NewNamedThread safe if the event tries to commit suicide r=bsmedberg 2014-04-16 16:39:16 -04:00
Carsten "Tomcat" Book
cecd1777d2 Backed out changeset 3d0426ac98f1 (bug 942367) 2014-04-16 09:54:33 +02:00
Carsten "Tomcat" Book
e285a213e7 Backed out changeset e6c72bcaa64c (bug 942367) 2014-04-16 09:54:31 +02:00
Martin Thomson
d27d0a86fc Bug 942367 - Stream isolation for WebRTC. r=jib,bholley 2014-04-15 14:36:00 +02:00
Martin Thomson
113397f3b5 Bug 942367 - DOMMediaStream supports PeerIdentity. r=bobbyholley 2014-04-15 13:46:00 +02:00
Kyle Huey
d001ae7759 Bug 994971: Don't export nsObserverService.h. r=bsmedberg
--HG--
extra : rebase_source : cd5aa136075086a10cfa03d937743d8a5471fd6c
2014-04-14 12:04:27 -07:00
Kyle Huey
2c8f15bb95 Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan
--HG--
extra : rebase_source : 0d14e02c64d548fd3177681248d722683aaa87c3
2014-04-14 12:04:25 -07:00
CJKu
6183370491 Bug 951044 - [MediaEncoder::GTest] Implement unit test of VP8 video track encoder. r=rillian 2014-04-15 12:51:19 -04:00
Ming
4a67eb91d2 Bug 994015 - [tarako]some mp4 video plays not smoothly r=cpearce 2014-04-11 02:10:00 +02:00
Rick Eyre
034103cacc Bug 974017 - Update vtt.js r=rillian.
This update contains the optimization for rendering cues
with large line values. It also reverts the change to clamp
parsed line values to between -1000 and 1000.
2014-04-14 07:57:00 +02:00
Chris Pearce
5ce7ac50f4 Bug 993753 - Don't set media decoders idle while seeking. r=kinetik 2014-04-15 15:01:34 +12:00
Ryan VanderMeulen
40b49517d3 Backed out changeset e2d5b2be4142 (bug 994971) for non-unified bustage.
CLOSED TREE
2014-04-14 18:27:52 -04:00
Randell Jesup
1977552fae Bug 919215: Drop queued audio data on low-latency startup, make AudioStream::Init() async r=roc,padenot 2014-04-09 15:59:07 -04:00
Ryan VanderMeulen
d3859c597c Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
CLOSED TREE
2014-04-14 16:16:18 -04:00
Kyle Huey
46e8243a6d Bug 994971: Don't export nsObserverService.h. r=bsmedberg 2014-04-14 12:04:27 -07:00
Kyle Huey
74215b6cbb Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:25 -07:00
Ryan VanderMeulen
12fd8c8e6a Backed out changeset b026cd9460ed (bug 995637) for mochitest-1 failures.
CLOSED TREE
2014-04-13 21:26:52 -04:00
Ehsan Akhgari
8ac6e135fc Bug 995637 - Remove the MochiKit includes from content/media tests; r=roc 2014-04-13 18:52:07 -04:00
Jan Beich
42b8d5a16b Bug 995543 - Unbreak libc++ build after bug 982490 by using more portable mozilla::Abs. r=jesup 2014-04-13 15:41:07 -04:00
Benjamin Chen
33f79cef24 Bug 993303 - Correct the VorbisTrackEncoder::WriteLacing function. r=rillian 2014-04-11 13:54:15 +08:00
Andrea Marchesini
4266c27429 Bug 987064 - Remove AudioChannelType. r=roc, r=mchen, r=bent 2014-04-10 18:39:20 +01:00
Rick Eyre
ca1c5aecfa Bug 976580 - Set cue state to dirty when video resize happens. r=rillian, r=bz
This way when the video is resized the rendering algorithm for the cues
will run again and hence, the caption size will be increased/decreased
for the new size of the video.
2014-04-07 15:42:33 -04:00
Paul Adenot
847f810b87 Bug 991504 - Detect silent chunk when resampling, and properly handle them. r=roc 2014-04-07 18:22:11 +02:00
Chris Peterson
e7f55f4c4a Bug 984071 - Part 2: Fix Linux warnings about unused LoadManager member variables. r=gcp 2014-04-07 17:36:41 -07:00
Ryan VanderMeulen
6c0f4a64ad Merge m-c to inbound on a CLOSED TREE. 2014-04-11 16:24:56 -04:00
Sotaro Ikeda
316d03c1bf Bug 990310 - Remove SurfaceDescriptor from media and GrallocImage r=nical,cajbir 2014-04-11 06:13:12 -07:00
Ryan VanderMeulen
7ba7f0e455 Merge m-c to inbound on a CLOSED TREE. 2014-04-10 22:16:50 -04:00
Mike Habicher
24839a6b12 Bug 981047 - enable torch mode in low light when video recording, r=dhylands,ehsan 2014-04-09 11:53:41 -04:00
Randell Jesup
a067d226b3 Bug 818822: Reduce fake audio/video rates on b2g debug only to avoid overloading mochitest emulator VMs r=padenot
CLOSED TREE
2014-04-07 08:48:24 -04:00
Randell Jesup
7890b495a4 Bug 993787: Make SineWaveGenerator not refcounted r=ehsan 2014-04-09 16:59:25 -04:00
Randell Jesup
6b350ca9bc Bug 993787: Make MediaEngine threadsafe r=ehsan 2014-04-11 11:35:34 -04:00
Bobby Holley
a75c841246 Bug 990290 - Null-check AudioNode's mContext during unlink. r=ehsan
Unlink can happen twice, apparently.
2014-04-11 07:59:47 -07:00
Randell Jesup
a58e204c14 Bug 985714: Monitor AEC echo levels (ERLE/etc) in gUM r=jib 2014-04-02 13:58:20 -04:00
Randell Jesup
41dac5d5ab Bug 694814: Patch 5 - Move AEC from PeerConnection to getUserMedia rs=padenot 2014-04-02 13:58:19 -04:00
Randell Jesup
b0d9eb6953 Bug 694814: Patch 4 - Add audio playout delay config var r=padenot 2014-04-02 13:58:19 -04:00
Randell Jesup
d690aabe43 Bug 694814: Patch 3 - Add far-end mixer observer and insert far-end audio for AEC r=padenot 2014-04-02 13:58:19 -04:00
Paul Adenot
c906c38e32 Bug 982490 - Ensure for MSG cycle that each MediaStream write the same number of frames to their AudioStream. r=jesup,roc 2014-03-24 11:06:06 +01:00
Paul Adenot
af25ad4b1b Bug 818822: disable media-element-source-seek-1 for B2G due to bug 994351 r=drno 2014-04-09 16:31:41 +02:00
Paul Adenot
651e03feb0 Bug 818822 - Resample all inputs of the MediaStreamGraph to the ideal audio rate. r=roc 2014-03-24 11:06:05 +01:00
Rick Eyre
fd2961dce2 Bug 950308 - TextTrack, TextTrackCue, TextTrackList should BindToOwner. r=smaug 2014-04-07 13:58:38 -04:00
Carsten "Tomcat" Book
ae409227bd Backed out changeset ac06eacc2206 (bug 987064) for B2G ICS Emulator Debug Bustage on a CLOSED TREE 2014-04-10 13:18:18 +02:00
Andrea Marchesini
190cf6a2a2 Bug 987064 - Remove AudioChannelType, r=roc, r=mchen, r=bent 2014-04-10 11:49:23 +01:00
Michael Pruett
9d2a3060bb Bug 847827 - Update libsoundtouch to allow changing playback rate with multichannel audio. r=padenot
--HG--
extra : rebase_source : ebf10737b048ae3280b9a7706f701337211b2880
2014-04-10 10:37:07 +02:00
Jonathan Watt
d54d6a8047 Bug 960524 - Get rid of Image::DeprecatedGetAsSurface (Moz2D migration). r=mattwoodrow 2014-04-10 09:49:53 +01:00
Vasanthakumar Pandurangan
0f755350a7 Bug 976172 - Part 1 Changes in MediaOmxDecoder to enable audio offloading r=roc
This adds support in MediaOmxDecoder to dynamically switch between
MediaDecoderStateMachine and AudioOffloadPlayer
2014-04-08 20:59:07 +05:30
Vasanthakumar Pandurangan
92bcfe6282 Bug 976172 - Part 2 Enable audio offloading in gecko r=padenot
Implements a new class AudioOffloadPlayer to make use of
Android::AudioTrack class's offloading capability
2014-03-22 18:40:05 +05:30
Chris Pearce
6e3295989a Bug 993003 - Ensure we abort media load if IMFSourceReader creation fails. r=padenot 2014-04-09 16:45:32 +12:00
Kyle Huey
39e8ea0778 Back out bug 991812 for bustage on a CLOSED TREE. r=me 2014-04-08 17:26:33 -07:00
Kyle Huey
d098e8c228 Bug 991812: Remove uses of RefCounted in code that lives solely in Gecko. r=ehsan 2014-04-08 16:37:05 -07:00
Boris Zbarsky
79dab91ff6 Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
d4bd64ee2c Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""

plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Ryan VanderMeulen
f7f6976e6e Merge inbound to m-c. 2014-04-08 18:17:58 -04:00
Gabriele Svelto
7577d99db3 Bug 988760 - Account extra time since blocking correctly. r=karlt 2014-04-07 13:20:57 +02:00
Peter Van der Beken
a5967a49cb Back out 75c95dac7fe0 (bug 984497) and f1b0d3d13755 (bug 990475) to fix bustage on a CLOSED TREE.
--HG--
extra : rebase_source : a63315cd428faeb95464f6ad76946d1c0c6d36c3
2014-04-07 22:18:53 +02:00
Brian Hackett
044b015eb0 Bug 987508 - Create array buffers lazily for small typed arrays, r=sfink. 2014-04-07 13:04:37 -07:00
Ryan VanderMeulen
1bce966950 Backed out changeset e35851f07b67 (bug 987508) for non-unified bustage. 2014-04-07 15:49:48 -04:00
Randell Jesup
9e57378546 Backed out changeset 974c4db3003e (bug 818822) 2014-04-07 15:42:01 -04:00
Randell Jesup
f04d6425a9 Backed out changeset 5349ecd9c313 (bug 818822) 2014-04-07 15:40:55 -04:00
Randell Jesup
a8633fc661 Backed out changeset 87f437be7de5 (bug 982490) 2014-04-07 15:37:56 -04:00
Randell Jesup
90da9cb1c5 Backed out changeset e3664615ecbf (bug 694814) 2014-04-07 15:37:52 -04:00
Randell Jesup
08c9a793eb Backed out changeset 74e5c32c6fa2 (bug 694814) 2014-04-07 15:37:51 -04:00
Randell Jesup
3126953e04 Backed out changeset 6dc08e9fc7e8 (bug 694814) 2014-04-07 15:37:50 -04:00
Randell Jesup
3ad4e8d7d0 Backed out changeset daf5df0306b2 (bug 985714) 2014-04-07 15:37:48 -04:00
Peter Van der Beken
12b990ebb7 Bug 984497 - Use SpecialPowers more and change SpecialPower usage to deal with Window on WebIDL bindings. r=bz.
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : 3662ae8b0f35fefb250c9cd048e848d662863855
2014-02-15 22:12:34 +01:00
Brian Hackett
1f59f358ca Bug 987508 - Create array buffers lazily for small typed arrays, r=sfink. 2014-04-07 11:46:54 -07:00
Randell Jesup
9cbba502ef Bug 991504 - Temporary assertion removal to fix bustage in AudioSegment r=jesup
CLOSED TREE
2014-04-07 13:50:28 -04:00
Randell Jesup
e22f2fc50a Bug 985714: Monitor AEC echo levels (ERLE/etc) in gUM r=jib 2014-04-02 13:58:20 -04:00
Randell Jesup
0710b9d23a Bug 694814: Patch 5 - Move AEC from PeerConnection to getUserMedia rs=padenot 2014-04-02 13:58:19 -04:00
Randell Jesup
45c5a9c9bb Bug 694814: Patch 4 - Add audio playout delay config var r=padenot 2014-04-02 13:58:19 -04:00
Randell Jesup
de57ba495e Bug 694814: Patch 3 - Add far-end mixer observer and insert far-end audio for AEC r=padenot 2014-04-02 13:58:19 -04:00
Paul Adenot
3b43fdba8c Bug 982490 - Ensure for MSG cycle that each MediaStream write the same number of frames to their AudioStream. r=jesup,roc 2014-03-24 11:06:06 +01:00
Paul Adenot
3e5a0fb811 Bug 818822 - Resample all inputs of the MediaStreamGraph to the ideal audio rate. r=roc 2014-03-24 11:06:05 +01:00
Randell Jesup
7a15efcb01 Bug 818822: Reduce fake audio/video rates on b2g debug only to avoid overloading mochitest emulator VMs r=padenot 2014-04-07 08:48:24 -04:00
Peter Van der Beken
c89c077c14 Bug 984497 - Use SpecialPowers more and change SpecialPower usage to deal with Window on WebIDL bindings. r=bz.
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : 687daf9d78e69fe6ae21f7c1a26503cf88a18b97
2014-02-15 22:12:34 +01:00
Matt Woodrow
fabcfdbe7b Bug 904890 - Part 4: Enable hardware accelerated video decoding for OMTC+D3D9/11. r=cpearce 2014-04-07 15:17:41 +12:00
Matt Woodrow
e52746c78e Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical 2014-04-07 13:32:49 +12:00
Phil Ringnalda
c213611c51 Backed out 4 changesets (bug 991028) for nonunified bustage
CLOSED TREE

Backed out changeset 147581a518c3 (bug 991028)
Backed out changeset e5bacc566e58 (bug 991028)
Backed out changeset 6dc852777a4d (bug 991028)
Backed out changeset 780bec5571b9 (bug 991028)
2014-04-06 21:21:38 -07:00
Matt Woodrow
605fb137f9 Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical 2014-04-07 13:32:49 +12:00
Karl Tomlinson
4d914ea8a6 b=990794 crash on ovrfl in AllocateAudioBlock r=roc
--HG--
extra : transplant_source : %030X%15H%0DN%AA%7B%AEl%2Bi%2A%AB%3D%9C%23%0C%FF
2014-04-03 21:12:54 +13:00
Karl Tomlinson
2bf82558a9 b=990794 crash on ovrfl in SharedBuffer::Create() r=roc
--HG--
extra : transplant_source : %3F%C2%21%06%C0%A8Z%14%93%82%90%2CT%CE%3E%EC%C2%D0%E4W
2014-04-03 21:12:29 +13:00
Ed Morley
5c8e580b32 Backed out changeset 2ac8fe9a90c5 (bug 948269) for timeouts in gaia-integration tests; CLOSED TREE 2014-04-04 16:32:19 +01:00
Ed Morley
204800c601 Backed out changeset e00d10064639 (bug 948269) 2014-04-04 16:31:44 +01:00
Matthew Gregan
ff8c8c001f Bug 948269 - Remove incorrect assertion from AudioSink::Drain. r=cpearce 2014-04-04 15:31:10 +13:00
Matthew Gregan
168f8d90ad Bug 948269 - Refactor MediaDecoderStateMachine::AudioLoop into a standalone AudioSink class. r=cpearce 2013-12-11 18:03:30 +13:00
Neil Rashbrook
936188506a Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-04-03 23:06:26 +01:00
Chris Pearce
7f6e8b96b9 Bug 986947 - Make MP3 contained in MP4 playback again on Windows with WMF backend. r=padenot
Report that we can play MP3 inside MP4 on Windows Vista and later in
HTMLMediaElement.canPlayType. Chrome and IE on Windows match this behaviour.

Add a test file with MP3 contained inside MP4. Note the B2G emulator can't play
this file, so I added a codecs parameter to the file's mime type so that
decoder backends have to opt-in to testing with it.

Enable playback of MP3 inside MP4 in WMFReader.

Change from reporting the IMFSourceReader's duration inside WMFReader, to
instead report the IMFSourceReader's duration as the media "end time". This is
needed because the MP3-contained-in-MP4 file's first sample output by the
IMFSourceReader has a non-zero timestamp, and the MediaDecoderStateMachine
assumes that the media samples will be in the range
[$firstSampleStartTime, $firstSampleStartTime+$reportedDuration]. But that's
not the case here, the IMFSourceReader seems to output samples in the range
[0,$reportedDuration]. This assumption mismatch means on the
MP3-contained-in-MP4 file we end up trying to seek after what the
IMFSourceReader assumes is the end of the file, which fails and causes
test failures.
2014-04-04 10:39:42 +13:00
Chris Pearce
ca5f79e5a8 Bug 991448 - Skip Theora decode to next keyframe after seek, so that we don't get visual artifacts after a fastSeek. r=cajbir 2014-04-04 10:39:15 +13:00
Rick Eyre
adcc7d481e Bug 879431 - Set VTTCue's TextTrack from TextTrack::AddCue r=rillian
We were having an issue where the cue's track property was undefined
because it was never set when adding the cue to a text track's list
of cues.
2014-04-02 18:16:00 +02:00
Wes Kocher
e4bb8736a9 Merge m-c to inbound on a CLOSED TREE 2014-04-02 19:54:15 -07:00
Wes Kocher
b42cc30cf7 Merge b2g-inbound to m-c 2014-04-02 19:06:17 -07:00
Ed Morley
1d70b8c714 Merge mozilla-central and b2g-inbound 2014-04-02 18:56:09 +01:00
JW Wang
0ec83ca01e Bug 990356 - Part 3: Remove nsRunnable base class from MediaDecoderStateMachine. r=cpearce 2014-04-02 08:51:47 -04:00
JW Wang
7cb5d740ea Bug 990356 - Part 2: Only one way to dispatch state machine (using a timer) tasks and remove unused variables. r=cpearce 2014-04-02 08:51:47 -04:00
JW Wang
9fefdce048 Bug 990356 - Part 1: Remove lazy init of |mTimer| since we need one for most of the case. r=cpearce 2014-04-02 08:51:46 -04:00
Ryan VanderMeulen
0d5b7940ce Merge inbound to m-c. 2014-04-01 16:45:00 -04:00
Randy Lin
1e2b703371 Bug 988884 - Properly shutdown mediaencoder threads. r=roc 2014-04-01 07:33:48 +08:00
JW Wang
95bd4f71d1 Bug 980868 - Don't skip video frame when |clock time| is less than |mVideoFrameEndTime| for we are still in the safe range without underruning video frames. r=cpearce 2014-04-01 08:58:55 -04:00
Randell Jesup
45c4d25757 Bug 985714: Monitor AEC echo levels (ERLE/etc) in gUM r=jib 2014-04-02 13:58:20 -04:00
Randell Jesup
c944f7f471 Bug 694814: Patch 5 - Move AEC from PeerConnection to getUserMedia rs=padenot 2014-04-02 13:58:19 -04:00
Randell Jesup
f541101e08 Bug 694814: Patch 4 - Add audio playout delay config var r=padenot 2014-04-02 13:58:19 -04:00
Randell Jesup
7e518ccc70 Bug 694814: Patch 3 - Add far-end mixer observer and insert far-end audio for AEC r=padenot 2014-04-02 13:58:19 -04:00
Matthew Gregan
20482e64a3 Bug 981276 - Initialize mAudioCodec in WebMReader. r=rillian
--HG--
extra : rebase_source : 905ae6dcd3dd0b1ac423187515fe63bb9bc21f59
2014-04-02 14:08:59 +13:00
Chris Pearce
417ed90a50 Bug 987127 - Destroy and re-create IMFSourceReader without using DXVA when DXVA init fails to fix failure on AMD Radeon 3000 chipsets. r=padenot 2014-04-02 14:07:41 +13:00
Sotaro Ikeda
3c541b7114 Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal 2014-03-31 08:24:28 -07:00
Benjamin Chen
7b006532c6 Bug 984816: RTSP play/pause deadlock issue. 1. Release the monitor when access mReader. 2. Reverse the order in RtspOmxReader::SetIdle(). r=cpearce 2014-03-31 10:18:01 +08:00
Paul Adenot
a996edae64 Bug 982490 - Ensure for MSG cycle that each MediaStream write the same number of frames to their AudioStream. r=jesup,roc 2014-03-24 11:06:06 +01:00
Paul Adenot
d3b8229033 Bug 818822 - Resample all inputs of the MediaStreamGraph to the ideal audio rate. r=roc 2014-03-24 11:06:05 +01:00
Daniel Holbert
0a7b04c924 Bug 984786 part 5: Give NS_INLINE_DECL_*REFCOUNTING classes private/protected destructor & MOZ_FINAL annotation where appropriate, in /content/media. r=kinetik 2014-04-02 09:21:11 -07:00
Matthew Gregan
0bb1c2064e Bug 990817 - Clarify nestegg packet memory management in WebMReader. r=rillian 2014-04-02 14:05:35 +13:00
Matthew Gregan
adaad0d292 Bug 990892 - MediaMetadataManager::DispatchMetadataIfNeeded leaks items popped from mMetadataQueue. r=padenot 2014-04-03 10:54:36 +13:00
Matthew Gregan
69f11197c5 Bug 927245 - Remove deprecated Audio Data API implementation. r=cajbir,smaug 2014-04-03 10:53:39 +13:00
Randell Jesup
939be317e4 Backed out 965c62289427:cb894b5d342f for perma-orange on b2g emulator M10 r=backout 2014-04-02 17:11:12 -04:00
Randy Lin
3a40673d1b Bug 912627 - Remove spurious assertion. r=cpearce 2014-04-02 09:59:31 +08:00
Mike Hommey
084f4bf6b5 Backout changesets ca413634eba3 and a92851ff7444 (bug 988168) for likely windows PGO perf regression 2014-03-29 16:49:19 +09:00
Mike Hommey
0e1dd1fe7c Bug 988168 - Better integrate gtest libxul in the build system. r=mshal
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-29 07:50:08 +09:00
Rick Eyre
9aac79542d Bug 882677 - Part 5: Add track element tests. r=cpearce 2014-03-17 15:11:41 -04:00
Rick Eyre
380383be80 Bug 882677 - Part 4: TextTrack::ReadyState should be set to 'error' if loading the stream fails. r=cpearce 2014-03-17 17:49:52 -04:00
Rick Eyre
0837ecc090 Bug 882677 - Part 3: Set Track::ReadyState after flushing the parser. r=cpearce
The parser might report errors during the flush call so we can't check and set the ReadyState of the track yet.
2014-03-17 16:52:11 -04:00