Daniel Holbert
254a73bfa8
Bug 815450: Add "u" suffix to numeric literals in TestAudioEventTimeline.cpp, to fix sign-compare build warnings. r=ehsan
2012-11-26 20:34:16 -08:00
Daniel Holbert
d7b2de9476
Backed out changeset 704c91d3e7fa (Bug 814789) because of mac build-bustage
2012-11-26 20:34:10 -08:00
Ehsan Akhgari
64400b3001
Bug 814789 - Tie the life-time of the AudioContext to the life-time of the document owning it; r=bzbarsky
2012-11-23 18:33:41 -05:00
Edwin Flores
92700449d1
Bug 812756 - Remove seeking hack from OMX decoder r=cpearce
2012-11-27 17:08:40 +13:00
Ehsan Akhgari
35149021b6
Bug 815226 - Make the MediaPluginReader not depend on the concrete type of the AbstractMediaDecoder passed to it; r=cpearce
2012-11-26 16:12:24 -05:00
Andrew McCreight
0687798248
Bug 814453 - Eliminate NS_IMPL_CYCLE_COLLECTION_UNLINK_NATIVE_0 and NS_IMPL_CYCLE_COLLECTION_TRACE_NATIVE_BEGIN. r=smaug
2012-11-23 11:27:06 -08:00
Fabrice Desré
58a2c50162
Bug 814927 - gstreamer builds broken by Bug 814284 [r=ehsan]
2012-11-25 14:39:11 -08:00
Ehsan Akhgari
46c9d70720
Bug 814757 - Export all decoder reader headers; r=cpearce
2012-11-23 14:52:39 -05:00
Thinker K.F. Li
dcba0eca6c
Bug 805711 - check EOS against audio source for OmxDecoder. r=doublec
2012-11-24 20:25:02 +13:00
Ehsan Akhgari
506826b29f
Bug 814756 - Disambiguate PacketQueue; r=cpearce
2012-11-23 14:47:45 -05:00
Ehsan Akhgari
714687fcd1
Bug 814284 - Part 4: Simplify DecoderTraits::ShouldHandleMediaType; r=cpearce
2012-11-22 15:15:47 -05:00
Ehsan Akhgari
d410d778d1
Bug 814284 - Part 3: Use CodecListContains anywhere we can; r=cpearce
2012-11-22 14:08:57 -05:00
Ehsan Akhgari
5ea1ec777a
Bug 814284 - Part 2: Move the logic of dealing with requested codecs down into DecoderTraits::CanHandleMediaType; r=cpearce
2012-11-22 13:49:37 -05:00
Ehsan Akhgari
544ee6cf7f
Bug 814284 - Part 1: Refactor the code necessary for detection of codec support out of nsHTMLMediaElement; r=cpearce
2012-11-21 22:10:41 -05:00
Benoit Jacob
97c1c2f31c
Bug 814444 - Remove now-useless TRAVERSE_NATIVE_BEGIN and UNLINK_BEGIN_NATIVE macros - r=mccr8
2012-11-22 12:15:38 -05:00
Paul Adenot
7cecfa3a41
Bug 495040 - Implement playbackRate and related bits (Fix other tests) r=kinetik
2012-11-22 11:38:29 +01:00
Paul Adenot
ba9e783773
Bug 495040 - Implement playbackRate and related bits (Tests) r=kinetik
2012-11-22 11:38:28 +01:00
Paul Adenot
ae1aed084f
Bug 495040 - Implement playbackRate and related bits r=kinetik
2012-11-22 11:38:28 +01:00
Matthew Gregan
3b3c6ffbfb
Bug 814292 - Remove mAudioPlaybackThread and AudioStream refcounting. r=cpearce
2012-11-22 16:38:39 +13:00
Thinker K.F. Li
1b12bd0076
Bug 810734 - Check EOF to avoid infinite looping when parsing MP4. r=doublec
2012-11-21 22:45:42 -05:00
Ehsan Akhgari
db8483a95e
Bug 813637 - Let the compiler convert between the types, so that we don't end up with incorrect pointer math; r=cpearce
2012-11-21 18:30:10 -05:00
Matthew Gregan
500b23bff8
Bug 813399 - Remove workarounds for sync main thread deadlocks caused by audio remoting. r=cpearce
2012-11-20 15:22:42 +13:00
Mike Habicher
5f2f3fb21a
Bug 813190 - Stop media streams from hanging onto the last played media frame indefinitely. r=roc
2012-11-20 20:32:06 -05:00
Seth Fowler
c42d3467d8
Bug 812241 - Remove disabled test warnings. r=khuey
2012-11-20 16:13:04 -08:00
Ralph Giles
0f21dd7253
[PATCH] Bug 812847 - Test Opus channel count validation - r=kinetik
...
From 49f5e33d79df3713bc510e611a5064858bf24e4a Mon Sep 17 00:00:00 2001
These files have specially crafted headers which should be
rejected by the new checks added to resolve this bug. If any
audio output is produced then this bug has re-occured.
The audio data is the phrase "invalid file", in one or six
channels, to make this more obvious.
The new mochitest test_invalid_reject.html tries to load
and play each of the new invalid files and verifies that
an error event is triggered. Since the invalid data is in
the file headers, this should happen after network load
but before metadata is ready, so the test also asserts
errors if loadedmetadata or a number of subsequent events
are triggered.
The test will time out if no error event is fired at all.
Thanks to Matthew Gregan for assistance writing the mochitest.
---
content/media/test/Makefile.in | 11 ++++++
content/media/test/invalid-cmap-s0c0.opus | Bin 0 -> 6835 bytes
content/media/test/invalid-cmap-s0c2.opus | Bin 0 -> 6834 bytes
content/media/test/invalid-cmap-s1c2.opus | Bin 0 -> 6848 bytes
content/media/test/invalid-cmap-short.opus | Bin 0 -> 6854 bytes
content/media/test/invalid-m0c0.opus | Bin 0 -> 2471 bytes
content/media/test/invalid-m0c3.opus | Bin 0 -> 2471 bytes
content/media/test/invalid-m1c0.opus | Bin 0 -> 6836 bytes
content/media/test/invalid-m1c9.opus | Bin 0 -> 6836 bytes
content/media/test/invalid-m2c0.opus | Bin 0 -> 2471 bytes
content/media/test/invalid-m2c1.opus | Bin 0 -> 2455 bytes
content/media/test/manifest.js | 14 ++++++++
content/media/test/test_invalid_reject.html | 52 ++++++++++++++++++++++++++++
13 files changed, 77 insertions(+)
create mode 100644 content/media/test/invalid-cmap-s0c0.opus
create mode 100644 content/media/test/invalid-cmap-s0c2.opus
create mode 100644 content/media/test/invalid-cmap-s1c2.opus
create mode 100644 content/media/test/invalid-cmap-short.opus
create mode 100644 content/media/test/invalid-m0c0.opus
create mode 100644 content/media/test/invalid-m0c3.opus
create mode 100644 content/media/test/invalid-m1c0.opus
create mode 100644 content/media/test/invalid-m1c9.opus
create mode 100644 content/media/test/invalid-m2c0.opus
create mode 100644 content/media/test/invalid-m2c1.opus
create mode 100644 content/media/test/test_invalid_reject.html
2012-11-19 15:13:43 -08:00
Matthew Gregan
68027d9249
Bug 812937 - Remove unused audio remoting code. r=cjones
2012-11-19 13:54:29 +13:00
Ehsan Akhgari
20dc6bb56b
Bug 813209 - Refactor MediaResource into BaseMediaResource so that we can base the implementation of BufferMediaSource on top of MediaSource; r=cpearce
...
This refactoring is needed for the introduction of the BufferMediaResource class.
--HG--
extra : rebase_source : e4b5016e9b947948799f1b8975b23a3dd685a366
2012-11-16 20:31:53 -08:00
Ehsan Akhgari
9f5743242b
Backed out changeset f76720054116 (bug 813209) because of leaks
2012-11-19 18:15:18 -05:00
Ehsan Akhgari
e498035d23
Bug 813209 - Refactor MediaResource into BaseMediaResource so that we can base the implementation of BufferMediaSource on top of MediaSource; r=cpearce
...
This refactoring is needed for the introduction of the BufferMediaResource class.
2012-11-16 20:31:53 -08:00
Ehsan Akhgari
c18a3b3188
Bug 813210 - Make the threading related assertions in the media decoder fatal; r=cpearce
2012-11-16 17:37:46 -08:00
Ehsan Akhgari
0423e87304
Bug 813269 - Use double to represent time in Web Audio; r=bzbarsky
2012-11-19 15:52:29 -05:00
Ehsan Akhgari
f69801b25f
Bug 812032 - Refactor the media reader classes to not access MediaDecoder directly; r=cpearce
2012-11-19 10:11:21 -05:00
Timothy B. Terriberry
5efb5c507c
Bug 812847 - Validate Opus channel count, r=kinetik
2012-11-18 05:54:52 -08:00
Ehsan Akhgari
5e5593e1eb
Bug 812572 follow-up - Remove the extra semi-colon
2012-11-17 11:17:56 -05:00
Ehsan Akhgari
cf053c6208
Bug 812572 - Make MediaDecoderReader a non-runnable; r=cpearce
2012-11-16 11:30:34 -08:00
Marco Chen
095334dcc9
Bug 795237 - Web API for setting audio stream type. Part 2. r=kinetik, a=blocking-basecamp
...
Implementation on path of audio and video element
2012-11-16 11:25:26 +08:00
Ehsan Akhgari
67aa9cceb9
Bug 812390 - Protect against NaN in AudioContext.createDelay; r=bzbarsky
2012-11-15 17:48:04 -08:00
Randell Jesup
f3cbf201a0
Bug 802399: set capture index for audio input when device is Allocate()ed, plug VoEHw leak r=derf
2012-11-15 18:23:39 -05:00
Randell Jesup
f01b2fce9c
Bug 811695: disable internal socket transports for getUserMedia Audio capture r=derf
2012-11-15 17:58:40 -05:00
Benoit Jacob
5a8b82a1cb
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Benoit Jacob
f4c1a03e74
Bug 806279 - CC macros refactoring: part 3: fold the TRAVERSE_NATIVE and AMBIGUOUS cases - r=mccr8,smaug
2012-11-15 02:32:39 -05:00
David Zbarsky
5832069b20
No bug, fix struct/class mismatch warnings
2012-11-14 21:38:26 -05:00
Ehsan Akhgari
5b5d63517f
Bug 811864 - Remove PannerNode.coneGain/distanceGain; r=bzbarsky
2012-11-14 13:03:24 -08:00
Ehsan Akhgari
c28044a224
Bug 811555 - Make AudioContext.createDelay not accept arguments greater than or equal to 3; r=bzbarsky
...
--HG--
extra : rebase_source : 5ad2006acb9c27ba7f94c0d1858a19d71cc663c4
2012-11-13 16:46:25 -08:00
Chris Pearce
216fe28466
Bug 811381 - Remove ns prefix from media code. r=roc
...
--HG--
rename : content/media/nsAudioAvailableEventManager.cpp => content/media/AudioAvailableEventManager.cpp
rename : content/media/nsAudioAvailableEventManager.h => content/media/AudioAvailableEventManager.h
rename : content/media/nsAudioStream.cpp => content/media/AudioStream.cpp
rename : content/media/nsAudioStream.h => content/media/AudioStream.h
rename : content/media/nsMediaCache.cpp => content/media/MediaCache.cpp
rename : content/media/nsMediaCache.h => content/media/MediaCache.h
rename : content/media/nsBuiltinDecoder.cpp => content/media/MediaDecoder.cpp
rename : content/media/nsBuiltinDecoder.h => content/media/MediaDecoder.h
rename : content/media/nsBuiltinDecoderReader.cpp => content/media/MediaDecoderReader.cpp
rename : content/media/nsBuiltinDecoderReader.h => content/media/MediaDecoderReader.h
rename : content/media/nsBuiltinDecoderStateMachine.cpp => content/media/MediaDecoderStateMachine.cpp
rename : content/media/nsBuiltinDecoderStateMachine.h => content/media/MediaDecoderStateMachine.h
rename : content/media/dash/nsDASHDecoder.cpp => content/media/dash/DASHDecoder.cpp
rename : content/media/dash/nsDASHDecoder.h => content/media/dash/DASHDecoder.h
rename : content/media/dash/nsDASHReader.cpp => content/media/dash/DASHReader.cpp
rename : content/media/dash/nsDASHReader.h => content/media/dash/DASHReader.h
rename : content/media/dash/nsDASHRepDecoder.cpp => content/media/dash/DASHRepDecoder.cpp
rename : content/media/dash/nsDASHRepDecoder.h => content/media/dash/DASHRepDecoder.h
rename : content/media/gstreamer/nsGStreamerDecoder.cpp => content/media/gstreamer/GStreamerDecoder.cpp
rename : content/media/gstreamer/nsGStreamerDecoder.h => content/media/gstreamer/GStreamerDecoder.h
rename : content/media/gstreamer/nsGStreamerReader.cpp => content/media/gstreamer/GStreamerReader.cpp
rename : content/media/gstreamer/nsGStreamerReader.h => content/media/gstreamer/GStreamerReader.h
rename : content/media/ogg/nsOggCodecState.cpp => content/media/ogg/OggCodecState.cpp
rename : content/media/ogg/nsOggCodecState.h => content/media/ogg/OggCodecState.h
rename : content/media/ogg/nsOggDecoder.cpp => content/media/ogg/OggDecoder.cpp
rename : content/media/ogg/nsOggDecoder.h => content/media/ogg/OggDecoder.h
rename : content/media/ogg/nsOggReader.cpp => content/media/ogg/OggReader.cpp
rename : content/media/ogg/nsOggReader.h => content/media/ogg/OggReader.h
rename : content/media/omx/nsMediaOmxDecoder.cpp => content/media/omx/MediaOmxDecoder.cpp
rename : content/media/omx/nsMediaOmxDecoder.h => content/media/omx/MediaOmxDecoder.h
rename : content/media/omx/nsMediaOmxReader.cpp => content/media/omx/MediaOmxReader.cpp
rename : content/media/omx/nsMediaOmxReader.h => content/media/omx/MediaOmxReader.h
rename : content/media/plugins/nsMediaPluginDecoder.cpp => content/media/plugins/MediaPluginDecoder.cpp
rename : content/media/plugins/nsMediaPluginDecoder.h => content/media/plugins/MediaPluginDecoder.h
rename : content/media/plugins/nsMediaPluginHost.cpp => content/media/plugins/MediaPluginHost.cpp
rename : content/media/plugins/nsMediaPluginHost.h => content/media/plugins/MediaPluginHost.h
rename : content/media/plugins/nsMediaPluginReader.cpp => content/media/plugins/MediaPluginReader.cpp
rename : content/media/plugins/nsMediaPluginReader.h => content/media/plugins/MediaPluginReader.h
rename : content/media/raw/nsRawDecoder.cpp => content/media/raw/RawDecoder.cpp
rename : content/media/raw/nsRawDecoder.h => content/media/raw/RawDecoder.h
rename : content/media/raw/nsRawReader.cpp => content/media/raw/RawReader.cpp
rename : content/media/raw/nsRawReader.h => content/media/raw/RawReader.h
rename : content/media/raw/nsRawStructs.h => content/media/raw/RawStructs.h
rename : content/media/wave/nsWaveDecoder.cpp => content/media/wave/WaveDecoder.cpp
rename : content/media/wave/nsWaveDecoder.h => content/media/wave/WaveDecoder.h
rename : content/media/wave/nsWaveReader.cpp => content/media/wave/WaveReader.cpp
rename : content/media/wave/nsWaveReader.h => content/media/wave/WaveReader.h
rename : content/media/webm/nsWebMBufferedParser.cpp => content/media/webm/WebMBufferedParser.cpp
rename : content/media/webm/nsWebMBufferedParser.h => content/media/webm/WebMBufferedParser.h
rename : content/media/webm/nsWebMDecoder.cpp => content/media/webm/WebMDecoder.cpp
rename : content/media/webm/nsWebMDecoder.h => content/media/webm/WebMDecoder.h
rename : content/media/webm/nsWebMReader.cpp => content/media/webm/WebMReader.cpp
rename : content/media/webm/nsWebMReader.h => content/media/webm/WebMReader.h
2012-11-14 11:46:40 -08:00
Chris Pearce
1d6dc9c020
Bug 811381 - Move media code into mozilla namespace. r=roc
2012-11-14 11:45:33 -08:00
Chris Pearce
7cadd570a9
Bug 811381 - Move NextFrameStatus to MediaDecoderOwner, so that nsHTMLMediaElement doesn't need to include all of nsBuiltinDecoder. r=roc
2012-11-14 11:45:31 -08:00
Chris Pearce
9473334bf2
Bug 811381 - Flatten nsMediaDecoder and nsBuiltinDecoder into a single class. r=roc
2012-11-14 11:45:13 -08:00
Randell Jesup
6d92219d4c
Bug 809554: if a device has no uniqueId, use the name r=derf
2012-11-12 20:46:52 -05:00
Ehsan Akhgari
602f1aa144
Bug 809882 - Disallow non-positive arguments to AudioContext.createDelay; r=bzbarsky
2012-11-08 13:17:22 -05:00