Commit Graph

3800 Commits

Author SHA1 Message Date
Randell Jesup
d626d88ea6 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
Matt Woodrow
f8dbec9152 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
abb78fae19 Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical 2014-04-07 13:32:49 +12:00
Phil Ringnalda
fde12dd0a6 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
fbd13c088f Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical 2014-04-07 13:32:49 +12:00
Karl Tomlinson
b83038aa88 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
b3a94d7758 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
ea8b74f0c2 Backed out changeset 2ac8fe9a90c5 (bug 948269) for timeouts in gaia-integration tests; CLOSED TREE 2014-04-04 16:32:19 +01:00
Ed Morley
67926f1b87 Backed out changeset e00d10064639 (bug 948269) 2014-04-04 16:31:44 +01:00
Matthew Gregan
3c982639b9 Bug 948269 - Remove incorrect assertion from AudioSink::Drain. r=cpearce 2014-04-04 15:31:10 +13:00
Matthew Gregan
710af28e3a Bug 948269 - Refactor MediaDecoderStateMachine::AudioLoop into a standalone AudioSink class. r=cpearce 2013-12-11 18:03:30 +13:00
Neil Rashbrook
88a9233a1e Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-04-03 23:06:26 +01:00
Chris Pearce
2cd12e2cdd 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
de9186fb13 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
41a90c6dc2 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
af719fd52b Merge m-c to inbound on a CLOSED TREE 2014-04-02 19:54:15 -07:00
Wes Kocher
ac5de79fba Merge b2g-inbound to m-c 2014-04-02 19:06:17 -07:00
Ed Morley
4c29691b1d Merge mozilla-central and b2g-inbound 2014-04-02 18:56:09 +01:00
JW Wang
cc9300a896 Bug 990356 - Part 3: Remove nsRunnable base class from MediaDecoderStateMachine. r=cpearce 2014-04-02 08:51:47 -04:00
JW Wang
4adcf627f4 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
9595156993 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
52484dbcb0 Merge inbound to m-c. 2014-04-01 16:45:00 -04:00
Randy Lin
2ac3bae2e0 Bug 988884 - Properly shutdown mediaencoder threads. r=roc 2014-04-01 07:33:48 +08:00
JW Wang
3729e45eb8 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
7a728568ca Bug 985714: Monitor AEC echo levels (ERLE/etc) in gUM r=jib 2014-04-02 13:58:20 -04:00
Randell Jesup
54427b9318 Bug 694814: Patch 5 - Move AEC from PeerConnection to getUserMedia rs=padenot 2014-04-02 13:58:19 -04:00
Randell Jesup
7024ecf09f Bug 694814: Patch 4 - Add audio playout delay config var r=padenot 2014-04-02 13:58:19 -04:00
Randell Jesup
f42c0492df 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
d665815684 Bug 981276 - Initialize mAudioCodec in WebMReader. r=rillian
--HG--
extra : rebase_source : 905ae6dcd3dd0b1ac423187515fe63bb9bc21f59
2014-04-02 14:08:59 +13:00
Chris Pearce
359e71e495 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
37c69117b5 Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal 2014-03-31 08:24:28 -07:00
Benjamin Chen
9893d68d5e 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
cf8bdb40d2 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
702189fbc7 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
29bb2841ba 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
e5bb182087 Bug 990817 - Clarify nestegg packet memory management in WebMReader. r=rillian 2014-04-02 14:05:35 +13:00
Matthew Gregan
f2ddc14c08 Bug 990892 - MediaMetadataManager::DispatchMetadataIfNeeded leaks items popped from mMetadataQueue. r=padenot 2014-04-03 10:54:36 +13:00
Matthew Gregan
ced956736c Bug 927245 - Remove deprecated Audio Data API implementation. r=cajbir,smaug 2014-04-03 10:53:39 +13:00
Randell Jesup
93614a0e20 Backed out 965c62289427:cb894b5d342f for perma-orange on b2g emulator M10 r=backout 2014-04-02 17:11:12 -04:00
Randy Lin
35e9305865 Bug 912627 - Remove spurious assertion. r=cpearce 2014-04-02 09:59:31 +08:00
Mike Hommey
8a1f2aefb0 Backout changesets ca413634eba3 and a92851ff7444 (bug 988168) for likely windows PGO perf regression 2014-03-29 16:49:19 +09:00
Mike Hommey
92df8541c3 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
abed62d562 Bug 882677 - Part 5: Add track element tests. r=cpearce 2014-03-17 15:11:41 -04:00
Rick Eyre
31d177895c 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
8d44ad0a42 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
Rick Eyre
a7f4566a10 Bug 882677 - Part 2: Handle ParsingErrors from vtt.js correctly. r=cpearce
* Update vtt.js to the newest version which has the capability
of reporting back ParserErrors.
* Update the update-vtt.js script a bit as well since
the symbols that it exports have changed a bit since the last import.
Some of the general information it outputs has since changed as well
like where the repo exists.
* Update WebVTTListener to set the track readiness state
to 'failed to load' if the WebVTT file is not loaded correctly.
2014-03-17 15:11:41 -04:00
Rick Eyre
f81ce9b4cf Bug 882677 - Part 1: Dispatch loaded and error events to the HTMLTrackElement. r=cpearce 2014-03-14 12:13:41 -04:00
Rick Eyre
e2c769ed44 Bug 903030 - Add tests for TextTrackCue validation code. r=cpearce 2014-03-31 12:48:00 +02:00
Masayuki Nakano
b185105992 Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug
--HG--
rename : dom/events/nsDOMEventTargetHelper.cpp => dom/events/DOMEventTargetHelper.cpp
rename : dom/events/nsDOMEventTargetHelper.h => dom/events/DOMEventTargetHelper.h
2014-04-01 15:13:50 +09:00
Chris Peterson
5d78a768ba Bug 984071 - Part 2: Only create WebRTC LoadManager on Android and Linux. r=jesup 2014-03-28 22:19:33 -04:00