Ms2ger
a51e9be374
Bug 780387 - Part f: Stop using PRBool & PRPackedBool; r=bsmedberg
2012-08-09 09:10:13 +02:00
Ed Morley
a9fda23889
Backout ec46cfa51bf8, 4a54f06efee8, de811fbd27b0 & 67ea1314c777 (bug 567077) for causing bug 781141
2012-08-08 13:11:34 +01:00
Robert O'Callahan
7037667a9f
Bug 779721. Part 4: Fix lock ordering inversion when running control messages during a forced shutdown. r=jesup
2012-08-01 00:17:22 +12:00
Robert O'Callahan
c069a47ae8
Bug 779721. Part 3: Don't clean up streams on the MediaGraph thread during a forced shutdown. r=jesup
...
This is actually a better fix for bug 774597. We can rely on main thread code to call
Destroy on all the MediaStreams normally. These Destroy calls can be handled even when the
MediaGraph thread has been shut down, since MediaStreamGraphImpl::AppendMessage will
call RunDuringShutdown on the Destroy messages.
2012-08-09 23:29:47 +12:00
Robert O'Callahan
c9fbc641f1
Bug 779721. Part 2: Don't block a stream just because it has no consumers. r=jesup
...
There is actually no reason to do this.
2012-08-01 00:17:21 +12:00
Robert O'Callahan
78f550e377
Bug 779721. Part 1: Simplify MediaStreamGraph's invariants around when messages are processed. r=jesup
...
Rename mBlockingDecisionsMadeUntilTime to mStateComputedTime. The invariant is that
all graph state is known up to mStateComputedTime but not beyond it (except for some
stream contents that may be buffered beyond it).
Get rid of mMessageAffectedTime and all the code around computing "affected times" and "action times".
Instead, all messages take effect at mStateComputedTime.
Get rid of the two-phase execution of messages. Everything can just happen in a single Run() method.
2012-08-01 00:17:21 +12:00
Bobby Holley
943789da00
Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher
...
--HG--
extra : rebase_source : 1158df4a4eb917074204e649efd8f2b8e699f115
2012-08-03 22:19:54 +02:00
Paul Adenot
f1f8700189
Bug 567077 - Sniff types of media files that are served with no Content-Type -- Tests r=cpearce
2012-08-07 15:56:25 -07:00
Paul Adenot
73eea5d7e2
Bug 567077 - Avoid sniffing when recreating a channel. r=cpearce
2012-08-07 15:56:01 -07:00
Paul Adenot
5a763d83cf
Bug 567077 - Sniff types of media files that are served with no Content-Type r=cpearce
2012-08-07 15:54:30 -07:00
Paul Adenot
eb3129b6c8
Bug 775319 - Determine the sample format at compile time for all media code. r=kinetik
...
--HG--
extra : rebase_source : 4e8a2a4544895c9234ccd3992e1cafe82b8cf365
2012-08-07 16:01:02 -07:00
Paul Adenot
d8b9c5d56b
Bug 778902 - When a video finished playing, "pause" should be fired, and |paused| should be true. r=cpearce
...
--HG--
extra : rebase_source : 2866707bd6b61d0225952ff49b858011d79e04ed
2012-08-06 10:27:55 -07:00
Paul Adenot
247369a604
Bug 774084 - Fix a crash in nsBuiltinDecoder::GetSeekable. r=kinetik
...
--HG--
extra : rebase_source : f05e051cc9ab850381d138e944f2cc3ea5b3e2f7
2012-07-15 10:57:41 -07:00
Matthew Gregan
a0be501c49
Bug 779187 - Fix nsBufferedAudioStream's sample format selection for big endian machines. r=doublec
2012-08-06 15:26:41 +12:00
David Zbarsky
fe804d085c
[Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc
2012-08-05 23:00:56 -04:00
Mike Hommey
c1b35e7b2a
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ed Morley
7834e2c1f0
Bug 760770 - Mark test_timeupdate_small_files.html's "got unexpected stalled after ended" as todo for seek.webm, for frequent intermittent failures; r=cpearce
2012-08-03 11:28:12 +01:00
Ed Morley
25a45239b4
Bug 620598, Bug 661076 & Bug 687972 - Disable frequently intermittent media tests on Linux; r=cpearce
2012-08-03 11:28:12 +01:00
Robert O'Callahan
36e9494fb6
Bug 646331. Specify correct duration for 320x240.ogv. r=cpearce
2012-08-03 15:22:24 +12:00
Matthew Gregan
7825395ee4
Bug 779412 - Iterate over correct test array in test_info_leak. r=cpearce
2012-08-01 17:58:09 +12:00
Ehsan Akhgari
8c296bbcd4
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Chris Pearce
ee625140f8
Bug 778105 - Fix an nsOggReader::GetBuffered() return value type mismatch. r=doublec
2012-08-01 13:24:25 +12:00
Matthew Gregan
47efc774e3
Bug 761274 - Work around buffer sizing bug in PulseAudio ALSA plugin. r=doublec
2012-07-16 17:15:24 -04:00
Matthew Gregan
fea4fa6a84
Bug 768333 - nsBufferedAudioStream::GetPositionInFrames miscompiled with Win32 PGO. r=cpearce
2012-07-16 17:21:04 -04:00
David Zbarsky
fa3cb43e08
Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones
2012-07-30 17:42:26 -07:00
Ralph Giles
619fdc8bf8
Bug 763010 - Add a mochitest for mozGetMetadata(). r=cpearce
...
Add a few Ogg files which have non-trivial tag metadata in their Vorbis streams, and verify they are returned correctly by the media.mozGetMetadata() extention.
Add a file with no comments to test {} output as well.
Verify that mozGetMetadata() throws an InvalidStateError if called immediately, before the loadedmetadata event fires.
2012-07-30 20:14:29 -04:00
Ralph Giles
a81a17e866
Bug 763010 - Expose media element metadata. r=cpearce
...
Implements a media.mozGetMetadata() method returning a new javascript object whose properties are key value pairs respresenting metadata tags from the media resource. This data is available after readystate enters METADATA_LOADED.
Currently this is only implemented for Ogg Vorbis streams.
Media format metadata is parsed out by the media decoders. In the nsCodecStateMachine::ReadMetadata subclasses we fill in an nsDataHashtable pointer using the format-specifc api.
The hash pointer is passed up to the media element as part of the MetadataLoaded event.
The hash is deleted if the load is aborted. The audio metadata is also reset to zero (as in the constructor), resolving a todo comment.
2012-07-30 20:14:29 -04:00
Aryeh Gregor
2e7996f8d1
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Landry Breuil
88d4abfc50
Bug 777696: Fix gstreamer backend on big endian architectures. r=doublec
2012-07-30 17:57:15 +02:00
Ehsan Akhgari
c80897316e
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
17bdf11678
Bug 777292 - Annotate some incorrect conversions to nsresult; r=ehsan
2012-07-27 17:03:25 +03:00
Makoto Kato
3f38c4d3bc
Bug 777304 - Don't use freed pointer after destructor of NS_ConvertUTF16toUTF8. r=bsmedberg
2012-07-27 12:13:51 +09:00
Bugmenot
73e7dee094
Bug 777166 - Use CFLAGS from pkgconfig for system libvpx, r=derf
...
From c445b9ab36a0c79aa1be2dfbd91438e994bccb4e Mon Sep 17 00:00:00 2001
---
config/autoconf.mk.in | 2 +-
configure.in | 8 +++++---
content/media/webm/Makefile.in | 2 +-
3 files changed, 7 insertions(+), 5 deletions(-)
2012-07-25 19:54:23 +00:00
Matthew Gregan
fac533dad5
Bug 774901 - Don't recreate MediaResource channel during seek if resource is still suspended. r=roc
...
--HG--
extra : rebase_source : d6ee9bbc3b5705ca9006a7e0723021be5230fb52
2012-07-25 17:50:13 +12:00
Aryeh Gregor
0c8f5adf50
Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan
2012-07-20 14:16:17 +03:00
Robert O'Callahan
b88beb8a39
Bug 771135. Add MediaStreamListener::NotifyPull to give SourceMediaStream generators an easy way to implement pulling data from some source. r=jesup
2012-07-20 12:36:03 -07:00
Matthew Gregan
8c0319a11c
Bug 775170 - Use naming convention from coding style guide for static member of StateMachineTracker. r=doublec
...
--HG--
extra : rebase_source : 4dacfc1e600fe1ba00c16a235032f7e52a1cd10a
2012-07-18 13:26:24 -04:00
Ehsan Akhgari
a6b1e13a2d
Merge mozilla-central into mozilla-inbound
2012-07-19 08:44:19 -04:00
Ed Morley
e7ea406198
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-07-19 13:25:37 +01:00
Jacek Caban
6fa45a6330
Bug 472799 - Undefine GetCurrentTime in nsDOMMediaStream.h r=cpearce
2012-07-19 11:58:48 +02:00
David Zbarsky
7f0f075928
[Bug 774505] Don't include Layers.h everywhere r=cjones
2012-07-18 12:31:40 -04:00
Oleg Romashin
33a6ecb3a2
Bug 775257 - Gstreamer backend on Meego N9 produce extra noise in audio playback.r=giles
2012-07-18 22:46:11 -04:00
Ed Morley
a2bf606a9d
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-07-18 13:32:24 +01:00
Ms2ger
c41391ca15
Bug 756397 - Enable FAIL_ON_WARNINGS in content/media; r=cpearce
2012-07-18 12:36:08 +02:00
Robert O'Callahan
98cf4c17fa
Bug 774597. Avoid accessing MediaStreamGraphImpl members after the graph object may have been cleaned up by the main thread. r=jesup
...
--HG--
extra : rebase_source : 5f6c34855ad5df629c25d4b11f008b03cf2266ae
2012-07-18 01:02:06 -04:00
Rafael Ávila de Espíndola
59619ba083
Bug 775134 - Remove extra ; r=ehsan.
...
--HG--
extra : rebase_source : 1d44663679e8f1944649d54608e5e6e6694e88c5
2012-07-18 12:15:47 -04:00
Anant Narayanan
46105c0425
Bug 691234: Part 2/3: Implement WebRTC backend for MediaEngine on Desktop; r=jesup, r=roc
2012-07-12 04:53:08 -07:00
Anant Narayanan
cd0c2d2c24
Bug 691234: Part 1/3: Move MediaEngine files and tweak interface; r=roc
...
--HG--
rename : content/media/MediaEngine.h => content/media/webrtc/MediaEngine.h
rename : content/media/MediaEngineDefault.cpp => content/media/webrtc/MediaEngineDefault.cpp
rename : content/media/MediaEngineDefault.h => content/media/webrtc/MediaEngineDefault.h
2012-06-19 17:29:43 -07:00
Anant Narayanan
1c485e2a31
Backout 431ab4d097c9, bustage
2012-07-11 21:51:20 -07:00
Anant Narayanan
48dd6d6763
Backout 431ab4d097c9, bustage
2012-07-11 21:45:20 -07:00
Anant Narayanan
23c187f947
Backout 038e89521330, bustage
2012-07-11 21:44:16 -07:00
Anant Narayanan
dcad8dd933
Bug 691234: Part 2/3: Implement WebRTC backend for MediaEngine on Desktop; r=jesup, r=roc
2012-07-11 21:22:24 -07:00
Anant Narayanan
daa09588d5
Bug 691234: Part 1/3: Move MediaEngine files and tweak interface; r=roc
...
--HG--
rename : content/media/MediaEngine.h => content/media/webrtc/MediaEngine.h
rename : content/media/MediaEngineDefault.cpp => content/media/webrtc/MediaEngineDefault.cpp
rename : content/media/MediaEngineDefault.h => content/media/webrtc/MediaEngineDefault.h
2012-06-19 17:29:43 -07:00
Nathan Froyd
5b30baa4c3
Bug 370750 - consolidate mochitest files installation; r=glandium
...
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Matthew Gregan
a7e33bf074
Bug 695612 - Make nsRemoteAudioStream::Write block by waiting for acks from its parent. r=doublec
2012-07-02 16:59:43 +12:00
Ehsan Akhgari
6ef72aef93
Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions
2012-07-03 20:24:55 -04:00
David Zbarsky
cd3c58ee76
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Matt Woodrow
1f0dbc7c74
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
Chris Pearce
5dca73c48d
Bug 762191 - Make video controls mute/volume widgets do nothing if the video doesn't have audio. r=jaws
2012-06-28 17:31:09 +12:00
Ralph Giles
62f6aacafd
Bug 766331 - Don't rescan old data for Ogg timestamps - r=cpearce
...
nsOggReader::RangeEndTime() relied on CRC values from valid ogg
pages to keep track of already-searched data when looking for a
end timestamp. This caused quadratic behaviour searching in a
section of a file with no valid pages.
Instead, remember where we last looked, and backoff immediately
if we go more than the maximum length of a page into previously
scanned data. This avoids searching data we've eliminated as
containing valid Ogg pages and lets us search backward with O(N)
instead.
2012-06-25 09:38:56 -07:00
Robert O'Callahan
99b99a420e
Bug 752796. More logging. r=jesup
2012-06-22 22:51:04 +12:00
Mounir Lamouri
1f70fdd32a
Back out bug 766007, bug 703241 and bug 752796 due to perma-orange (419f0d1b848b to 8661c74deeb5).
2012-06-22 11:13:32 +02:00
Robert O'Callahan
53fe336e33
Bug 752796. Add a bit more logging. r=jesup
2012-06-22 17:07:41 +12:00
Paul Adenot
8a6d5f1515
Bug 761419 - Build failure in content/media/gstreamer/nsGStreamerReader.cpp when using clang r=kinetik
2012-06-21 20:44:39 -04:00
Ehsan Akhgari
aef7f91aa1
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (content parts); r=bzbarsky
...
--HG--
extra : rebase_source : e25a064995914ca4f7b1db16b5725eb440d3e531
2012-06-18 22:30:09 -04:00
Matthew Gregan
af06cd9d7b
Bug 765524 - Register PrefChanged for CUBEB_LATENCY_MS. r=cpearce
2012-06-17 14:13:22 +12:00
Joel Maher
02865e954c
Bug 761125 - change mochitests to run all tests except excludedtests in android.json. r=jgriffin
2012-06-14 09:01:23 -04:00
Honza Bambas
f29e1ac591
Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium
2012-06-12 19:06:20 +02:00
Ed Morley
7d13aab294
Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms
2012-06-11 10:08:32 +01:00
Matt Woodrow
5076b975a0
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
...
* * *
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
* * *
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
* * *
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
* * *
Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt
* * *
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
* * *
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
* * *
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-06-11 16:45:30 +12:00
Michael Wu
539066cff5
Bug 759013 - Convert more makefiles to use TEST_DIRS, r=khuey
2012-05-27 23:25:22 -04:00
Anant Narayanan
8fbc325351
Bug 738528: Android still image support for getUserMedia r=sicking, r=jesup (plus bustage fix r=jesup)
2012-06-05 08:53:00 -04:00
Benoit Jacob
b9b6ba191f
Bug 759221 - 6/6 - disable failing media tests on Android - r=jmaher
2012-06-08 13:41:45 -04:00
Benoit Jacob
c0d24546d0
Bug 759221 - 2/6 - don't use file URIs in Android mochitests - r=jmaher
2012-06-08 13:41:38 -04:00
Anant Narayanan
4b1afd8829
Backout e8364adb4fd8, build bustage on Android (Bug 738528)
2012-06-08 17:17:52 -07:00
Anant Narayanan
48eea0d084
Bug 738528: Android still image support for getUserMedia; r=sicking, r=jesup
2012-06-05 08:53:00 -07:00
Matt Brubeck
c4a437e09c
Back out bug 759221 and bug 761326 because of media test failures
2012-06-08 12:20:14 -07:00
Benoit Jacob
1ae3924f8a
Bug 759221 - 6/6 - disable failing media tests on Android - r=jmaher
2012-06-08 13:41:45 -04:00
Benoit Jacob
644824e9de
Bug 759221 - 2/6 - don't use file URIs in Android mochitests - r=jmaher
2012-06-08 13:41:38 -04:00
Matthew Gregan
d90bbfc34b
Bug 723860 - Early bail from reader's GetBuffered() if not yet initialized. r=doublec
2012-06-06 17:58:07 +12:00
Paul Adenot
2a87e1ad04
Bug 760336 - Set nsBuiltinDecoderStateMachine::mBufferingWait to be seconds instead of milliseconds r=chris.double
2012-06-07 11:43:25 +12:00
Paul Adenot
0f761e6f39
Bug 761708 - Wrong |played| value when seeking back in the media. r=chris.double
2012-06-07 11:43:13 +12:00
Ms2ger
f696a656cc
Bug 760156 - Cleanup LOCAL_INCLUDES in content/media/; r=sicking
...
This patch makes it possible to include nsGenericHTMLElement.h without adding
to LOCAL_INCLUDES.
2012-06-06 09:40:02 +02:00
Geoff Lankow
1214b72681
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Stephen Moehle
0f2f68b13e
Bug 760899 - Fix debug builds with gstreamer enabled - r=kinetik
...
--HG--
extra : rebase_source : 22598bc470d35d94991ea9f1b14df11ba19a461a
2012-06-05 11:32:36 +12:00
Stephen Moehle
f4cbb185ec
Bug 761030 - Fix crash with HTML 5 video with GStreamer enabled - r=kinetik
...
--HG--
extra : rebase_source : 5e884550f9870bd2fda247d50bebd472e8368588
2012-06-05 11:31:13 +12:00
Mounir Lamouri
b8c3ee50da
Backing out bug 738528 pushed without a peer review and with wrong authorship.
2012-06-04 10:57:42 +02:00
Doug Turner
7878db4584
Bug 738528: Android still image for getUserMedia; r=fabrice
2012-05-31 10:28:04 -07:00
Timothy B. Terriberry
ecec43fc18
Bug 750231 - Use larger stacks on the media decoder threads with ASAN, r=kinetik
2012-06-03 12:43:09 -07:00
Anant Narayanan
b15cfc63f1
Bug 752353: DOM bindings for getUserMedia; r=jst
...
--HG--
rename : content/media/nsIDOMMediaStream.idl => dom/media/nsIDOMMediaStream.idl
2012-06-03 00:35:15 -07:00
Anant Narayanan
4d76d2c4fb
Bug 752351: Implement fallback media engine; r=jesup
2012-06-03 00:34:40 -07:00
Anant Narayanan
53849a310c
Bug 750943: Abstract media engine interface for devices; r=jesup
2012-06-03 00:34:02 -07:00
Timothy B. Terriberry
d3be27c800
Bug 752661 - Make ReadMetadata() fail when there are no active Ogg streams, r=kinetik
2012-06-02 06:29:44 -07:00
Mats Palmgren
0beb1b04bd
Bug 760325 - Report all events after 'ended' as test failures, except when removing the element we ignore timeupdate/pause/stalled events. Use info() for logging, not ok(). r=roc
2012-06-01 20:52:37 +02:00
Mats Palmgren
4b7f75a2b4
Bug 759801 - Remove the 'timeupdate' event listener when the test is done. r=philor
2012-06-01 20:52:37 +02:00
Matthew Gregan
91f507b9f0
Bug 760364 - Fix comments referring to long-removed audio monitor. r=roc
2012-06-01 18:44:38 +12:00
Matthew Gregan
8b761ae42e
Bug 757707 - Avoid holding nsBufferedAudioStream locks over calls into cubeb. r=roc
2012-06-01 16:45:01 +12:00
Robert O'Callahan
15a11a1162
Bug 759908. Create MediaStreamListener::NotifyConsumptionChanged. r=jesup
...
--HG--
extra : rebase_source : f9479b836ec92170782eb01ea8b97004b057ceb7
2012-06-01 18:26:17 +12:00
Chris Double
cdfcde6a3f
Bug 759948 - libstagefright based media playback doesn't receive ended event when complete on B2G - r=edwin
...
--HG--
extra : rebase_source : a6450eb3a2fbb2ac67e329fa9ef9f0bd9e801e89
2012-06-01 12:54:52 +12:00