Mike Hommey
a0b89ce4c8
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
c489b1733e
Bug 938686 - Fix a signed-comparison warning. r=BUSTAGE CLOSED TREE
2013-12-02 16:25:22 -08:00
Karl Tomlinson
af40e0437c
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
3d87549f6d
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
dd57777655
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
dace222cfd
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
29b88874bc
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
9a16789950
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
548089e936
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
d6f6b39447
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
ce7b116ea7
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
396f33fc30
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
683dfca3a0
Bug 941274 - Fix ResetDecode in MediaOmxReader. r=doublec
2013-12-02 22:38:16 -05:00
Jan Gerber
2c42cf67b7
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
ee37b948a6
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
994cdadd13
Merge inbound to m-c.
2013-12-02 16:39:00 -05:00
Sotaro Ikeda
1b40262c90
Bug 929029 - Use nsMainThreadPtrHandle in MediaResource. r=roc, r=doublec
2013-12-02 10:22:33 -05:00
Ryan VanderMeulen
7e2a39a422
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
74325bfb43
Backed out changeset a1628c9ba4af (bug 929029) for timeouts/crashes in test_dataChannel_basicAudio.html.
2013-12-02 12:12:45 -05:00
Shelly Lin
f441e28c56
Bug 945135 - Part 2: Add VideoTrackEncoder. r=roc
2013-12-02 15:52:54 +08:00
Paul Adenot
de7c513c3b
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
be66adb68a
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
e74bb8fe33
Merge m-c to inbound.
2013-12-02 16:58:15 -05:00
Edwin Flores
b4ff67ed3a
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
19c2ca3567
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
5371638316
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
a38947e2a0
Bug 918135 - Windows-specific changes for MP3FrameParser refactor r=cpearce
2013-12-03 10:25:27 +13:00
Edwin Flores
19d0bbb775
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
45271e9aec
Bug 945135 - Part 1: Refactor of TrackEncoder and AudioTrackEncoder. r=roc
2013-11-12 10:29:09 +08:00
Ryan VanderMeulen
3de5acfddf
Merge m-c to b2g-inbound.
2013-12-02 10:38:28 -05:00
Robert O'Callahan
b2d1fa5018
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
860875d55a
Bug 929029 - Use nsMainThreadPtrHandle in MediaResource. r=roc, r=doublec
2013-12-02 10:22:33 -05:00
Steven Lee
7136a575cc
Bug 926746 - Part 2: nsContentPermissionHelper set grant information to GonkPermission. r=jesup
2013-12-02 10:21:51 -05:00
Robert O'Callahan
ce664453dd
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
be6224b575
Bug 938022. Part 4: Add MediaTimeToMicroseconds. r=cpearce
...
--HG--
extra : rebase_source : 4c28f1b4babfbccc86bdacb9cc54810a307da8bb
2013-11-26 00:57:26 +13:00
Robert O'Callahan
161ce6418f
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
2fff5d7da8
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
a875f4819c
Bug 926746 - Part 2: nsContentPermissionHelper set grant information to GonkPermission. r=jesup
2013-12-05 09:29:07 -05:00
Ms2ger
cf53814bbc
Merge mozilla-inbound to mozilla-central.
2013-11-29 09:54:12 +01:00
Ms2ger
554db665e5
Bug 937258 - Part a: Remove empty makefiles; r=gps
2013-11-28 15:25:40 +01:00
Matthew Gregan
96b0a6e352
Bug 942657 - Devirtualize AudioStream. r=doublec,gps
2013-11-28 18:09:08 +13:00
Benjamin Peterson
479abf96d4
backout dc9ebdf27e98 (bug 942657) for bustage
2013-11-28 20:50:16 -06:00
Matthew Gregan
8ed6660e86
Bug 942657 - Devirtualize AudioStream. r=doublec,gps
2013-11-28 18:09:08 +13:00
Nicholas Nethercote
bc78290462
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
cf46a71d76
Bug 944378 - Build content/media/webspeech/synth/pico in unified mode; r=glandium
2013-11-28 08:46:23 -05:00
Nicholas Nethercote
c82c609ac3
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
6220f98ec6
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
74e6ffe050
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
e604caa465
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
719365dddb
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
7577f98b66
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
1c7f8554cb
Backed out changeset 71f9f57e5ddb (bug 949474) for test_bug808374.html failures.
...
CLOSED TREE
2013-12-12 16:05:53 -05:00
Paul Adenot
74caf2eca4
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
3614370479
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
565650d978
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
ea5683303e
Bug 930833 - Add missing extern "C" for mingw compilation
...
--HG--
extra : rebase_source : 54b23b82b4cab3d4fba31e289c69f03f00ec6f5f
2013-12-02 12:13:43 +01:00
Jacek Caban
2647d9f552
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
98ffdc3b08
Bug 935774 - "Assertion failure: meta" in mozilla::MediaEncoder::GetEncodedData. r=roc
2013-11-25 12:57:52 +13:00
Ehsan Akhgari
1482ff3f90
Bug 942489 - Deunify more files that are caught by bug 941854; r=BenWa
2013-11-24 01:29:24 -05:00
Chris Pearce
59eaed0734
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
1fad0c2df0
Bug 946865 - Move Load Adaption preference to the main thread. r=jesup
2013-12-06 20:34:40 +01:00
Masatoshi Kimura
aec068d530
Bug 925599 - Replace WinUtils::GetWindowsVersion() and GetWindowsServicePackVersion(). r=jimm
2013-11-22 12:35:42 +09:00
Masatoshi Kimura
4180d93b29
Bug 941931 - Add <algorithm> for VC12 to use std::min. r=cpearce
2013-11-22 12:35:39 +09:00
Sotaro Ikeda
ba75b6c7ed
Bug 939654 - Remove unnecessary wait from instantiating MediaResourceManagerService. r=mwu
2013-11-21 16:03:27 -05:00
Ryan VanderMeulen
4e2f345770
Merge m-c to inbound.
2013-11-21 11:37:10 -05:00
Ryan VanderMeulen
8ba8f2e5fd
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
04f396a0c7
merge mozilla-inbound to mozilla-central
2013-11-21 14:20:21 +01:00
Vincent Chang
9f6565be60
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
da5895572b
Bug 939582 - Part 2: Build content/media in unified mode; r=doublec
2013-11-20 21:12:13 -05:00
Ehsan Akhgari
8ab03a33ee
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
7092b111ba
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
760bfcb738
Bug 939582 - Part 2: Build content/media in unified mode; r=doublec
2013-11-20 21:12:13 -05:00
Ehsan Akhgari
258944b4d5
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
e6a51e9b0c
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
65505041c7
Bug 935774 - Test for record four audio channels audiocontext. r=jsmith
2013-11-20 17:32:22 +08:00
Randy Lin
e44a0c6f72
Bug 935774 - Assertion failure: meta in mozilla::MediaEncoder::GetEncodedData. r=roc
2013-11-20 17:14:13 +08:00
Chris Pearce
438b02a1fd
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
e02a05ef89
Bug 886196 - Implement WMF platform decoder for FMP4 demuxer. r=padenot
2013-11-21 10:04:33 +13:00
Chris Pearce
c1e402fac2
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
7023a5d2e8
Bug 886196 - MP4 demuxing using Chromium's MP4 demuxer. No decoding yet. r=kinetik
2013-11-21 10:04:33 +13:00
Chris Pearce
d10f357a9b
Bug 886196 - Import Chromium's MSE MP4 demuxer code. r=kinetik
2013-11-21 10:04:32 +13:00
Ehsan Akhgari
fa64c8ac46
Bug 939571 - Build Web Audio in unified mode; r=glandium
2013-11-19 14:11:16 -05:00
Ryan VanderMeulen
7db9c39392
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
c9f7db66a5
Merge b2g-inbound to m-c.
2013-11-19 13:36:41 -05:00
Matthew Gregan
aca39c9f09
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
a7501e7c35
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
7b5305a24c
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
931cb49886
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
db9e5129bc
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
f0d1cd1e10
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
9c5c5d8f00
Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps
2013-11-19 11:47:28 +09:00
Mike Hommey
f81885e53b
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
57cd57f7ce
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
d1f0d1619e
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
5e628fad90
Merge latest green b2g-inbound changeset and mozilla-central
2013-11-18 10:54:01 +00:00
Vincent Chang
45db1e1423
Bug 921963 - [RTSP] Support RTSP in Android JB build. r=sworkman
2013-11-13 16:03:26 +08:00
ISHIKAWA, Chiaki
5b03b24292
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
570bc71651
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
f6913264ec
Bug 939612 - Improve readability of MediaSource::SetReadyState. r=doublec
2013-10-05 10:03:50 +02:00
Ehsan Akhgari
58e806c093
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
33312a15be
Bug 939569 - Part 1: Stop using #pragma once in webspeech code; r=smaug
2013-11-17 19:48:02 -05:00
Matthew Gregan
81e39fb050
Bug 939601 - Refactor current thread assert into helper. r=cpearce
2013-11-04 11:11:09 +13:00
Chris Pearce
5c6a926e44
Bug 871804 - Clarify HTMLMediaElement.canPlayType() codecs for MPEG on Windows. r=kinetik
2013-11-18 11:29:55 +13:00
Chris Double
1580251d0a
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
790065fca5
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
aa4f4a9e99
Back out 4fd2bf2ec8db (bug 939662) for Windows build bustage
...
CLOSED TREE
2013-11-18 21:34:48 -08:00
Matthew Gregan
fdcb4e1cac
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
06e81488b1
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
d863aeeaa2
Merge mozilla-central and b2g-inbound
2013-11-12 15:11:34 +00:00
Mike Hommey
668fe90971
Bug 935857 - Replace MOZ_RTSP with proper NECKO_PROTOCOL handling. r=gps,r=vchang
2013-11-12 07:52:33 +09:00
Ryan VanderMeulen
fddedfd880
Merge m-c to inbound.
2013-11-11 15:55:25 -05:00
Ryan VanderMeulen
a980c09016
Backed out changeset 0595650a11bd (bug 934440) for bustage.
2013-11-11 09:49:46 -05:00
Birunthan Mohanathas
192d1ba4c1
Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
2013-11-11 14:17:14 -05:00
Carsten "Tomcat" Book
eced2fbfac
merge fx-team to mozilla-central
2013-11-11 12:32:39 +01:00
Ms2ger
786aa40195
No bug - Fix some style issues in DOM code.
2013-11-11 09:04:41 +01:00
Ms2ger
84b1d4041e
Bug 931404 - Move LOCAL_INCLUDES to moz.build in content/; r=gps
2013-11-11 09:04:06 +01:00
Ms2ger
18114993ff
Bug 928741 - Stop using PR_STATIC_ASSERT in content; r=jst
2013-11-11 09:03:59 +01:00
Brad Lassey
20987e94a5
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
b86eca4bff
Bug 935343 - Convert content/media/tests to manifest format. r=doublec
2013-11-06 15:49:44 +13:00
Carsten "Tomcat" Book
8d4256ffa6
Merge mozilla-central to b2g-inbound
2013-11-08 15:29:28 +01:00
Sotaro Ikeda
371089c937
Bug 929005 - Change from android::Vector to android::List. r=doublec
2013-11-08 09:09:46 -05:00
Gian-Carlo Pascutto
c3799f59ab
Bug 932112: Don't free the global, shared Context ref. r=blassey
2013-11-07 20:07:48 -05:00
Randell Jesup
871a4d68f2
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
a14e81b585
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
6d8f7b4e50
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
7b6a4ca796
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
15ae6a844f
Bug 935349 - Remove remaining disabled DASH code. r=doublec
2013-11-07 17:08:42 +13:00
Matthew Gregan
f9f23a8559
Bug 935349 - Remove disabled DASH code. r=doublec
2013-11-07 17:08:30 +13:00
Nicholas Nethercote
b9e0d05f7e
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
8920f1cca6
Merge inbound to m-c.
2013-11-05 15:28:52 -05:00
Carsten "Tomcat" Book
15721bf23e
merge mozilla-central to b2g-inbound
2013-11-05 15:55:09 +01:00
Wes Kocher
d3d614d652
Merge m-c to inbound
2013-11-04 21:22:23 -08:00
Wes Kocher
32a09c5f75
Merge inbound to m-c
2013-11-04 21:09:17 -08:00
Matthew Gregan
3c153f450d
Bug 848812 - Remove incorrect on-thread assertion from StopPlayback. r=cpearce
2013-11-05 17:12:01 +13:00
Matthew Gregan
28ccbdd7df
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
7a847783e0
Bug 933156 - Don't send null input to EqualPowerPanningFunction. r=roc
2013-11-04 14:22:37 -05:00
Jesse Ruderman
8b9f2d3f7b
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
e59fa0ae11
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
ef3bba5dd0
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
664fb1c89d
Bug 920595 - Mochitest for verifying state transitions in Media Recording API. r=roc
2013-10-08 13:15:09 -07:00
Steve Singer
cf6598b12c
Bug 885002 - Fix casting on 64 bit Big Endian platforms. r=cpearce
2013-11-05 07:45:00 -05:00
Phil Ringnalda
f1dbfa19f5
Merge m-c to m-i
2013-11-03 16:38:02 -08:00
Phil Ringnalda
ccf7d2f18e
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
8967534188
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
d66dde322d
Bug 933552 - Enable audio/mpeg MIME type in MediaSource. r=doublec
2013-11-01 14:07:22 +13:00
Bruce Sun
0d03bd6791
Bug 933091 - Re-enable MP3FrameParser to parse MP3 duration. r=sotaro, r=doublec
2013-11-01 11:02:53 +08:00
Ryan VanderMeulen
c80a525c6d
Merge m-c to inbound on a CLOSED TREE.
2013-10-30 22:42:13 -04:00
Sotaro Ikeda
2f8ac74186
Bug 932076 - Add check for MediaExtractor creation failure. r=doublec
2013-10-30 15:41:07 -04:00
Gian-Carlo Pascutto
a53914c3fd
Bug 902000 - Make the load adaption depend on a pref. r=jesup
2013-10-29 15:00:28 +01:00
Gian-Carlo Pascutto
f7eb963a90
Bug 902000 - Add a service that monitors the system load. r=jesup
2013-10-29 15:00:20 +01:00