Karl Tomlinson
9e34766ff3
test for bug 937475
...
--HG--
extra : transplant_source : %BC%9F%D3%7FB%A2%93%F45%0E%A7%FD%BCXK%7D%D6I%29%8C
2013-12-04 14:40:38 +13:00
Karl Tomlinson
87c5a7f8be
b=937057 remove resampler latency from BufferSource playback r=padenot
...
--HG--
extra : transplant_source : /pU%E1%EC%93%1F%04%29%7D%86%E7%C2%21%F6k%15%C0Bm
2013-12-04 14:20:12 +13:00
Karl Tomlinson
3e6429ba79
b=938450 test resampling by resampling back to original sample rate
...
--HG--
extra : transplant_source : z%D9%E8%9A%CC%0E%5B%A7%F3C%86%20%3BT%02%3F%06%CEzb
2013-12-03 20:29:24 +13:00
Chris Pearce
71d471a6a1
Bug 945947 - Re-enable DirectShow for MP3 playback on Vista and later. r=ajones
...
We disabled MP3 playback on Windows using DirectShow as the duration was
being incorrectly reported. While DirectShow was disabled, we supported
MP3 playback via Windows Media Foundation, and we still used DirectShow
on WinXP. Now that bug 918135 has landed the duration calculation has
been fixed, so we can re-enable DirectShow for MP3 playback for all
Windows versions. This enables us to avoid suffering from bug 882537 for
MP3 on Windows.
2013-12-04 13:47:39 +13:00
Chris Pearce
30fa90ca52
Bug 945085 - Improve comments in PlatformDecoderModule.h. r=kinetik
...
Adds comments to PlatformDecoderModule.h, and describes the call model
better. Renames CreateAudioDecoder and CreateVideoDecoder to
CreateAACDecoder and CreateH264Decoder. We may change them to accept a
codec parameter and have more general names in future when we need to
support more codecs here.
2013-12-04 13:47:12 +13:00
Shelly Lin
1e65bc6c2b
Bug 941283 - OpusTrackEncoder should write pre-skip at the original samplerate. r=rillian
2013-12-02 11:54:35 +08:00
Jan Gerber
71a297452d
Bug 884275 - Report 'maybe' instead of 'probably' from canPlayType('video/webm'). r=rillian
2013-12-03 08:50:30 -05:00
Carsten "Tomcat" Book
f56fb54723
Merge m-c to mozilla-inbound
2013-12-03 11:29:37 +01:00
Carsten "Tomcat" Book
02cebc7fa1
merge b2g-inbound to mozilla-central
2013-12-03 10:41:51 +01:00
Mike Hommey
d60fd89ff7
Bug 945532 - Add missing includes in OpusParser.h. r=kinetik
2013-12-03 12:30:47 +09:00
Mike Hommey
d12b03a5b8
Bug 945532 - Kill LE* functions in OggCodecState.cpp and use Endian.h functions instead. r=kinetik
2013-12-03 12:30:45 +09:00
Ralph Giles
543dcbace6
Bug 938686 - Fix a signed-comparison warning. r=BUSTAGE CLOSED TREE
2013-12-02 16:25:22 -08:00
Karl Tomlinson
75eb0073f7
b=938450 use an OfflineAudioContext to test decodeAudioData at different sample rates f=padenot
...
--HG--
extra : transplant_source : %CF.%22r%F8%BB%D7%21%17%E9%96%19y1%5B%D0%E6%F0%D1%18
2013-12-03 12:23:49 +13:00
Karl Tomlinson
b20fe1ce50
b=938450 load the expected file only once and remove unused monoTest parameter
...
--HG--
extra : transplant_source : %8C%A4%04%FB%9E%F3%1D%90%DB%C7%B1-e.%1C%08%B7%84%7Fl
2013-12-03 12:21:00 +13:00
Karl Tomlinson
aa0a7e078f
b=938450 reduce the number of offset parameters to compareChannels() f=ehsan
...
findFirstNonZeroSample() won't return an offset > buffer length, so clamping
the result to <= 2048 is not necessary.
--HG--
extra : transplant_source : %28HV%B3%9A%AA%D6%8C6n%FD%18%AE%D6g%83%03%EA%09%D4
2013-12-03 12:20:46 +13:00
Karl Tomlinson
45cc079f92
b=938450 rename compareBuffers to compareChannels & add compareBuffers f=ehsan
...
--HG--
extra : transplant_source : %93W%BC%84%FF%10%9B%F5%CD5%98%0E%F0/%F2R%B9W%1E%94
2013-12-03 12:13:15 +13:00
Karl Tomlinson
c2f93b452f
b=938450 test lengths of decoded audio and change 48k wav files to 48k f=padenot
...
New wave files differ from those generated from ogg files using sox 14.4.1 and
libvorbis 1.3.3 by being one quantum less on about half of the samples.
--HG--
extra : transplant_source : B%27%8F%2B%40%22%C5%25%0CS%22%28%40%C0%C3%0EM%87%87%A7
2013-12-03 12:10:38 +13:00
Karl Tomlinson
b56423c2be
b=938450 process all input samples in decodeAudioData r=padenot
...
--HG--
extra : transplant_source : %01%B2%FE%DA%BE%2CcX%B9%A7%60%15%FB%08%C5%2AS%99%B28
2013-12-03 12:09:01 +13:00
Karl Tomlinson
3d689d137a
b=937057 provide a null ptr instead of a zero buffer when processing resampler tail r=padenot
...
--HG--
extra : transplant_source : %8EK%22q%A6%E9%82%F1%5E-%9E%BEs%01%F1%D1Jj%097
2013-12-03 12:07:17 +13:00
Karl Tomlinson
40a355cd1f
b=937475 separate stream position from buffer position so that stop time can use stream position r=ehsan
...
--HG--
extra : transplant_source : %8C%F0%05w%0A%C6%21%11%D5A4%85%FD%BC%D6%1F%9A%B8%FE%CB
2013-12-03 12:07:17 +13:00
Karl Tomlinson
6595fc5808
b=937475 change DURATION from end-offset to duration and compare buffer length using integer sample count r=ehsan
...
--HG--
extra : transplant_source : %2BS%A0%A1%C04%BC%1D%A7vDh%8E%A4%F7%90%E62%DC%3D
2013-12-03 12:07:17 +13:00
Karl Tomlinson
c7825beee6
b=939491 avoid producing infinite stream of subnormals in BiquadFilterNode tail r=padenot
...
Using double precision for the processing means the main loop is unlikely to
encounter subnormals and provides suitable extra precision to minimize
accumulation of error.
If the tail output values are denormalized when converted to single precision
then flush them to zero to reduce downstream computation cost.
--HG--
extra : transplant_source : %08%09u%C48%E3i%AB%23%1B%D8_kz%E5%A8_%3D%C4%93
2013-12-03 12:07:16 +13:00
Sotaro Ikeda
05a8724f6a
Bug 941274 - Fix ResetDecode in MediaOmxReader. r=doublec
2013-12-02 22:38:16 -05:00
Jan Gerber
33d36a07dc
Bug 938686 - Support Opus in WebM. r=kinetik
...
Support the Opus audio codec in the WebM (Matroska) container.
This is part of the "WebM 2" proposed spec, which also includes
the new VP9 video codec. Alas we weren't able to get concensus
to change the doctype of filename extension to mark the revision
allowing the new codecs.
2013-11-22 14:07:00 -08:00
Jan Gerber
748f641e19
Bug 938686 - Refactor Opus header parsing so it can be reused. r=kinetik
...
We want to be able to use the same header parser for both the WebM
and Ogg readers.
2013-11-22 14:06:00 -08:00
Ryan VanderMeulen
3c8b758627
Merge inbound to m-c.
2013-12-02 16:39:00 -05:00
Sotaro Ikeda
1b112bf8d3
Bug 929029 - Use nsMainThreadPtrHandle in MediaResource. r=roc, r=doublec
2013-12-02 10:22:33 -05:00
Ryan VanderMeulen
7b10b617ea
Backed out changesets 720a36d92d37 and c24da899172a (bug 926746) for frequent timeouts/hangs in test_dataChannel_basicAudio.html.
2013-12-02 14:05:19 -05:00
Ryan VanderMeulen
3d9131a823
Backed out changeset a1628c9ba4af (bug 929029) for timeouts/crashes in test_dataChannel_basicAudio.html.
2013-12-02 12:12:45 -05:00
Shelly Lin
7148413e1c
Bug 945135 - Part 2: Add VideoTrackEncoder. r=roc
2013-12-02 15:52:54 +08:00
Paul Adenot
01aa87182d
Bug 944707 - Stop locking when getting the preferred samplerate from the AudioStream. r=kinetik
...
--HG--
extra : rebase_source : 7c9f858a63c41037fd44a85457cbf401f63c07a9
2013-12-02 15:58:11 +01:00
Jan Gerber
873c9e99d3
Bug 938686 - Make OggReader::DownmixToStereo public static. r=rillian
...
We want this to be available to the WebM reader as well.
2013-11-14 10:16:00 -08:00
Ryan VanderMeulen
4829857b56
Merge m-c to inbound.
2013-12-02 16:58:15 -05:00
Edwin Flores
e5da7543d2
Bug 918135 - More tests for MP3FrameParser r=cpearce
...
This patch introduces two more MP3 test cases to exercise MP3FrameParser:
* vbr-head.mp3: This file contains a Xing header which gives an exact duration
of 10 seconds. However, it only contains 4 MP3 frames total for a real
duration of around 1 second. It is expected that we read the Xing header
and report 10 seconds.
* huge-id3.mp3: This file contains more than 130KB of ID3 tags. When we search
for MP3 frames, we give up after X KB of non-MP3 data. ID3 tags should not
count towards the non-MP3 count, since they can be very large. This test
case makes sure the skipping of ID3 tags works correctly.
2013-12-03 10:25:28 +13:00
Edwin Flores
74bbe22522
Bug 918135 - Reduce MAX_SKIPPED_BYTES in MP3FrameParser r=cpearce
...
Now that we have stopped counting ID3 tags towards our count of non-MP3 data in
the MP3 frame parser, our threshold for claiming a stream is not MP3 can be far
lower than before.
2013-12-03 10:25:28 +13:00
Edwin Flores
74c1422fc6
Bug 918135 - Use MP3FrameParser in GStreamer backend for MP3 duration estimation r=cpearce
...
This patch adds support for our home-grown MP3 frame parser to the GStreamer
backend so that our duration estimation is consistent across all platforms.
2013-12-03 10:25:28 +13:00
Edwin Flores
cf9b4a4940
Bug 918135 - Windows-specific changes for MP3FrameParser refactor r=cpearce
2013-12-03 10:25:27 +13:00
Edwin Flores
4ed8c95e5e
Bug 918135 - Parse VBR headers in MP3FrameParser for calculating exact duration r=cpearce
...
This patch adds support for Xing and VBRI headers to MP3FrameParser so that we
can calculate the exact duration of an MP3 file if these headers are present.
It is also now more robust against large ID3 tags and discontinuities in input.
2013-12-03 10:25:27 +13:00
Shelly Lin
5c64be4f5b
Bug 945135 - Part 1: Refactor of TrackEncoder and AudioTrackEncoder. r=roc
2013-11-12 10:29:09 +08:00
Ryan VanderMeulen
bbe673a3ae
Merge m-c to b2g-inbound.
2013-12-02 10:38:28 -05:00
Robert O'Callahan
2a77718239
Bug 938022. Part 6: Have MediaDecoder/MediaDecoderStateMachine that's producing a MediaStream use that stream's current time as the media clock. r=padenot
...
We monitor the stream's output current time via a new MediaStreamListener
owned by DecodedStreamData. We also track its main-thread Finished status.
While we're writing to a DecodedStreamData stream that hasn't finished its
output, we stay in the DECODER_STATE_COMPLETED state so we can keep updating
video and firing timeupdates.
GetClock() uses the DecodedStreamData stream's current time as the source for
the clock if there is one.
--HG--
extra : rebase_source : aba1d092d3d347e26ebd823d61fcbfa40a8cd1fe
2013-12-02 10:09:06 +13:00
Sotaro Ikeda
61ac84169b
Bug 929029 - Use nsMainThreadPtrHandle in MediaResource. r=roc, r=doublec
2013-12-02 10:22:33 -05:00
Steven Lee
27232f6777
Bug 926746 - Part 2: nsContentPermissionHelper set grant information to GonkPermission. r=jesup
2013-12-02 10:21:51 -05:00
Robert O'Callahan
d51f35eb1a
Bug 938022. Part 5: Add aCurrentTime parameter to MediaStreamListener::NotifyOutput and fire notifications when the MediaStreamGraph is in a good state. r=padenot
...
--HG--
extra : rebase_source : 79edce8650fdb7af315df5006ec3b91dc9fd869f
2013-11-26 00:59:49 +13:00
Robert O'Callahan
5c87adde08
Bug 938022. Part 4: Add MediaTimeToMicroseconds. r=cpearce
...
--HG--
extra : rebase_source : 4c28f1b4babfbccc86bdacb9cc54810a307da8bb
2013-11-26 00:57:26 +13:00
Robert O'Callahan
397a575007
Bug 938022. Part 2: Block captured MediaStream when the MediaDecoderStateMachine is not playing. r=cpearce
...
--HG--
extra : rebase_source : 01d887b3b5917b7c51a286d61feb10e7b2426d9a
2013-11-23 22:48:24 +13:00
Robert O'Callahan
b32400571f
Bug 938022. Part 1: Update mAudioEndTime from SendStreamData. r=cpearce
...
--HG--
extra : rebase_source : 2cbb5dcbe4d97e21f276559c5fb7dac99d919a2b
2013-11-23 00:33:24 +13:00
Steven Lee
9ba99f1307
Bug 926746 - Part 2: nsContentPermissionHelper set grant information to GonkPermission. r=jesup
2013-12-05 09:29:07 -05:00
Ms2ger
9d06a0c27f
Merge mozilla-inbound to mozilla-central.
2013-11-29 09:54:12 +01:00
Ms2ger
c51e826c53
Bug 937258 - Part a: Remove empty makefiles; r=gps
2013-11-28 15:25:40 +01:00
Matthew Gregan
2ca1434c82
Bug 942657 - Devirtualize AudioStream. r=doublec,gps
2013-11-28 18:09:08 +13:00
Benjamin Peterson
02f058e57a
backout dc9ebdf27e98 (bug 942657) for bustage
2013-11-28 20:50:16 -06:00
Matthew Gregan
93237d768e
Bug 942657 - Devirtualize AudioStream. r=doublec,gps
2013-11-28 18:09:08 +13:00
Nicholas Nethercote
c9cfcb50ed
Bug 936964 (part 4, attempt 2) - Make MediaMemoryTracker ref-counted. r=kinetik.
...
--HG--
extra : rebase_source : fb032c262779678a33baa80700f448d3c9c469d3
2013-11-25 16:01:31 -08:00
Ehsan Akhgari
c003d3abe7
Bug 944378 - Build content/media/webspeech/synth/pico in unified mode; r=glandium
2013-11-28 08:46:23 -05:00
Nicholas Nethercote
39004db706
Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.
--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
a903aefdc0
Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
...
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)
Landed on a CLOSED TREE
--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
bc475c75df
Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Nicholas Nethercote
d4402aa2cd
Bug 936964 (part 4) - Make MediaMemoryTracker ref-counted. r=kinetik.
...
--HG--
extra : rebase_source : fced8b650971a152299fcf07a9ee75936d1810a2
2013-11-25 16:01:31 -08:00
Chris Pearce
fb40afad21
Bug 943721 - Make MP4Reader restrict its codecs output to H.264 and AAC. r=kinetk
...
We should restrict the output of MP4Reader to H.264 and AAC so that we
don't end up invoking rogue platform decoders (if that's even possible).
This means that we won't play MP3 audio inside MP4, that's deliberate.
2013-11-28 11:12:24 +13:00
Chris Pearce
14c9efc438
Bug 944088 - Make MP4Reader::Init() assume mLayersBackendType=LAYERS_NONE if it doesn't have a decoder owner. r=kinetik
...
This ensures that if the MP4Reader fails to get a decoder owner, we
don't abort the media load, but instead we will assume that we don't
have an advanced layers backend, and so fallback to software decoding on
Windows.
2013-11-28 11:12:22 +13:00
Ryan VanderMeulen
f4ddb7d8f9
Backed out changeset 71f9f57e5ddb (bug 949474) for test_bug808374.html failures.
...
CLOSED TREE
2013-12-12 16:05:53 -05:00
Paul Adenot
978e927a0e
Bug 949474 - Reflect the fact that the nominal range for the sampleRate argument of the AudioContext.createBuffer changed in the spec. r=ehsan
2013-12-12 16:05:31 +01:00
Paul Adenot
371ad746eb
Bug 916384 - Stop calling onaudioprocess on the ScriptProcessorNode it has no inputs or outputs. r=roc
...
Quoting the spec: "audioprocess events are only dispatched if the
ScriptProcessorNode has at least one input or one output connected".
--HG--
extra : rebase_source : bbf52a183a55b75d394a885624a4080a9467fac4
2013-12-12 15:31:51 +01:00
Paul Adenot
2d7afabc14
Bug 944707 - Stop locking when getting the preferred samplerate from the AudioStream. r=kinetik
...
--HG--
extra : rebase_source : bbf7b305d13f252e7c743bb9abf12da078db865b
2013-12-09 20:54:49 +01:00
Jacek Caban
be149faf27
Bug 930833 - Add missing extern "C" for mingw compilation
...
--HG--
extra : rebase_source : 54b23b82b4cab3d4fba31e289c69f03f00ec6f5f
2013-12-02 12:13:43 +01:00
Jacek Caban
096ae9f20f
Bug 944900 - Fix content/media/fmp4 compilation on mingw. r=cpearce
...
--HG--
extra : rebase_source : 3e1bd0401c7768b97dc22bddb7c76cc8ba832675
2013-12-02 12:12:35 +01:00
Randy Lin
88a764f27c
Bug 935774 - "Assertion failure: meta" in mozilla::MediaEncoder::GetEncodedData. r=roc
2013-11-25 12:57:52 +13:00
Ehsan Akhgari
869d0af69a
Bug 942489 - Deunify more files that are caught by bug 941854; r=BenWa
2013-11-24 01:29:24 -05:00
Chris Pearce
e5d4d1a301
Bug 941857 - Only build WMFPlatofrmDecoderModule when MOZ_WMF is defined. r=kinetik
...
--HG--
extra : rebase_source : a9a8741540560d7591261f2a68dd68fce956e6f5
2013-11-22 10:36:02 -05:00
Gian-Carlo Pascutto
7a76409d70
Bug 946865 - Move Load Adaption preference to the main thread. r=jesup
2013-12-06 20:34:40 +01:00
Masatoshi Kimura
ed579a7fd3
Bug 925599 - Replace WinUtils::GetWindowsVersion() and GetWindowsServicePackVersion(). r=jimm
2013-11-22 12:35:42 +09:00
Masatoshi Kimura
76985474ec
Bug 941931 - Add <algorithm> for VC12 to use std::min. r=cpearce
2013-11-22 12:35:39 +09:00
Sotaro Ikeda
a093031260
Bug 939654 - Remove unnecessary wait from instantiating MediaResourceManagerService. r=mwu
2013-11-21 16:03:27 -05:00
Ryan VanderMeulen
aff6efccdc
Merge m-c to inbound.
2013-11-21 11:37:10 -05:00
Ryan VanderMeulen
d182130924
Backed out changesets efb217f1897a and c9a22296f311 (bug 935774) due to test_mediarecorder_record_4ch_audiocontext.html perma-fail on all platforms after today's inbound merge.
2013-11-21 11:28:06 -05:00
Carsten "Tomcat" Book
b696d7931d
merge mozilla-inbound to mozilla-central
2013-11-21 14:20:21 +01:00
Vincent Chang
9c630de12f
Bug 898864 - RTSP content process crash when press the play button at the end of video. r=sworkman
2013-11-20 11:08:10 +08:00
Ehsan Akhgari
9f2fd74bea
Bug 939582 - Part 2: Build content/media in unified mode; r=doublec
2013-11-20 21:12:13 -05:00
Ehsan Akhgari
0dbeb42c94
Bug 939582 - Part 1: Rework the NSPR logging in content/media to use different macro names for different logs; r=doublec
2013-11-20 22:02:42 -05:00
Ehsan Akhgari
5824edc1b5
Backed out 2 changesets (bug 939582) because of build bustage
...
Backed out changeset 2079c828645a (bug 939582)
Backed out changeset af472e590088 (bug 939582)
2013-11-20 21:41:40 -05:00
Ehsan Akhgari
8504e291bb
Bug 939582 - Part 2: Build content/media in unified mode; r=doublec
2013-11-20 21:12:13 -05:00
Ehsan Akhgari
67f44f11ac
Bug 939582 - Part 1: Rework the NSPR logging in content/media to use different macro names for different logs; r=doublec
2013-11-20 21:11:54 -05:00
Ralph Giles
dfc9793731
Bug 941281 - Release resampler in OpusTrackEncoder dtor. r=roc
...
We released the resampler when we reached the end of the stream
but would leak if the encoder was destroyed while data was still
available.
2013-11-21 11:09:08 +13:00
Randy Lin
5243b2c0a5
Bug 935774 - Test for record four audio channels audiocontext. r=jsmith
2013-11-20 17:32:22 +08:00
Randy Lin
9daa8bbcce
Bug 935774 - Assertion failure: meta in mozilla::MediaEncoder::GetEncodedData. r=roc
2013-11-20 17:14:13 +08:00
Chris Pearce
7125ddf4eb
Bug 886196 - Create a PlatformDecoderModule that outputs blank frames for fuzzing/testing purposes. r=kinetik
2013-11-21 10:04:33 +13:00
Chris Pearce
a8eb2ad7b9
Bug 886196 - Implement WMF platform decoder for FMP4 demuxer. r=padenot
2013-11-21 10:04:33 +13:00
Chris Pearce
2547f6703f
Bug 886196 - Add pref to enable creation of fmp4 reader in DecoderTraits. Preffed of by default. r=kinetik
2013-11-21 10:04:33 +13:00
Chris Pearce
b88e7b5029
Bug 886196 - MP4 demuxing using Chromium's MP4 demuxer. No decoding yet. r=kinetik
2013-11-21 10:04:33 +13:00
Chris Pearce
9772f912c9
Bug 886196 - Import Chromium's MSE MP4 demuxer code. r=kinetik
2013-11-21 10:04:32 +13:00
Ehsan Akhgari
1a8e3f714a
Bug 939571 - Build Web Audio in unified mode; r=glandium
2013-11-19 14:11:16 -05:00
Ryan VanderMeulen
554a83ef67
Merge m-c to inbound.
...
--HG--
rename : dom/contacts/tests/test_contacts_upgrade.html => dom/contacts/tests/test_contacts_upgrade.xul
rename : dom/indexedDB/test/test_globalObjects.xul => dom/indexedDB/test/test_globalObjects_chrome.xul
rename : dom/indexedDB/test/test_globalObjects.html => dom/indexedDB/test/test_globalObjects_content.html
rename : dom/indexedDB/test/unit/test_globalObjects.js => dom/indexedDB/test/unit/test_globalObjects_xpc.js
2013-11-19 13:54:20 -05:00
Ryan VanderMeulen
d54f78e830
Merge b2g-inbound to m-c.
2013-11-19 13:36:41 -05:00
Matthew Gregan
88bb7f29c1
Bug 939662 - Remove "using namespace mozilla::dom;" from MediaDecoder.h and fix fallout. r=cpearce
2013-11-18 17:22:47 +13:00
Boris Zbarsky
299e9bc2b3
Bug 941437 part 2. Remove the unused cx argument from UNWRAP_OBJECT and UNWRAP_WORKER_OBJECT. r=smaug
2013-11-21 07:51:16 -05:00
Sotaro Ikeda
180f40ec5d
Bug 935118 - Allow buffering to be triggered when we're low on decoded audio or video. r=roc
2013-11-19 09:01:14 -05:00
Mike Hommey
2812d11fce
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
e06d795c71
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
e80e877ab7
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
dda5b915fe
Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps
2013-11-19 11:47:28 +09:00
Mike Hommey
ffe0380912
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Ehsan Akhgari
6978af8a0c
Bug 939924 - Fix build error: KS.H must be included before codecapi.H in WMF.h. r=cpearce
2013-11-18 15:47:38 -05:00
Chris Double
6c15e6aa6e
Bug 874897 - Mochitest for copying of frames of videos with aspect ratio to canvas - r=kinetik
...
--HG--
extra : rebase_source : c5ff10d61a1ea46b0fdb2a43e926405660493912
2013-11-18 18:26:51 +13:00
Ed Morley
9a0878501e
Merge latest green b2g-inbound changeset and mozilla-central
2013-11-18 10:54:01 +00:00
Vincent Chang
7733fae85f
Bug 921963 - [RTSP] Support RTSP in Android JB build. r=sworkman
2013-11-13 16:03:26 +08:00
ISHIKAWA, Chiaki
cce2a17b1d
Bug 938693 - Check the return value of PR_Close() in ~FileBlockCache() and issue a message if it fails. r=cpearce
2013-11-15 21:46:40 -05:00
Matthew Gregan
4436a9d702
Bug 939613 - Remove MediaSource integration from HTMLMediaElement now and use the generic MediaDecoder interface, then move the necessary MS-specific bits to the MS decoder. r=doublec
2013-10-05 10:04:39 +02:00
Matthew Gregan
b3547c111f
Bug 939612 - Improve readability of MediaSource::SetReadyState. r=doublec
2013-10-05 10:03:50 +02:00
Ehsan Akhgari
0c8d87283b
Bug 939584 - Build some of the directories under content/media in unified mode; r=roc
2013-11-17 21:31:46 -05:00
Ehsan Akhgari
a43a5b1a27
Bug 939569 - Part 1: Stop using #pragma once in webspeech code; r=smaug
2013-11-17 19:48:02 -05:00
Matthew Gregan
df9c95b4af
Bug 939601 - Refactor current thread assert into helper. r=cpearce
2013-11-04 11:11:09 +13:00
Chris Pearce
244265c8f6
Bug 871804 - Clarify HTMLMediaElement.canPlayType() codecs for MPEG on Windows. r=kinetik
2013-11-18 11:29:55 +13:00
Chris Double
9e246ccf6b
Bug 939716 - Destructor for MediaStreamGraph should be virtual - r=roc
...
The destructor for MediaStreamGraph is non-virtual but it has a
derived class, MediaStreamGraphImpl, that overrides the destructor.
This destructor won't be called if an instance is deleted using a
pointer type of MediaStreamGraph.
It's unclear whether this actually happens but MediaStreamGraph.cpp
has code that creates a MediaStreamGraphImpl and returns it as a
MediaStreamGraph.
--HG--
extra : rebase_source : 9d006e5bf9bb056b5a54fc7aec159c26376c1459
2013-11-19 02:09:47 +13:00
Chris Double
6a658de601
Bug 939655 - Remove LOG macro definition from MediaStreamGraphImpl.h - r=roc
...
Removing this reduces opportunity for macro name clashes and using
the wrong log object if this header file is included out of order
in a .cpp file.
--HG--
rename : browser/themes/linux/Toolbar-inverted.png => browser/themes/windows/Toolbar-inverted.png
extra : rebase_source : 053384512e0f3a70d07ebe9ca0a07dc0f39d9b5b
2013-11-19 00:48:04 +13:00
Phil Ringnalda
9958c63251
Back out 4fd2bf2ec8db (bug 939662) for Windows build bustage
...
CLOSED TREE
2013-11-18 21:34:48 -08:00
Matthew Gregan
bae6b8b955
Bug 939662 - Remove "using namespace mozilla::dom;" from MediaDecoder.h and fix fallout. r=cpearce
...
--HG--
extra : rebase_source : 922db8de8e9103e3001c26f23ed7402efa8237f5
2013-11-18 17:22:47 +13:00
Paul Adenot
7f90ed61c6
Bug 919215 - Start the AudioStream on creation when in low-latency mode, and let it underrun. r=roc
...
The BufferedAudioStream buffers the data it gets through the Write() calls and
what is consumed by the callback. This means that if the audio producer starts
Write()ing data right after Start()ing the stream, data will accumulate in this
buffer and won't be consumed. Eventually, the buffer will be of a certain size
before it begins to be consumed by the callback, and this means an
umcompressible latency (because the data will be written at more or less the
same rate as it is produced).
This patch start the BufferedAudioStream right away when it is created, dropping
the silent AudioSegment until it finds real data (and padding with silence is
then done at the beginning). The stream will underrun, but the callback will
synthetize silence, avoiding overbuffering in the BufferedAudioStream. This
ensures minimal latency cause by the buffering.
Note that the clock will still advance, so this will not change the behavior of
content that has leading silence.
2013-11-19 10:43:15 +13:00
Ed Morley
98da2c262b
Merge mozilla-central and b2g-inbound
2013-11-12 15:11:34 +00:00
Mike Hommey
09b5ae9027
Bug 935857 - Replace MOZ_RTSP with proper NECKO_PROTOCOL handling. r=gps,r=vchang
2013-11-12 07:52:33 +09:00
Ryan VanderMeulen
13a4ea2031
Merge m-c to inbound.
2013-11-11 15:55:25 -05:00
Ryan VanderMeulen
fe8d4ad520
Backed out changeset 0595650a11bd (bug 934440) for bustage.
2013-11-11 09:49:46 -05:00
Birunthan Mohanathas
02a1314689
Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
2013-11-11 14:17:14 -05:00
Carsten "Tomcat" Book
efe5369770
merge fx-team to mozilla-central
2013-11-11 12:32:39 +01:00
Ms2ger
0fdc697b63
No bug - Fix some style issues in DOM code.
2013-11-11 09:04:41 +01:00
Ms2ger
b63b756490
Bug 931404 - Move LOCAL_INCLUDES to moz.build in content/; r=gps
2013-11-11 09:04:06 +01:00
Ms2ger
63ae23599e
Bug 928741 - Stop using PR_STATIC_ASSERT in content; r=jst
2013-11-11 09:03:59 +01:00
Brad Lassey
84e619e443
bug 936549 - Tab sharing capture device won't stream, use FormatStrideForWidth in tab stream r=jesup
2013-11-08 13:26:20 -05:00
Matthew Gregan
2b9e4e9e32
Bug 935343 - Convert content/media/tests to manifest format. r=doublec
2013-11-06 15:49:44 +13:00
Carsten "Tomcat" Book
021c6d3068
Merge mozilla-central to b2g-inbound
2013-11-08 15:29:28 +01:00
Sotaro Ikeda
a65953798c
Bug 929005 - Change from android::Vector to android::List. r=doublec
2013-11-08 09:09:46 -05:00
Gian-Carlo Pascutto
1dd76e0099
Bug 932112: Don't free the global, shared Context ref. r=blassey
2013-11-07 20:07:48 -05:00
Randell Jesup
53daa692c8
Bug 932112: Rollup of changes previously applied to media/webrtc/trunk/webrtc rs=jesup
...
* * *
* * *
Add AndroidAudioManager to the moz.build files.
2013-11-07 20:07:47 -05:00
Karl Tomlinson
16c0538632
b=931311 wait for HRTF panner to load impulse database before doing test
...
--HG--
extra : transplant_source : %2A%1F%D0kKSr%AA%8F%C1%26%E5%E6%EC%D5%CF%8C%A9%D11
2013-11-09 14:07:50 +13:00
Karl Tomlinson
5067764d69
b=936317 prevent MediaBufferDecoder threads from waiting after AudioContext shutdown() r=ehsan
...
--HG--
extra : transplant_source : %CE%E5O%83N%8FX%ED%2Ck%17I%B1%92%B6%A0lXH%D1
2013-11-09 14:07:45 +13:00
Karl Tomlinson
59651bdb5d
crashtest for bug 933156
...
--HG--
extra : transplant_source : %9D/%19%13%80%D3cY%5D%93%FA%17%FB%CFTO%5Ex%82%C9
2013-11-08 12:04:54 +13:00
Matthew Gregan
1e768cc317
Bug 935349 - Remove remaining disabled DASH code. r=doublec
2013-11-07 17:08:42 +13:00
Matthew Gregan
5ccd288bd0
Bug 935349 - Remove disabled DASH code. r=doublec
2013-11-07 17:08:30 +13:00
Nicholas Nethercote
3eae0dfea5
Bug 934321 - Add MemoryMultiReporter, a helper class that reduces some boilerplate, and convert all existing multi-reporters to use it. r=wchen.
...
--HG--
extra : rebase_source : a6110c3558c571b7908b63e8cc7ca21103098d0d
2013-11-06 14:58:20 +11:00
Ryan VanderMeulen
7a2924f392
Merge inbound to m-c.
2013-11-05 15:28:52 -05:00
Carsten "Tomcat" Book
1d334f5365
merge mozilla-central to b2g-inbound
2013-11-05 15:55:09 +01:00
Wes Kocher
ce4f00fcbd
Merge m-c to inbound
2013-11-04 21:22:23 -08:00
Wes Kocher
e400a12724
Merge inbound to m-c
2013-11-04 21:09:17 -08:00
Matthew Gregan
6261d5d600
Bug 848812 - Remove incorrect on-thread assertion from StopPlayback. r=cpearce
2013-11-05 17:12:01 +13:00
Matthew Gregan
af69e1fc6d
Bug 934820 - Remove LoadedEvent from MediaResource.cpp since it's almost identical to DataEnded. r=cpearce
2013-11-05 16:19:50 +13:00
Karl Tomlinson
a5f7733394
Bug 933156 - Don't send null input to EqualPowerPanningFunction. r=roc
2013-11-04 14:22:37 -05:00
Jesse Ruderman
a5817ca003
crashtest for bug 933151
...
--HG--
extra : transplant_source : %E5%D0%FB%18H%E3%7Dl%C8o%10m%BD%B6%E1%A0v8%12%AE
2013-11-05 13:02:55 +13:00
Karl Tomlinson
05d62a8b18
b=856850 use PodMove for potentially overlapping buffers r=roc
...
--HG--
extra : transplant_source : %A2%F8%85%0C%08%86%CE%E2%7F%A7X%9F%F1%B7%0E%3F%16%1E%BF%3F
2013-11-05 13:02:55 +13:00
CJKu
b38db01a4b
Bug 924724 - Shutdown hang in Media Encoder when running state machine mochitest in bug 920595. r=roc
2013-11-04 17:27:39 -05:00
Jason Smith
4ad5944819
Bug 920595 - Mochitest for verifying state transitions in Media Recording API. r=roc
2013-10-08 13:15:09 -07:00
Steve Singer
3644edc85d
Bug 885002 - Fix casting on 64 bit Big Endian platforms. r=cpearce
2013-11-05 07:45:00 -05:00
Phil Ringnalda
a04684be3e
Merge m-c to m-i
2013-11-03 16:38:02 -08:00
Phil Ringnalda
2a1cf3104a
No bug (or rather, too many), disable test_playback_rate.html for constant timeouts and crashes in random locations across every platform it ever gets enabled on
2013-11-03 16:35:21 -08:00
Chris Pearce
a4d939b3c4
Bug 933579 - Export IsVideoContentType() to VideoUtils, so that it can be used elsewhere, and move all of VideoUtils into namespace mozilla. r=kinetik
2013-11-04 11:45:19 +13:00
Matthew Gregan
67977cfe57
Bug 933552 - Enable audio/mpeg MIME type in MediaSource. r=doublec
2013-11-01 14:07:22 +13:00
Bruce Sun
101ba61301
Bug 933091 - Re-enable MP3FrameParser to parse MP3 duration. r=sotaro, r=doublec
2013-11-01 11:02:53 +08:00
Ryan VanderMeulen
1d57260a86
Merge m-c to inbound on a CLOSED TREE.
2013-10-30 22:42:13 -04:00
Sotaro Ikeda
723dc24f51
Bug 932076 - Add check for MediaExtractor creation failure. r=doublec
2013-10-30 15:41:07 -04:00
Gian-Carlo Pascutto
cef96a16b8
Bug 902000 - Make the load adaption depend on a pref. r=jesup
2013-10-29 15:00:28 +01:00
Gian-Carlo Pascutto
f58a807d09
Bug 902000 - Add a service that monitors the system load. r=jesup
2013-10-29 15:00:20 +01:00
Andrew Quartey
369e56577c
Bug 893880 - Check TextTrackCueList before trying to update its cues. r=rillian
2013-10-28 22:18:35 -04:00
Andrea Marchesini
8e89b14fa1
Bug 925594 - WebIDL enum for AudioChannel in HTMLMediaElement, r=ehsan, r=khuey
2013-10-28 17:08:14 -07:00
Ed Morley
e41de6bffe
Merge mozilla-central and inbound
2013-10-28 18:36:22 +00:00
Ed Morley
eb481bc9e5
Bug 751539 - Disable test_played.html again because surprise surprise it is still failing
2013-10-28 17:45:33 +00:00
Carsten "Tomcat" Book
d00bdf2431
Backed out changeset 5506e7033c85 (bug 925594) perma-orange mochitest test-failure on b2g-ics
...
--HG--
extra : transplant_source : %19E%9F_%BF%84%27%11%0D%DE%CA.%E7%09%9D%FD3%1A2U
2013-10-28 15:34:08 +01:00
Andrea Marchesini
028b3d33fb
Bug 925594 - WebIDL enum for AudioChannel in HTMLMediaElement, r=ehsan, r=khuey
2013-10-28 03:45:10 -07:00
Andrew Quartey
6070d164e6
Bug 931453 - Ensure TextTrack's media element reference is not null. r=khuey
2013-10-28 12:32:51 -04:00
Carsten "Tomcat" Book
beb74c06a8
Backed out changeset 5506e7033c85 (bug 925594) perma-orange mochitest test-failure on b2g-ics
2013-10-28 15:34:08 +01:00
Bill Gianopoulos
680e43e635
Bug 931428 - Include NullPtr.h in GStreamerLoader.cpp; r=ehsan
2013-10-26 20:42:34 -04:00
Phil Ringnalda
780e2a2c5f
Back out f872d288480b:9b86b4e60b29 (bug 929513) for failing to build on Windows
...
CLOSED TREE
2013-10-27 15:38:40 -07:00
David Zbarsky
4c129e947e
Bug 929513 Part 3: Use some LayerIntSize in gfx/layers r=nical
2013-10-27 17:53:27 -04:00
David Zbarsky
b3c48c54a3
Bug 929513 Part 1: Use gfx::IntSize for image layer sizes r=nical
2013-10-27 17:53:26 -04:00
Randy Lin
cee0aa777b
Bug 919905 - Media Recording - Refactor encoder architecture to support the video encoder module. r=roc, r=cjku
2013-10-25 10:59:52 +08:00
Chris Pearce
9ebe1aeab0
Bug 930833 - Extract more WMF utility functions to WMFUtils.h/cpp. r=padenot
2013-10-26 15:23:37 +13:00
Randell Jesup
25107fe5c3
Bug 920325: Add WebRTC latency logging from capture to RTP and from RTP to speakers r=padenot
2013-10-25 18:13:42 -04:00
Randell Jesup
6540e33b98
backout 5f38b1bd3358 for bustage CLOSED TREE
2013-10-25 19:25:54 -04:00
Randell Jesup
f299c1fdbc
Bug 920325: Add WebRTC latency logging from capture to RTP and from RTP to speakers r=padenot
2013-10-25 18:13:42 -04:00
Cykesiopka
d2f6b7333c
Bug 914270 - Part 1: Simple/Automated moves. r=joey
2013-10-24 18:51:00 +01:00
Andrew Quartey
2d494bdb0f
Bug 882665 - Part b: Add list of pending text tracks to TextTrackManager. r=rillian, khuey
2013-10-25 00:14:36 -04:00
Andrew Quartey
bccdc26ea8
Bug 882665 - Part a: Add readiness state attribute to text track. r= rillian, khuey
2013-10-25 00:14:36 -04:00
Chris Pearce
1041c1b5d2
Bug 930829 - Add MediaData class as base for VideoData and AudioData to simplify writing a generic stream decoder. r=kinetik
2013-10-25 15:44:58 +13:00
Karl Tomlinson
2b3444a66e
b=898291 skip HRTF panner processing when input has been null long enough for output to be null r=ehsan
...
--HG--
extra : transplant_source : %E4l%83zo%0E%08%14%FF%F7%9D%D6%8C%FD%A2%07a%2A%8Aq
2013-10-25 14:05:43 +13:00
Karl Tomlinson
3e9fb0ce4d
b=898291 remove unused PannerNodeEngine model type variables r=ehsan
...
--HG--
extra : transplant_source : %0F%F0%EB%AF%17%B6%B6%CEI0%857%D8%09%C4%D1%0D%C2.l
2013-10-25 14:05:43 +13:00
Karl Tomlinson
bc9f136d2d
b=898291 erase azimuth/elevation history when reset()ing HRTFPanner r=ehsan
...
so that old cross-fade info does not distort new sound when a PannerNode
finishes and restarts.
--HG--
extra : transplant_source : I%A9%DAx%9F%AE%B8%88%90FN%3B%3E%FC%FE%827%CB%10%8C
2013-10-25 14:05:42 +13:00
Karl Tomlinson
b74d3ed9ec
mochitest for bug 898291
...
--HG--
extra : transplant_source : %1F%18%3A%91%21%06%B6%C47%7Ck%83%C7%C8yo%2A%22%A5%02
2013-10-25 14:05:42 +13:00
Karl Tomlinson
4503f80c5a
b=924288 continue producing BiquadFilter sound output after input becomes null r=ehsan
...
--HG--
extra : transplant_source : %A6%DDf%09%98C%C0%E6%AEy%F8%F6%FF%7E/f%D7%12Ub
2013-10-25 14:05:42 +13:00
Jesse Ruderman
b62a861daa
crashtest for bug 926619
...
--HG--
extra : transplant_source : %1CQ%E6%B7%A6%DB%98%BF%F3Vlc%F1%93Xe%9D8%BAm
2013-10-25 14:05:42 +13:00
Karl Tomlinson
415dad9438
b=926619 check for non-AudioNodeStreams in MediaStream cycles r=padenot
...
--HG--
extra : transplant_source : %2B%F4%EEG%BD%17%2A/%B7%80%F6%22%04%9F%F4E%1FD%F0%A5
2013-10-25 14:05:41 +13:00
Karl Tomlinson
1e1ae1b30b
b=923301 use MediaStreamGraph to dispatch the other PlayingRefChangeHandlers too r=trivial
...
--HG--
extra : transplant_source : %A6%9F%81%40%AF%EE_EU%03%BCvZ%0B%1CE%7F%8C%80F
2013-10-25 14:05:41 +13:00
Mike Hommey
b000a846c2
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Karl Tomlinson
7d5f234734
b=923301 use MediaStreamGraph to dispatch PlayingRefChangeHandlers r=roc
...
This reduces the number of events dispatched to the main thread
and ensures these run in order with other pending updates.
--HG--
extra : transplant_source : %5E%235%DEz%EB%7D%C6%C7%F8%AF%A3%84%1F%F9%5B%87D%B3%13
2013-10-25 12:12:33 +13:00
Karl Tomlinson
7fd355fc05
b=923301 skip reverb processing when input has been null long enough for output to be null r=roc
...
--HG--
extra : transplant_source : t%F4Fi%7C%FE%A0l%7B%8FT%9D%F8%F8A%15%93%2A%5Bw
2013-10-25 12:12:13 +13:00
Karl Tomlinson
dade295bc2
b=923301 skip delay processing when nothing is buffered and input is null r=roc
...
--HG--
extra : transplant_source : %60%1B%88Z%BD%9AoAI%92%FA%B1%E4%A1%EFg%2A%FE%05%8F
2013-10-25 12:12:13 +13:00
Karl Tomlinson
c087522703
b=923301 send only one release message when convolver tail time expires r=roc
...
--HG--
extra : transplant_source : p%B7dN%D9%A7%DB%F3%FB%A9a%85%BC%2BH%A4uW%A4%84
2013-10-25 12:12:13 +13:00
Karl Tomlinson
a9d4f15ee6
b=923301 send only one release message when delay buffer is drained r=roc
...
--HG--
extra : transplant_source : %C7%8Ag%B2%C52X%A2%96%D1%8E%BB%15%E4%15%CC%1D%1Er%B8
2013-10-25 12:12:13 +13:00
Karl Tomlinson
748b20e3a4
b=923301 remove now-unnecessary node-type templating of PlayingRefChangeHandler r=roc
...
--HG--
extra : transplant_source : %0A%BA%C9%1D%1AX%0Dxg9%3BL%1F%98%BE%98%87%20o%3A
2013-10-25 12:12:12 +13:00
Karl Tomlinson
5e0ead518c
b=923301 remove now-unused GetCurrentGraphUpdateIndex() and rename mGraphUpdatesSent to mNextGraphUpdateIndex r=roc
...
--HG--
extra : transplant_source : %B6%E8%FF%F8%CA%CCWo%D0%82s%FC%92C%F5L%D9%3D%81%88
2013-10-25 12:12:00 +13:00
Karl Tomlinson
c9bdef52d5
b=923301 remove now-unnecessary AcceptPlayingRefRelease r=roc
...
--HG--
extra : transplant_source : %7B%21%18%B17%16%7B%9E%9F%B3%23%17%FD%3DZ%FC%5C%0F%D3%8C
2013-10-25 12:11:24 +13:00
Karl Tomlinson
1c5f0e79ec
b=923301 keep a tail-time reference on DelayNode until *after* the last non-silent block has been produced r=roc
...
This gives a downstream node a chance to take a tail-time reference when it
receives the last non-silent block from the DelayNode.
--HG--
extra : transplant_source : %B5%7C%E1%F6%00%D4W%D6%A22%0C%F2%0A%2C%60%F2%18%C6%A5%B8
2013-10-25 12:11:24 +13:00
Karl Tomlinson
55b7a4274f
b=923301 keep disconnected destination nodes alive long enough for their engines to add tail-time references if necessary r=roc
...
--HG--
extra : transplant_source : %24%5D%7B%3F%7E%87%20%FF%20%09%CE%AD%91%F8%7C%E7%E1%DB%3D%83
2013-10-25 12:11:01 +13:00