Paul Adenot
2c42e0e1e8
Bug 804875 - Reset media element when loading a new src. r=kinetik
2013-01-24 20:28:48 +01:00
Robert O'Callahan
52fa9f133a
Bug 804837. Part 0: Rework the connection and input/output port logic for Web Audio nodes; r=ehsan
...
Here's what this patch does:
-- Makes AudioNodes mostly not use nsWrapperCache. AudioDestinationNode
still does.
-- Rename MaxNumberOfInputs/Outputs to NumberOfInputs/Outputs, and have them
default to 1 in AudioNode.
-- Allow any number of nodes to be connected to any given input/output port.
2013-01-23 19:50:18 -05:00
Steve Workman
8622e67ce8
Bug 792935 - Forward suspend and resume to sub-decoders r=cpearce
2013-01-23 11:24:56 -08:00
Steve Workman
18ff19b51f
Bug 792935 - Restore correct playState after state machine initialization r=cpearce
2013-01-23 11:24:42 -08:00
Steve Workman
a993ad23d9
Bug 792935 - Do not close MPD resource before shutdown r=cpearce
2013-01-23 11:24:42 -08:00
Steve Workman
5c7eb91cb8
Bug 792935 - Add decoder cloning support to DASH for mozLoadFrom r=cpearce
2013-01-23 11:24:41 -08:00
Steve Workman
31eb1c380d
Bug 792935 - Miscellaneous fixes for DASH Mochitests r=cpearce
2013-01-23 11:24:41 -08:00
Steve Workman
a8a940298d
Bug 792935 - Add DASH to various Media Mochitests r=cpearce
2013-01-23 11:24:41 -08:00
Steve Workman
75320e63ef
Bug 792935 - Add DASH to gSmallTests and gSeekTests to manifest.js (Media Mochitests) r=cpearce
2013-01-23 11:24:41 -08:00
Steve Workman
bed2acc4c7
Bug 792935 - Add tests for canPlayType for DASH (Media Mochitests) r=cpearce
2013-01-23 11:24:41 -08:00
Matthew Gregan
713be4318b
Bug 833578 - Start AudioSegment playing after first write rather than waiting for AudioStream's buffer to fill. r=roc
2013-01-23 18:53:10 +13:00
Ehsan Akhgari
94b2981ab9
Bug 833631 - Unprefix mozAudioContext; r=roc
...
--HG--
extra : rebase_source : 3c477a97ea842a806f6fad6f5c3a81d6e50b27c3
2013-01-22 20:12:21 -05:00
Sotaro Ikeda
1ab3e09511
Bug 826756 - Update video image size. r=cdouble
2013-01-23 18:08:16 -05:00
Chris Pearce
6245215530
Bug 823646 - Handle dynamic format changes and video frame display apperature attributes in WMFReader. r=padenot
2013-01-21 14:38:47 +13:00
Steve Fink
d3f194fbfb
Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
2012-12-31 12:40:21 -08:00
Steve Fink
cb8aecdd2a
Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!)
2013-01-18 13:20:21 -08:00
Steve Fink
fa3e8f224b
Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
...
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Paul Adenot
aa9245764b
Bug 829042 - Remove dead PlaybacKRateChanged member. r=cpearce
2013-01-18 16:57:17 +01:00
Paul Adenot
5163604caa
Bug 793274 - Make sure to have enough frames pushed to the AudioStream before starting it. r=kinetik
2012-11-26 15:13:08 +01:00
Paul Adenot
56960da2a6
Bug 822933 - Properly check if a WebM file has cues. r=kinetik
2012-12-23 16:51:17 +01:00
Ehsan Akhgari
123c2005b1
Remove a trailing comma from the ColorFormat enum in order to prevent compiler warnings, no bug
2013-01-18 09:13:26 -05:00
Paul Adenot
c4835a573f
Bug 821737 - r=kinetik
2013-01-18 14:21:47 +01:00
Chris Double
b7d00eddb1
Bug 831640 - Remove unused AddRef/Release methods on MediaDecoderReader - r=ehsan
2013-01-17 17:46:00 +13:00
Randell Jesup
da209aea3d
Bug 831427: Gate RemoveListener(stream) to avoid calling if Destroy() pending r=roc
2013-01-17 02:38:21 -05:00
Trevor Saunders
b98e34aed0
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Ed Morley
3de1bf91c3
Backout b3a8618f901c (bug 829042), 34a9ef8f929d (bug 822933), 4c1215cefbab (bug 826349), 70bb7f775178 (bug 825325), e9c8447fb197 (bug 828713), eb6ebf01eafe (bug 828901), f1f3ef647920 (bug 825329), f9d7b5722d4f (bug 825329), 5add564d4546 (bug 819377), 55e93d1fa972 (bug 804875), f14639a3461e (bug 804875), 23456fc21052 (bug 814308) for Windows pgo-only mochitest-1 media test timeouts on a CLOSED TREE
2013-01-16 15:16:23 +00:00
Ed Morley
c426b73a77
Backout 1abf4c88f8f1 (bug 793274) on suspicion of causing win pgo-only mochitest-1 media test timeouts
2013-01-16 10:44:06 +00:00
Matthew Gregan
9036474989
Bug 826104 - Fix audio thread shutdown crash. r=roc
2013-01-14 18:25:02 +13:00
Paul Adenot
bb5ffcd229
Bug 829042 - Remove dead PlaybackRateChanged member. r=cpearce
2013-01-15 19:57:04 +01:00
Paul Adenot
3d9428d3d5
Bug 793274 - Make sure to have enough frames pushed to the AudioStream before starting it. r=kinetik
2012-11-26 15:13:08 +01:00
Paul Adenot
35ec3c3a15
Bug 822933 - Properly check if a WebM file has cues. r=kinetik
2012-12-23 16:51:17 +01:00
Paul Adenot
91087261d2
Bug 828901 - Get the seek time as mBasePosition instead of the stream position in video-only stream when changing the playbackRate and seeking at the same time. r=kinetik
2013-01-15 19:57:03 +01:00
Paul Adenot
c9b44a180d
Bug 825329 - Update tests. r=kinetik
2013-01-15 19:57:03 +01:00
Paul Adenot
4e5ae7f334
Bug 825329 - Fixed the getter for the playbackRate in AudioStream. r=kinetik
2013-01-15 19:57:03 +01:00
Paul Adenot
1c03e3f231
Bug 819377 - Don't offset the clock by the start time of the video in AdvanceFrame, and set the media as playing earlier. r=kinetik
2013-01-15 19:57:03 +01:00
Paul Adenot
628209bfaf
Bug 804875 - Tests. r=kinetik
2013-01-15 19:57:03 +01:00
Paul Adenot
2998641c5b
Bug 804875 - Reset media element when loading a new src. r=kinetik
2013-01-15 19:57:03 +01:00
Paul Adenot
8caeb590eb
Bug 814308 - MediaDecoder::SetDuration doesn't handle aDuration=inf correctly. r=kinetik
2013-01-15 19:57:00 +01:00
Mats Palmgren
0ae685efa9
Bug 786533 - On Windows, one of the system header files (windef.h) defines 'min' and 'max' as macros which breaks any use of std::min/std::max. Define NOMINMAX before including system header files where needed to avoid defining those macros. r=ehsan
2013-01-15 13:22:03 +01:00
Mats Palmgren
d5826be6d7
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Ehsan Akhgari
7ba545bbc6
Bug 827541 follow-up: Make sure that the test case actually instantiates an AudioContext object the first time, as opposed to just access the constructor function through a property access
2013-01-15 01:15:25 -05:00
Andrew McCreight
c6adbf1b9c
Bug 827541 - Traverse/Unlink nsGlobalWindow::mAudioContexts. r=ehsan
2013-01-14 15:22:00 -08:00
Dan Mosedale
5af872649d
Bug 829314, enable webrtc_trace logging for getUserMedia's VideoEngine, r=jesup
2013-01-11 15:30:20 -08:00
Chris Peterson
f456453bfd
Bug 829685 - Remove #include "prtypes.h" from some files that no longer use PR types. r=ehsan
2013-01-10 08:19:36 -08:00
Robert O'Callahan
f2ee4df1a0
Bug 827537. Refactor AudioChunk to support having separate buffers for each channel. r=jesup
...
--HG--
extra : rebase_source : 0aa26e1c3181d9fe5158520d4b33248bae0fa5d0
2012-11-22 18:04:27 +13:00
Nathan Froyd
52c9d33859
Bug 829223 - fix FileBlockCache to consistently use 64-bit offsets; r=roc
2013-01-10 15:21:50 -05:00
Randell Jesup
49e05b2a18
Bug 828828: Use monitor around all accesses to stream array r=derf
2013-01-10 11:52:53 -05:00
Ed Morley
200ff788f2
Bug 751539 - Disable test_played.html for too many intermittent failures
2013-01-10 14:59:26 +00:00
Marco Chen
8644a5cebe
Bug 823445 - Avoiding deadlocks and main-thread blockage on input streams, by not taking the lock in FileMediaResource::Close. r=roc, a=blocking-basecamp
2013-01-08 17:52:24 +08:00
Robert O'Callahan
2cb7eb188a
bug 824294. Check for null (destroyed) element just before we call PlaybackEnded on it. r=doublec
2013-01-05 17:00:42 +13:00
Chris Double
fc9352b6d6
Bug 825485 - AAC files don't play on B2G - r=cjones
2013-01-07 12:55:50 +00:00
Randell Jesup
4c28619417
Bug 826576: Stop LocalMediaStreams before Destroy r=roc
2013-01-06 21:31:34 -05:00
Randell Jesup
31f97be9e0
Bug 827007: Implement Stop for UserMediaStreams; add NotifyRemoved for MediaStream listeners r=roc
2013-01-06 21:31:30 -05:00
Robert O'Callahan
241adf9d26
Bug 822956. Part 2: Don't wrap getUserMedia's SourceMediaStream in a DOM object wrapper. Create an nsDOMUserMediaStream wrapper specifically to clean up the SourceMediaStream and the MediaInputPort. r=jesup
2013-01-04 12:16:32 -05:00
Randell Jesup
7ddd77aaa3
Bug 822956: convert to TrackUnionStreams for getUserMedia (and add hint support) r=roc
2012-12-19 02:07:37 -05:00
Michal Novotny
80c1dcd801
Bug 725993 - Remove usage of STORE_ON_DISK_AS_FILE flag in media cache, r=roc
2013-01-04 00:27:04 +01:00
Jacek Caban
0cf6fdf7bb
Bug 823921 - Fixed content/media/wmf compilation on mingw r=khuey
2013-01-02 18:26:08 +01:00
Masatoshi Kimura
ecc812a3c0
Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted
2013-01-03 00:56:38 +09:00
Robert O'Callahan
129c257dfe
Bug 814718. Explicitly store the blocking state that we last delivered to MediaStreamListeners. r=jesup
2013-01-02 14:49:18 +01:00
Randell Jesup
90c9997e1f
Bug 816664: wallpaper patch for negative delta times for video frames r=roc,derf
2012-11-30 03:08:17 -05:00
Randell Jesup
a2eb2a18b8
Bug 804760: Drop cached image when we stop capturing + debugs r=anant
2012-12-29 21:55:24 -05:00
Ms2ger
c2ee1dbbf0
Backout bug 814718, bug 717178 for exceptions in test_text.html on Windows.
2013-01-01 13:34:34 +01:00
Robert O'Callahan
f6b310a575
Bug 814718. Explicitly store the blocking state that we last delivered to MediaStreamListeners. r=jesup
2013-01-01 16:45:43 +13:00
Randell Jesup
42b9a000b3
Bug 811757: Allow the user to explicitly share devices between tabs r=anant
2012-12-31 18:12:12 -05:00
Josh Matthews
24b5b26242
Backed out changeset 7d6255d1c547 (bug 816664)
2012-12-28 19:03:48 -05:00
Randell Jesup
39a4dffd71
Bug 816664: wallpaper patch for negative delta times for video frames r=derf
2012-12-28 15:34:01 -05:00
Jacek Caban
ad804e6ec3
Bug 823924 - Don't hardcode system directory when loading WMF libraries r=paul
2012-12-27 15:03:55 +01:00
Jacek Caban
3f0a52b9e2
Bug 823921 - Replaced _com_ptr_t usage by RefPtr r=paul
2012-12-27 15:02:37 +01:00
Jacek Caban
317dd7fd26
Bug 823921 - Fixed GCC warnings r=paul
2012-12-26 11:27:28 +01:00
Chris Jones
347e4d552b
Bug 824230: Handle UNKNOWN_ERROR in OmxDecoder. r=doublec
2012-12-24 15:43:10 -08:00
Nicholas Nethercote
4a4db06c69
Bug 824397 - Use NS_ENSURE_{TRUE,FALSE,SUCCESS}_VOID(foo) instead of NS_ENSURE_{TRUE,FALSE,SUCCESS}(foo, ). r=derf.
2012-12-23 20:45:57 -08:00
Iordache Catalin
f392c41b51
Bug 821396 - Fix warnings in DASHDecoder.cpp and DASHRepDecoder.cpp. r=cpearce
2012-12-23 11:19:15 -05:00
Benoit Jacob
778b4c1b2b
Bug 802827 - report Stagefright feature in AppNotes - r=joedrew
2012-12-21 17:32:15 -05:00
Randell Jesup
da905bb932
Bug 822956: backout 3dead2094684 due to breaking normal PeerConnection cases rs=me
2012-12-20 14:23:55 -05:00
Matthew Gregan
b11cac8580
Bug 822952 - Dispatch events from UpdateReadyState only when the state has changed. r=roc
2012-12-19 17:48:32 +13:00
Randell Jesup
22b5286ab6
Bug 822956: convert to TrackUnionStreams for getUserMedia (and add hint support) r=roc
2012-12-19 02:48:12 -05:00
Ralph Giles
1f0e16ab42
Bug 816994 - Skip Opus packets with invalid lengths. r=derf
...
Reject Opus packets less than 2.5 ms or more than 120 ms
in length, which are invalid by the spec. Also explicitly
check for error after opus_packet_get_nb_frames() since
this could indicate the subsequent call to
opus_packet_get_samples_per_frame() call will segfault
because the packet buffer length is invalid.
Based on a patch by Tim Terriberry.
2012-12-11 11:25:10 -08:00
Chris Pearce
0c73f333b7
Bug 799315 - Use Windows Media Foundation to play back MP4, MP3 and M4A on Windows 7 and later (preff'd off). r=padenot
2012-12-18 21:49:58 +13:00
Chris Pearce
71d5b283dc
Bug 815748 - Add MP3 and M4A audio files to media test framework, use gizmo.mp4 instead of short.mp4 for sniffer test, since short.mp4 contained mpeg4 video rather than h.264. r=padenot
2012-12-18 21:38:37 +13:00
Chris Double
eb0f7251eb
Bug 821160 - Part1: Media plugin backend changes for Froyo support - r=cpeterson
2012-12-18 14:44:10 +13:00
Steve Workman
9a85897950
Bug 816741 - Add a callback function in WebMReader for nestegg logging r=kinetik
2012-12-17 14:26:55 -08:00
Ed Morley
be1ebedc9c
Remove spurious newline to fix bustage (no bug)
2012-12-17 13:36:11 +00:00
Ed Morley
0ae8955b65
Bug 814533 - Disable test_playback_rate.html on Linux for too many intermittent failures
2012-12-17 13:21:18 +00:00
Robert O'Callahan
7e94cbcffb
Bug 794426. Don't call StopAudioThread from the main thread when we start capturing audio to a MediaStream. Instead, let the state machine thread call StopAudioThread. r=cpearce
2012-12-04 23:59:36 +13:00
Jeff Walden
e0523203c9
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Chris Pearce
ba0ad968ae
Bug 821495 - Add cast to silence unnecessary data loss compile warning in AudioSampleFormat.h. r=kinetik
2012-12-14 12:11:50 +13:00
Steve Workman
a9d69b1969
Bug 820596 - Defend against nullptr calls to mDecoderStateMachine and mReentrantMonitor r=cpearce
2012-12-13 11:42:45 -08:00
Steve Workman
d35442c8ee
Bug 820588 - Aggregate and forward statistics in DASH decoder classes r=cpearce
2012-12-13 11:42:45 -08:00
Steve Workman
86cc6e7a4b
Bug 816726 - Add seeking capabilities to DASH-WebM code r=cpearce
2012-12-13 11:42:45 -08:00
Steve Workman
00b6d49a8c
Bug 816726 - Return timestamp in nestegg_get_cue_point to support DASH-WebM Seeking r=kinetik
2012-12-13 11:42:44 -08:00
Joel Maher
aee39bba84
Bug 820649 - disable 4 crashtests on Android so we can run C1 again. r=gbrown
2012-12-13 06:31:55 -05:00
Chris Double
e407b84c57
Bug 820661 - Implement support for libstagefright video decoding on HTC EVO Design Gingerbread Android phone - r=cpeterson
...
--HG--
extra : rebase_source : 366ebc9e9a3867edab439069094f21b8c8204174
2012-12-13 11:56:01 +13:00
Edwin Flores
b3e660b855
Bug 803394 - Provide a callback to media plugins to request video buffers owned by gecko r=doublec
...
--HG--
extra : rebase_source : e3cb97f3307b603bcdfcdbaeffd05a6e2af14097
2012-12-13 11:53:58 +13:00
Chris Jones
f5531b428a
Bug 819609: Don't try to send too-large videos to hardware video decoders. r=doublec a=blocking-basecamp
2012-12-10 23:48:58 -08:00
Chris Double
18a0d770ae
Bug 817478 - Part1: omx plugin changes for sony device support - r=cpeterson
...
--HG--
extra : rebase_source : fa7730805d5b47803226e43c6aab3d6dd074aadf
2012-12-11 09:52:46 +13:00
Chris Pearce
3540cbded9
Bug 815107 - Ensure AudioClock::mOldOutRate has sensible value, prevents audio clock position poisoning on one code path, and initialize AudioClock::mOldBasePosition to 0. r=padenot
2012-12-11 09:43:04 +13:00
Saurabh Anand
151d13c7a5
Bug 818817 - Fix some compiler warnings, r=Ms2ger
2012-12-09 22:53:19 +05:30
Paul Adenot
c38f98b92e
Bug 816949 - Remove IsSeekableInBufferedRange() methods as they are not needed anymore. r=cpearce
2012-12-07 14:30:03 +01:00
Robert O'Callahan
b515a2346e
Bug 816664. Don't call NotifyPull if we already have all the data buffered in the stream that we need. r=jesup
2012-12-08 00:06:55 +13:00
Marco Chen
84186b2d6e
Bug 815322 - Phone rings on incoming call will pause audio. r=kinetik, a=blocking-basecamp
...
1. Add a new audio channel type called ringer.
2. Add logic into AudioChannelService for ringer.
2012-12-06 17:11:19 +08:00