Robert O'Callahan
11d43656a8
Bug 750769. Add logging code to dump events for diagnosis. r=cpearce
2012-05-04 17:05:42 +12:00
Ed Morley
98aa4a8530
Merge mozilla-central to mozilla-inbound
2012-08-09 12:51:21 +01:00
Robert O'Callahan
e24a2e411e
Bug 779721. Part 6: Add a flag to track whether the main thread has called Destroy on a stream, and check that flag when sending a message to it. r=jesup
2012-08-09 23:30:09 +12:00
Robert O'Callahan
8184332b0d
Bug 779721. Part 5: Add a comment explaining more about how MediaStream lifetimes are managed. r=jesup
2012-08-09 23:30:02 +12:00
Robert O'Callahan
481c2bc36d
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
535a1d2f48
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
cd7044913d
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
e77b4d50d2
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
Paul Adenot
886438d841
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
7d605f68fd
Bug 567077 - Avoid sniffing when recreating a channel. r=cpearce
2012-08-07 15:56:01 -07:00
Paul Adenot
a769fb1ee2
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
c09844be30
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
8e8a009e3b
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
a9f1585235
Bug 774084 - Fix a crash in nsBuiltinDecoder::GetSeekable. r=kinetik
...
--HG--
extra : rebase_source : f05e051cc9ab850381d138e944f2cc3ea5b3e2f7
2012-07-15 10:57:41 -07:00
David Anderson
ba81f28215
Merge from mozilla-central.
...
--HG--
rename : accessible/src/base/nsFormControlAccessible.cpp => accessible/src/generic/FormControlAccessible.cpp
rename : accessible/src/base/nsFormControlAccessible.h => accessible/src/generic/FormControlAccessible.h
rename : accessible/src/html/nsHTMLFormControlAccessible.cpp => accessible/src/html/HTMLFormControlAccessible.cpp
rename : accessible/src/html/nsHTMLFormControlAccessible.h => accessible/src/html/HTMLFormControlAccessible.h
rename : accessible/src/xul/nsXULFormControlAccessible.cpp => accessible/src/xul/XULFormControlAccessible.cpp
rename : accessible/src/xul/nsXULFormControlAccessible.h => accessible/src/xul/XULFormControlAccessible.h
2012-04-18 10:23:31 -07:00
Robert O'Callahan
79c8950b59
Bug 784829. Initialize mIsConsumed at the start of every pass to determine what's consumed. r=jesup
...
Also, might as well set mIsConsumed on every stream.
2012-08-29 23:20:45 +12:00
Matthew Gregan
2152e9f321
Bug 742154 - Work around media crashtest shutdown hang in cubeb_winmm. r=cpearce
2012-04-16 15:00:40 +12:00
Matthew Gregan
71f3aee6c9
Bug 723793 - Lazily initialize libcubeb on first use. r=roc
2012-04-16 15:00:12 +12:00
David Anderson
866465c6c3
Merge from mozilla-central.
...
--HG--
rename : accessible/src/base/nsOuterDocAccessible.cpp => accessible/src/generic/OuterDocAccessible.cpp
rename : accessible/src/base/nsOuterDocAccessible.h => accessible/src/generic/OuterDocAccessible.h
rename : accessible/tests/mochitest/test_nsOuterDocAccessible.html => accessible/tests/mochitest/test_OuterDocAccessible.html
2012-04-06 16:38:53 -07:00
Randell Jesup
63dafade33
Bug 752087: Use correct method to check is a jsval is an object r=roc
2012-05-07 18:54:29 -04:00
Daniel Holbert
e94c8d2785
Bug 664918 followup: Add missing */ terminator on emacs modeline in header comment for new file StreamBuffer.cpp. (no review, comment-only) DONTBUILD
2012-05-07 11:22:44 -07:00
Chris Pearce
b2d3ca928b
Bug 752141 - Release media decoder monitor when finishing audio stream. r=kinetik
2012-05-07 17:12:52 +12:00
Robert O'Callahan
9d526acea3
Bug 750258. Fix bustage.
2012-05-07 15:57:52 +12:00
Robert O'Callahan
6dc32e9284
Bug 750258. Set intial audio capture state correctly on mDecoderStateMachine. r=cpearce
...
For media resources whose streams are captured before the load has started, we shouldn't even start
an audio thread. This saves a lot of resources and ensures we don't see races between the audio thread
and the code that copies packets from the audio queue to the MediaStreams.
2012-05-07 15:45:06 +12:00
Robert O'Callahan
16d731f0aa
Bug 750258. Advance mBlockingDecisionsMadeUntilTime to include time lost when the media graph control thread was stopped and all streams had underruns. r=jesup
...
The first part just handles the case where nsAudioStream failed to allocate a stream. It won't be playing
anything, so instead of trying to get the audio position, just fall back to the media graph current time.
Otherwise GetPositionInFrames returns -1 and things go badly from there.
The second part simplifies the calculation of the next mCurrentTime to just make it based on real time.
We had some code to not let it advance past the end of a stream's buffer, but the next part will make that
unnecessary.
The third part is the real fix. When the new current time has advanced past mBlockingDecisionsMadeUntilTime,
that means the control loop didn't run in time to replenish the audio output buffers and keep up with its
other duties. Effectively all streams have been blocked between mBlockingDecisionsMadeUntilTime and
the new current time. Account for that by adding the difference as extra blocked time for every stream.
We only need to ensure that the stream is marked blocked from mBlockingDecisionsMadeUntilTime indefinitely
far into the future, and then update mBlockingDecisionsMadeUntilTime to the new current time, because the
code takes into account that only blocking decisions up to mBlockingDecisionsMadeUntilTime are valid.
2012-05-07 15:44:41 +12:00
Matthew Gregan
e80c8caef9
Bug 747793 - Use a ring buffer for audio buffered by nsBufferedAudioStream. Remove generic sample copy out with volume adjustment and replace with the lightly optimized version from nsNativeAudioStream. Add a fast path for the unity volume case. Bump cubeb's refill thread priority on Win32. r=cpearce
2012-05-03 16:48:54 +12:00
Ralph Giles
adbf7a2878
Bug 752234 - Guard nsOpusState::Time against inactive streams. r=cpearce
...
Fix a crash loading opus files when the media.opus.enabled pref is
false. The buffering code still tries to call our Time() method,
but without having read the headers we cannot perform the
conversion.
This commit adds a guard on mActive like the other ::Time
methods use.
2012-05-05 09:55:29 -07:00
Robert O'Callahan
0b11491ced
Fix bustage for bug 755533
2012-05-28 11:08:59 +12:00
Chris Pearce
6945d848be
Bug 755533 - Ensure we fire canplaythrough if the media's channel is suspended before metadata is loaded. r=roc
2012-05-28 10:40:06 +12:00
David Anderson
1c41bdff39
Merge from mozilla-central.
2012-04-03 17:54:29 -07:00
Robert O'Callahan
a180656367
Bug 750163. MediaStreamGraphImpl::UpdateBufferSufficiencyState should skip tracks whose creation is pending --- there is no Track object for them yet. r=jesup
2012-04-30 17:23:00 +12:00
Robert O'Callahan
67f781f9fb
Bug 664918. Part 12: Finish SourceMediaStreams when the media decoder is destroyed, to avoid late low-audio/low-video notifications and issues when multiple decoders write to the same stream. r=cpearce,rjesup
2012-04-30 15:13:42 +12:00
Robert O'Callahan
9c92e7c20b
Bug 664918. Part 11: Refactor code around mDecoder->Shutdown() to make following fix easier. r=cpearce
2012-04-30 15:13:09 +12:00
Robert O'Callahan
25f6dcb4b1
Bug 664918. Part 10: Add test_streams_element_capture.html to test capturing a media element into a stream and playing that stream through another media element.
...
The test also tests that capturing MediaStream video into a canvas works.
2012-04-30 15:13:01 +12:00
Robert O'Callahan
7f8bbe9275
Bug 664918. Part 9: Tentative support for MediaStreamListener::NotifyQueuedTrackChanges. r=jesup
2012-04-30 15:12:50 +12:00
Robert O'Callahan
c3c1a7aa31
Bug 664918. Part 8: Add mozCaptureStream()/mozCaptureStreamUntilEnded() APIs to HTML media elements, returning a MediaStream representing the contents of the media element. r=cpearce,jesup
...
This is currently not fully functional. The MediaStream always ends when the underlying resource ends. You can't use these APIs on a media element
whose src is a MediaStream. Seeking or pausing the resource will cause problems. The media element does not play back in sync with the MediaStream.
2012-04-30 15:12:42 +12:00
Robert O'Callahan
587d304a70
Bug 664918. Part 5: Create SourceMediaStream, a MediaStream with an API allowing data to be injected into it by some source. r=jesup
2012-04-30 15:11:40 +12:00
Robert O'Callahan
500533126c
Bug 664918. Part 4: Create nsDOMMediaStream, a DOM object wrapping an underlying MediaStream. r=smaug,jesup
2012-04-30 15:11:34 +12:00
Robert O'Callahan
a9019ef530
Bug 664918. Part 3: Create MediaStream and MediaGraphManager for internal management of real-time media processing. r=jesup
2012-04-30 15:11:26 +12:00
Robert O'Callahan
baab5848f3
Bug 664918. Part 2: Create MediaSegment, AudioSegment and VideoSegment classes to manage intervals of media data. r=jesup
...
Also introduces a SharedBuffer class, representing a blob of binary data with threadsafe refcounting.
2012-04-30 15:11:19 +12:00
Robert O'Callahan
bef5a47982
Bug 664918. Part 1: Create TimeVarying<T> class to represent values that change over time. r=jesup
2012-04-30 15:11:08 +12:00
Robert O'Callahan
49291bbea8
Bug 664918. Part 0: Refactor nsMediaCache's handling of principals into a helper method in nsContentUtils. r=bzbarsky
2012-04-30 15:11:00 +12:00
Paul ADENOT
7315f8263d
Bug 480376 - Implement mozHasAudio to indicate when there's no audio track available. r=cpearce
2012-04-28 11:01:10 -04:00
Daniel Holbert
fade4715b7
Bug 664918 followup: Add missing */ terminator on emacs modeline in header comment for new files nsDOMMediaStream.cpp and MediaStreamGraph.cpp. (no review, comment-only) DONTBUILD
2012-05-11 10:35:36 -07:00
Masatoshi Kimura
473d12ee2a
Bug 745498 - Add testcases for DOM4 exception types. r=sicking
2012-04-26 09:42:26 -07:00
Nicholas Nethercote
43f329dbbd
Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar.
...
--HG--
extra : rebase_source : f700733d8aa1aed1ae1f9206b4ee9063f9a03341
2012-04-09 22:52:33 -07:00
Paul ADENOT
47bc5ed443
Bug 462960 - Add tests for the played member. r=cpearce
2012-04-30 20:29:29 -04:00
Chris Pearce
6f604f18e9
Bug 741052 - Null check nsMediaCache::mFileCache in nsMediaCache destructor. r=roc
2012-04-02 10:34:11 +12:00
Christopher De Cairos
b40034d6f4
Bug 736400 - Make each decoder Clone() method check if its mimetype is enabled. r=cpearce
2012-03-30 20:52:07 -04:00
Doug Sherk
49b7c05e20
Bug 751539: fix test to avoid timeout r=cpearce
2012-05-03 14:12:36 -07:00
Ralph Giles
b6f1345f82
Bug 674225 - Add basic mochitests for Opus. r=cpearce
...
Add a short Ogg Opus file to the content/media/test
directory and add it to the gSeekTests, gSmallTests,
and gPlayTests in manifest.js. This file is crafted
to end on a packet boundary, so trimming to duration
is not verified.
Set the media.opus.enabled pref to true in manifest.js
so the various tests using the opus file succeed.
Add a stanza to can_play_type_ogg.js to test the
behaviour of canPlayType with an opus-specific
media type for both values of the pref.
Add support for the .opus filename extension to
the mochitest http server.
2012-05-01 17:29:42 -07:00
Ralph Giles
64ef2c566d
Bug 674225 - Add Opus support to nsOggReader. r=cpearce
...
Parse and decode Opus streams embedded in the Ogg
container. Based on the draft specification from
https://wiki.xiph.org/OggOpus
Support is conditional on the runtime preference
setting media.opus.enabled, which is false by
default until we're confident the spec is stable
and useful.
This patch doesn't support the gain header or
multichannel files.
The LEUint*() functions from the skeleton parser
are used to read the multi-byte header fields.
This requires moving them to earlier in the file.
Mappings for the .opus filename extension are also
added to facilitate testing with local files.
2012-05-01 17:29:34 -07:00
David Anderson
e0b1eab9e0
Merge from mozilla-central.
2012-03-30 18:40:08 -07:00
David Anderson
e827c4ab0d
Merge from mozilla-central.
...
--HG--
rename : toolkit/components/places/tests/unit/test_favicons.js => toolkit/components/places/tests/favicons/test_favicons.js
2012-03-20 14:43:39 -07:00
Chris Pearce
c3c6b8c99e
Bug 736342 - Defer media cache writes and block moves to a non-main thread. r=roc
2012-03-28 13:04:26 +13:00
Chris Pearce
a4302efd2e
Bug 736342 - Add AsyncBlockWriter, which defers file writes to another thread. r=roc
2012-03-28 13:04:20 +13:00
Nathan Froyd
8c5b9206cd
Bug 739962 - fix -Wunused-but-set-variable warnings in content; r=bent
2012-03-28 09:14:33 -04:00
David Anderson
952c9edc86
Merge from mozilla-central.
...
--HG--
rename : js/src/jsfun.cpp => js/src/vm/ArgumentsObject.cpp
2012-03-19 14:13:34 -07:00
Robert O'Callahan
1e73b1f546
Bug 646331. Fix duration of big.wav. r=cpearce
2012-03-19 12:36:06 +13:00
Robert O'Callahan
5bfbed0b5b
Bug 712836. Make MediaResources which have ended abnormally ineligible for cloning. r=cpearce
2012-03-20 20:55:40 +13:00
David Anderson
fc580d8237
Merge from mozilla-central.
2012-03-13 16:10:05 -07:00
David Anderson
9424c0dc1d
Merge from mozilla-central.
2012-03-09 13:37:58 -08:00
David Anderson
cadc3b6c68
Merge from mozilla-central.
...
--HG--
rename : intl/locale/public/nsICharsetAlias.h => intl/locale/public/nsCharsetAlias.h
rename : intl/locale/src/nsCharsetAliasImp.cpp => intl/locale/src/nsCharsetAlias.cpp
2012-03-05 17:50:51 -08:00
Matthew Gregan
7303be8ad0
Bug 693021 - Back out the incorrect removal of bug 673698's fixed.
2012-03-05 19:19:45 +13:00
David Anderson
4eb79f874a
Merge from mozilla-central.
...
--HG--
rename : browser/base/content/syncAddDevice.js => browser/base/content/sync/addDevice.js
rename : browser/base/content/syncAddDevice.xul => browser/base/content/sync/addDevice.xul
rename : browser/base/content/syncNotification.xml => browser/base/content/sync/notification.xml
rename : browser/base/content/syncSetup.js => browser/base/content/sync/setup.js
rename : browser/base/content/syncSetup.xul => browser/base/content/sync/setup.xul
2012-03-01 13:45:48 -08:00
David Anderson
1381532225
Merge from mozilla-central.
2012-02-27 12:40:46 -08:00
Chris Double
8b2e2abfcc
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
Andreas Gal
3c320eb743
Bug 714408 Part 2 - Media plugin support for libstagefright - r=doublec
...
--HG--
extra : rebase_source : 308d1aab3cfffbb7ddeb0602a3991565603e6212
2012-06-01 12:54:23 +12:00
Timothy B. Terriberry
be06d81459
Bug 751219 - Support header gain in Opus files, r=kinetik
2012-05-31 11:13:17 -07:00
Timothy B. Terriberry
87b5e2c9ef
Bug 759612 - Update granule position accounting for Opus, r=kinetik
2012-05-31 11:13:17 -07:00
Timothy B. Terriberry
c59add4dfa
Bug 759399 - Handle preroll correctly during an Opus seek, r=doublec
2012-05-31 11:13:17 -07:00
Timothy B. Terriberry
61396f0581
Bug 759490 - Use Opus streams when seeking in Ogg, if present, r=doublec
2012-05-31 11:13:11 -07:00
David Anderson
2b23d58883
Merge from mozilla-central.
2012-02-23 11:35:56 -08:00
David Anderson
659e8476ba
Merge from mozilla-central.
2012-02-22 19:25:06 -08:00
Matthew Gregan
b6594a89ec
Bug 634564 - Re-enable test_closing_connections.
2012-02-27 12:51:52 +13:00
Matthew Gregan
4bf67123b1
Bug 634564 - Don't reset load-in-background flag when moving completed media load into the foreground. r=cpearce
2012-02-24 14:07:35 +13:00
David Anderson
7164dd290b
Merge from mozilla-central.
2012-02-21 15:08:22 -08:00
Ms2ger
052141e960
Bug 726416 - Fix some content/ build warnings; r=mounir
2012-02-21 10:34:01 +01:00
Matthew Gregan
773e022390
Bug 693021 - Bail from AdvanceFrame early if no longer playing. r=cpearce
2012-03-05 15:27:49 +13:00
David Seifried
e8d2c835e3
Bug 680321 - Media preload state should reset in resource selection algorithm. r=cpearce
2012-02-20 10:02:08 +13:00
Masatoshi Kimura
d7e66cef1d
Bug 720208 - Implement DOM4 DOMException types and codes. r=smaug,ms2ger
2012-02-23 01:34:14 +01:00
David Anderson
ef75e63bd5
Merge from mozilla-central.
2012-02-16 15:06:30 -08:00
Robert O'Callahan
affe790e91
Bug 727694. Set up new mDecoderStateMachine with any preset initial volume. r=cpearce
2012-02-16 17:17:36 +13:00
David Anderson
658b67d9ea
Merge from mozilla-central.
...
--HG--
rename : content/media/nsMediaStream.cpp => content/media/MediaResource.cpp
rename : content/media/nsMediaStream.h => content/media/MediaResource.h
2012-02-15 13:45:39 -08:00
Robert O'Callahan
9152e8f482
Backing out parts 6 and 7 of bug 779715 (5a87f1d1807d, 5a87f1d1807d) due to crashtest orange.
...
--HG--
extra : rebase_source : bb7acb9958452850bd9d36f8e58f956d065d4935
2012-08-21 00:44:32 +12:00
Robert O'Callahan
9c83e95b7a
Bug 779715. Part 7: Update test_streams_element_capture_reset.html to test new functionality. r=cpearce
...
test_streams_element_capture_reset.html is updated to test that mozCaptureStreamUntilEnded actually stops
capturing when the stream ends. It also tests that seeking and reloading the media resource keep
feeding a mozCaptureStream stream, and feed the right amount of data.
--HG--
extra : rebase_source : 6d9e9631516cebbde148d301050c388e0e0019a8
2012-08-20 16:57:12 +12:00
Robert O'Callahan
260620f661
Bug 779715. Part 6: Rework capturing MediaStreams from media elements to use TrackUnionStreams. r=cpearce,jesup
...
Moves to a new setup where a decoder manages a single SourceMediaStream internally. Each stream
returned from mozCaptureStream(UntilEnded) is a TrackUnionStream which is fed by the
decoder's SourceMediaStream.
We want the captured streams to be blocked while the media element is not playing. We do that
by blocking any captured stream that has no SourceMediaStream feeding into it, and blocking
any SourceMediaStream while its decoder is not playing.
We arrange for the decoders's PlaybackEnded to be delayed until its SourceMediaStream has
finished according to the media stream graph. This ensures the state of captured media streams
corresponds more closely to the media element state.
--HG--
extra : rebase_source : a301714fad57a3b7c963530a3da99c54bc8ac436
2012-08-01 00:17:22 +12:00
Robert O'Callahan
e2bfc32abd
Bug 779715. Part 4: Play all tracks of a media stream with multiple tracks. r=jesup
...
Until now we've identified the "first active track" of a stream and played only that. Instead,
it makes more sense to play all the tracks.
For video, we pick the last track that has a video frame for the current time, and display that.
--HG--
extra : rebase_source : 00ce3eb363df06c292232aa507e861639d10cff2
2012-08-01 00:17:22 +12:00
Robert O'Callahan
8302d30313
Bug 779715. Part 3: Add an API to get notifications of changes to the main-thread-visible state of a MediaStream. r=jesup
...
--HG--
extra : rebase_source : 24b7204d219612760b9d159fff5219c1960df51a
2012-08-20 16:20:44 +12:00
Robert O'Callahan
72be07d3c6
Bug 779715. Part 2: Create TrackUnionStream. r=jesup
...
--HG--
extra : rebase_source : 29038fa1b93dcade3d762537bf510dc0901a9738
2012-08-01 00:17:21 +12:00
Robert O'Callahan
4bdf74085e
Bug 779715. Part 1: Add basic support for ProcessedMediaStreams. r=jesup
...
The main thing this patch does is to add ProcessedMediaStream objects and
MediaInputPorts connecting streams. ProcessedMediaStreams are an abstract
class that doesn't constrain what processing is actually performed, except
that for now we assume a stream's processing depends only on its inputs
window of data between mCurrentTime and mStateComputedTime.
This patch reorganizes the way the blocking status of each stream is computed.
The streams are partitioned into groups so that every stream which can affect
the blocking status of another stream is in the same group as that other stream.
We also add a pass to order the streams by dependency so we can process the streams
in order of dependency; this pass also identifies the streams that form part of a
cycle.
--HG--
extra : rebase_source : c45c931a264e73f295642a934500bbeaa6448774
2012-08-01 00:17:21 +12:00
Matthew Gregan
e688db2834
Bug 783940 - Remove unnecessary nsOggDecoderStateMachine class. r=cpearce
2012-08-20 15:59:25 +12:00
Matthew Gregan
e0e00e38c6
Bug 783179 - Remove unused mCbCrSize and mCbCrBuffer members from nsBuiltinDecoderStateMachine. r=doublec
2012-08-16 18:07:26 +12:00
Matt Woodrow
7cf26992d4
Bug 782372 - Fix clang build. r=nical
2012-08-20 14:39:10 +12:00
Matthew Gregan
0b62b1a805
Bug 780490 - Re-enable test_seek, test_seek_out_of_range, and test_timeupdate_small_files on Linux. (Also bug 780491 and bug 780492). Test only.
2012-08-20 12:10:05 +12:00
Nicolas Silva
75542595f3
Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard
2012-08-19 15:33:25 -04:00
Chris Jones
54174e2c2c
Bug 776069: Disable remote audio for gonk. Sigh. r=kinetik
2012-08-18 16:14:37 -07:00
Ed Morley
697d127b71
Bug 608634 - Disable test_error_in_video_document.html for too many intermittent failures; r=philor
2012-08-18 23:59:34 +01:00
Paul Adenot
04b108ec2f
Bug 762282 - Don't notify the HTMLMediaElement if we reach the end of the media while seeking for metadata. r=chris.double
2012-08-17 10:01:08 -07:00
Matthew Gregan
42b0bb67aa
Bug 782876 - Remove unnecessary returns from event handlers in media tests. r=doublec
2012-08-15 16:41:24 +12:00
Matthew Gregan
7659ff2cc9
Bug 770945 - Simple media events shouldn't be cancelable. r=roc
2012-08-14 15:26:43 +12:00
Robert O'Callahan
872bbcb297
Bug 726889. Rename nsMediaStream/nsMediaChannelStream/nsMediaFileStream to mozilla::MediaResource/ChannelMediaResource/FileMediaResource. Also rename nsByteRange to mozilla::MediaByteRange and nsChannelStatistics to mozilla::MediaChannelStatistics. Rename GetStream to GetResource and various other mentions of 'stream' to 'resource'. r=cpearce
...
--HG--
rename : content/media/nsMediaStream.cpp => content/media/MediaResource.cpp
rename : content/media/nsMediaStream.h => content/media/MediaResource.h
2012-02-15 17:35:01 +13:00
Robert O'Callahan
3bf55cada3
Bug 708116. Factor out logic for updating the current frame of a video element into a helper object. r=doublec
2012-02-15 17:35:01 +13:00
Veeraya Pupatwibul
344b2b1753
Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger
2012-04-04 11:15:10 +02:00
Robert O'Callahan
ae79119ea5
Bug 750258. Small cleanup to make it more obvious why mCurrentTime is initialized to 1. r=jesup
2012-05-10 15:30:34 +12:00
Robert O'Callahan
a869c9552f
Bug 750769. Dump currentTime/paused/ended/readyState on every event. r=cpearce
2012-05-10 15:30:34 +12:00
Robert O'Callahan
e8a9ceb920
Bug 752784. Don't mess with tracks we haven't initialized yet. r=cpearce
2012-05-10 15:30:34 +12:00
Zack Weinberg
57d7c99353
Bug 682141 band-aid: add another todo missed the first time. r=cpearce
...
--HG--
extra : rebase_source : 3f2cf0c4a67ec8dfbc85715c0a9dbb31e8698cba
2012-02-05 20:32:43 -08:00
Ehsan Akhgari
5af9f61b94
Merge mozilla-central into birch
2012-04-19 10:03:36 -04:00
Ehsan Akhgari
b1994ec7bb
Bug 722981 - Flush the media cache when the last private browsing window is closed; r=roc
2012-04-16 23:16:47 -04:00
Alessandro Decina
7280dac94a
Bug 422540 - GStreamer backend for audio/video decoding. r=cdouble, a=npotb
2012-04-18 18:33:13 -04:00
Daniel Holbert
0d30757e43
Bug 745272: Replace comparison of unsigned value >=0 with a useful comparison. r=humph r=cpearce
2012-04-16 14:29:14 -07:00
Ching Wei Tseng
b369406826
Bug 601535 - content/media should use CheckedInt.h. r=doublec
2012-02-22 13:28:06 +01:00
Abhishek Bhatnagar
09998c87c1
Bug 620164 - Remove CheckedInt and Muloverflow from nsTheoraState::MaxKeyframeOffset. r=cpearce
2012-04-11 07:44:28 -04:00
Benoit Jacob
6de3cc03da
Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
...
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Chris Pearce
34453514e9
Bug 726400 - Backed out changeset 4ad6c040729f. r=backout.
2012-03-26 14:41:14 +13:00
Christopher De Cairos
25e946ae06
Bug 736400 - Make each decoder Clone() method check if its mimetype is enabled r=cpearce
2012-03-26 14:21:53 +13:00
Phil Ringnalda
ed59dd90b3
Back out c4a4b0171b99 (bug 736400) for Android build bustage
2012-03-25 15:35:37 -07:00
Christopher De Cairos
4eab2b8b32
Bug 736400 - Make each decoder Clone() method check if its mimetype is enabled r=cpearce
2012-03-26 10:48:40 +13:00
Benjamin Smedberg
eaa4878487
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
...
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Paul Adenot
0da5e3bca2
Bug 756372 - Change |seeking| to prevent seeking in WebM livestream. r=kinetik
2012-05-18 13:35:43 -04:00
Ms2ger
127d3f70cc
Bug 754643 - Disable FAIL_ON_WARNINGS in content/media because new warnings were introduced.
2012-05-18 10:57:20 +02:00
Ms2ger
f64d1ecb9a
Bug 754643 - Enable FAIL_ON_WARNINGS in content/media; r=cpearce f=roc
2012-05-18 10:29:38 +02:00
Landry Breuil
b43b46524f
Bug 732875 - use stdint.h types instead of PRtypes, fixes build on OpenBSD - r=Ms2ger
2012-05-17 10:07:26 -04:00
Dão Gottwald
2a267cebe4
Backed out changeset ee527adf9d44
2012-05-17 16:47:36 +02:00
Landry Breuil
8397b073a7
Bug 732875 - use stdint.h types instead of PRtypes, fixes build on OpenBSD - r=Ms2ger
2012-05-17 10:07:26 -04:00
Bill McCloskey
d15702e36f
Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor)
2012-02-17 14:35:20 -08:00
David Anderson
37a0011cce
Merge from mozilla-central.
2012-02-03 14:40:50 -08:00
David Anderson
d7f19cfeca
Merge from mozilla-central.
2012-02-02 15:06:21 -08:00
David Anderson
76f5942ca0
Merge from mozilla-central.
2012-02-01 14:12:11 -08:00
David Anderson
3062648962
Merge from mozilla-central.
2012-01-31 12:17:35 -08:00
Matthew Gregan
388314d955
Bug 723781 - Disable libcubeb for now.
...
--HG--
extra : rebase_source : 23c5d8448d65e2b18a10e61e079f44f261cdb71a
2012-02-03 21:31:43 +13:00
David Anderson
ba6f2671e3
Merge from mozilla-central.
2012-01-26 11:58:33 -08:00
David Anderson
8f56fe6684
Merge from mozilla-central.
2012-01-25 15:27:24 -08:00
Chris Pearce
3e0781b0f9
Bug 715469 - Make video full-screen button use background image, so it doesn't fire a load event. r=gavin
2012-01-30 20:04:44 +13:00
Jon Buckley
d54e4fa42d
Bug 682299 - Implement CORS support for the <video> tag. r=roc
2012-01-25 17:31:30 -05:00
David Anderson
2bd51e6b5d
Merge from mozilla-central.
2012-01-20 10:12:37 -08:00
Chris DeCairos
5568d6729f
Bug 715323 - Make offset paramater in NotifyDataArrived PRInt64 r=cpearce
2012-02-01 11:05:51 +13:00
David Anderson
7e389d8abf
Merge from mozilla-central.
2012-01-19 14:27:47 -08:00
Chris Pearce
3333e53c6b
Bug 717026 - Ensure libsydneyaudio windows block size is an even multiple of channels*frame_size. r=kinetik
2012-01-19 14:11:51 +13:00
Chris Pearce
40ff561ddd
Bug 717026 - Change test to not play() media to avoid audio thread destruction bottleneck. r=roc
2012-01-20 07:31:03 +13:00
Chris Pearce
d696c122f9
Bug 713381 - Queue media decode thread creation when limit reached. r=roc
2012-01-20 07:30:29 +13:00
Chris Pearce
b643f4cab0
Bug 713381 - Add null check on decoder state machine, increase media thread limit. r=roc
2012-01-20 07:29:12 +13:00
Phil Ringnalda
99ac43d6b1
Back out 60fc46d5b1ca (bug 723793) for Windows crashtest assertions
...
--HG--
extra : rebase_source : 6ca69e6016ed2c1699315b7a1f7d632903857a33
2012-02-02 23:33:08 -08:00
Ms2ger
096afeb104
Merge m-c to m-i.
2012-01-11 12:15:35 +01:00
Ms2ger
1a688061bd
Bug 699731 - Remove PR_INT64_MAX / PR_UINT64_MAX from non-nsprpub source; r=ted
2012-01-11 09:23:07 +01:00
Matthew Gregan
8d881ee1d4
Bug 677138 - Integrate libcubeb into a buffered nsAudioStream API. r=cpearce
2012-01-13 10:20:36 +13:00
Chris Pearce
7894822b60
Bug Bug 713381 - backout 38271572005b,d5ebbc25b4b8,6435f51dd10d. r=backout
2012-01-19 11:56:54 +13:00
Chris Pearce
af5662affd
Bug 713381 - Queue media decode thread creation when limit reached. r=roc
2012-01-19 09:15:57 +13:00
Chris Pearce
9b446a7ca7
Bug 713381 - Add null check on decoder state machine. r=roc
2012-01-19 09:15:47 +13:00
Matthew Gregan
a0d6d77c9f
Bug 723793 - Lazily initialize libcubeb on first use. r=roc
2012-02-03 16:01:40 +13:00
Ed Morley
0ce8f75531
Backout 0e6b1dfaa99c (bug 720208) for M1 orange
2012-02-01 12:58:07 +00:00
Chris Pearce
a881f20501
Bug 712738 - Cap seeking outside of buffered data in live streams to end of buffered data. r=kinetik
2012-01-06 19:40:51 +13:00
Masatoshi Kimura
c70d70f634
Bug 720208 - Implement DOM4 DOMException types and codes. r=ms2ger,smaug
2012-02-01 11:36:42 +01:00
Matthew Gregan
d4ed859ea5
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
Matthew Gregan
363f0bdf7a
Bug 734784 - Clean up some include lists in content/media. r=cpearce
2012-03-12 15:19:31 +13:00
Chris Pearce
9d53b56f95
Bug 716417 - Don't add media elements to the element table twice if when we hit decode thread limit. r=roc
2012-01-11 11:58:43 +13:00
Christopher De Cairos
f91f19fd93
Bug 686137 - Make nsMediaDecoder::RequestFrameBufferLength virtual. r=kinetik
2012-01-25 13:38:23 +13:00
Christopher De Cairos
868056accd
Bug 686137 - Add test for setting mozFrameBufferLength. r=kinetik
2012-01-25 13:38:22 +13:00
Chris Pearce
b6eb0d00bf
Bug 787805 - Improve correctness and thread safety of FileMediaResource::EnsureSizeInitialized. r=roc
2012-09-04 12:05:41 +12:00
Timothy B. Terriberry
756cd13dfd
Bug 787788 - Fix downmixing weights for 6.1 Opus files, r=rillian
2012-09-03 01:41:17 -07:00
Kan-Ru Chen (陳侃如)
da002e7c2d
Bug 785339 - Restore BasicPlanarYCbCrImage::SetDelayedConversion. r=roc
2012-09-03 15:36:04 +08:00
Chris Pearce
013a4e4c31
Bug 787805 - Null check mInput in FileMediaResource::EnsureLengthInitialized(). r=roc
2012-09-03 16:12:23 +12:00
Chris Pearce
7befb32d64
Bug 786924 - Estimate Ogg buffered ranges on B2G to avoid main thread I/O. r=kinetik
2012-09-03 10:56:29 +12:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Paul Adenot
793c14133f
Bug 783953 - Rename MOZ_SAMPLE_TYPE_S16LE to MOZ_SAMPLE_TYPE_S16. r=kinetik,roc
2012-09-01 11:35:56 -04:00
Ehsan Akhgari
3fc90f9719
Bug 775302 - Stub out the implementation of mozAudioContext; r=bzbarsky,khuey
2012-08-31 16:59:37 -04:00
Michael Wu
6d42cb7291
Bug 786690 - Fix buffered streams on 16 bit outputs, r=kinetik
2012-08-31 10:18:46 -03:00
Adam Dane
017d8a0b01
Bug 612246 - Store the media cache in the profile directory for single process Gecko and the system temp directory for multi-process. r=cpearce
2012-03-05 14:40:56 -06:00
Justin Lebar
69fb6f1047
Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo
2012-02-29 22:56:43 -05:00
Matthew Gregan
b11d895a75
Bug 730425 - Make range check assertion in stream read fatal, and add the same check to similar code in the cached stream read. r=roc
2012-03-01 12:52:02 +13:00
Matthew Gregan
6077ca190c
Bug 730425 - Performa an additional range check in stream read. r=roc
2012-02-28 17:38:46 +13:00
Robert O'Callahan
8dc6b990e1
Bug 726891. Move rate/channels/format up to nsAudioStream and add inline getters. r=kinetik
2012-02-14 17:39:33 +13:00
Chris Pearce
fa8456720c
Bug 673698 - Don't update video playback position during seek. r=roc
2012-02-14 21:48:16 +13:00
Phil Ringnalda
7b77666e87
Back out 7f81109133b5 (bug 725221), 135721f3720b (bug 726891), aef4ead175b4 (bug 726894) for orange
2012-02-13 22:31:22 -08:00
Robert O'Callahan
2fdab34bc6
Bug 726891. Move rate/channels/format up to nsAudioStream and add inline getters. r=kinetik
2012-02-14 17:39:33 +13:00
Joe Olivas
7fa87975b6
Bug 725152 - Only use force_stereo_mode pref if it's explicitly set. r=kinetik
2012-02-14 15:35:26 +13:00
Honza Bambas
fc7084f564
Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium
2012-06-12 19:06:20 +02:00
Zack Weinberg
94639ff6eb
Bug 682141 band-aid: add another todo missed the first time. r=cpearce
2012-02-05 20:32:43 -08:00
Robert O'Callahan
32be605238
Bug 750258. Ensure that MediaStreamListener::NotifyBlockingChanged is always called for a new listener, and similar for NotifyFinished called on an already-finished stream. Rely on this to set readyState correctly for media elements consuming a stream. r=jesup,cpearce
2012-05-24 22:37:14 +12:00
Matthew Gregan
725cf8eeff
Bug 726903 - Remove force_stereo_mode pref hack. r=roc
...
--HG--
extra : rebase_source : 513b926ace8904035111ddc21aa237fd1c28090c
2012-05-24 14:40:09 +12:00
Robert O'Callahan
280245c41a
Bug 753852. Don't try to notify the graph to perform its next iteration if this stream has been removed from the graph. r=jesup
2012-05-23 18:01:15 +12:00
Paul Adenot
2d6798ab5d
Bug 599217 - WebM buffered: should use duration for end time of last buffered range. r=kinetik
2010-09-24 13:57:30 +12:00
Paul Adenot
5d2667c343
Bug 449363 - Support media attribute of <source> elements. r=cpearce,bz
2012-05-15 08:56:51 -04:00
Kyle Huey
79aa17fb86
Bug 714445: nsWebMReader should not read preferences off the main thread. r=roc
2012-01-01 12:10:49 -05:00
Plop
95713d298e
Bug 711446: Test defaultMuted with reflect.js; r=Ms2ger
2011-12-28 09:13:37 +01:00
Ed Morley
14d7ce0332
Backout b02402b95e5c (bug 708277) for build failures on all platforms
2011-12-22 11:07:12 +00:00
Thomas Prip Vestergaard
62e57cac37
Bug 708277 - Replace PR_MAX with NS_MAX. r=roc
2011-12-22 11:47:59 +01:00
Jeff Walden
16db021217
Bug 711799 - Fix a bunch of unused-variable warnings. r=dholbert
...
--HG--
extra : rebase_source : 91fc77dca316018652d4d99f6d4cc8d0f7195e6e
2011-12-18 01:00:42 -05:00
Andrew Quartey
9d65e2424c
Bug 706731: Support for defaultMuted DOM attribute on media elements. r=kinetik,bzbarsky
2011-12-15 14:36:46 -05:00
Robert O'Callahan
0400aab294
Bug 687972. Remove logging that we added to hunt down the bug.
2011-12-15 23:26:42 +13:00
Robert O'Callahan
684f03fbb8
Bug 687972. Ignore closed streams when computing whether all streams for the resource are suspended. r=cpearce
2011-12-15 23:26:42 +13:00
Ehsan Akhgari
16031a25e3
Bug 709721 - Part 2: Access vpx_codec_vp8_dx_algo through the function accessor to make things work cross-modules. r=cpearce
2011-12-15 06:40:22 +01:00
Andrew Quartey
6fe0fd072a
Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal
2011-12-13 14:17:59 +00:00
Robert O'Callahan
23c74606fc
Bug 687972. More logging.
2011-12-09 17:48:40 +13:00
Jeff Walden
f76f7d6da3
Bug 704313 - Implement mozilla/StdInt.h. r=cjones
...
--HG--
extra : rebase_source : b221134fdfbde13a37a6ef621bba3ca183a46101
2011-11-22 17:42:57 -08:00
Robert O'Callahan
aee2342025
Bug 687972. Set mCacheSuspended/mChannelEnded flags on all streams *before* calling CacheClientSeek/Resume/Suspend on any stream, because nsMediaChannelStream::CacheClientSuspend will call nsBuiltinDecoder::NotifySuspendedStatusChanged which will call nsMediaChannelStream::IsSuspendedByCache which will call nsMediaCacheStream::AreAllStreamsForResourceSuspended which relies on mCacheSuspended/mChannelEnded being set correctly for all streams for that resource. r=doublec
2011-12-02 17:43:42 +13:00
Robert O'Callahan
d06917d537
Bug 687972. Even more logging...
2011-12-02 10:19:43 +13:00
Robert O'Callahan
cd09a4a8c4
Bug 687952. Fix bustage
2011-12-01 23:32:11 +13:00
Robert O'Callahan
c76504fc38
Bug 687972. More logging...
2011-12-01 23:16:26 +13:00
Brad Lassey
7ebe9cd16d
Bug 687972 - backing out changesets b17ab862bbc1 and a6db0c6c94a3 r=orange
2011-11-30 22:59:00 -05:00
Robert O'Callahan
8631fd3341
Bug 687972. Remove logging code now that we've fixed the bug.
2011-12-01 15:49:50 +13:00
Robert O'Callahan
ba3b5ad3e7
Bug 687972. Don't count streams whose channel has ended when looking to see if there's any non-suspended stream for a resource. r=cpearce
2011-12-01 12:09:10 +13:00
Robert O'Callahan
c5662af9d4
Bug 687972. Add a little bit more logging.
2011-12-01 00:16:19 +13:00
Robert O'Callahan
2768e1cac2
Bug 687972. Try 2: Run autoplay for an element after reaching loadedmetadata if all download streams for its resource are suspended by the media cache. r=cpearce
2011-11-30 18:05:49 +13:00
Chris Pearce
410d27044f
Bug 705994 - Ensure test_preload_actions doesn't try to finish test cases multiple times. r=roc
2011-11-30 11:01:14 +13:00
Robert O'Callahan
37cd6f097b
Adding more logging to try to track down bug 687972.
2011-11-29 16:12:40 +13:00
Chris Pearce
cc0f868b9b
Bug 687972 - Add some verification to MediaTestManager. r=roc
2011-11-29 12:17:09 +13:00
Robert O'Callahan
5215c01596
Bug 703379. Keep a table of media elements indexed by URI and when loading, try to find an existing element with the same URI and clone its decoder. r=doublec
2011-11-25 15:06:22 +13:00
Robert O'Callahan
f08642b928
Bug 703379. Rename nsMediaDecoder::GetCurrentStream to GetStream. Make nsMediaStream::URI() const. r=doublec
2011-11-25 15:06:20 +13:00
Matthew Gregan
764c482f0f
Bug 695986 - Fix bug 669556 on Android. r=cpearce
2011-11-22 13:17:38 +13:00
Robert O'Callahan
84c543bfb3
Backing out part of bug 703379 to fix build failure of nsRawReader
2011-11-24 12:30:03 +13:00
Robert O'Callahan
1c6682c9c8
Bug 703379. Keep a table of media elements indexed by URI and when loading, try to find an existing element with the same URI and clone its decoder. r=doublec
2011-11-24 12:05:13 +13:00
Robert O'Callahan
a01d14ee25
Bug 703379. Rename nsMediaDecoder::GetCurrentStream to GetStream. Make nsMediaStream::URI() const. r=doublec
2011-11-24 12:05:12 +13:00
Robert O'Callahan
44a3728e0e
Bug 703379. Fire CacheClientNotifyDataEnded when we clone a decoder which has already reached the end of the download. r=doublec
2011-11-24 12:05:12 +13:00
Robert O'Callahan
627c55ddd7
Bug 703379. Part 3: Ensure that we can extract the data from any partially-read blocks held by any stream for a given resource. r=doublec
2011-11-24 12:01:50 +13:00
Robert O'Callahan
a48a71686e
Bug 680275. Fix test to ensure that window always gets closed. r=doublec
2011-11-24 12:01:20 +13:00
Chris Pearce
f4c97fdcf9
Bug 604682 - Remove unnecessary copy of audio data when there's no MozAudioAvailable event listener. r=smaug,kinetik
2011-11-22 13:34:21 +13:00
Matthew Gregan
f5f91b3a63
Bug 449157 - Implement loop attribute on media elements. r=roc
2011-11-21 11:59:01 +13:00
Matthew Gregan
8e8c55870d
Bug 700555 - Add null check in nsBuiltinDecoder::NotifyDataArrived. r=doublec
2011-11-09 15:42:26 +13:00
Chris Double
f4dc7146c2
Bug 691096 - Add test - r=cpearce
...
--HG--
extra : rebase_source : 076426e90960bbd0d60fc2186a93722734677d89
2011-11-08 14:38:22 +13:00
Chris Double
57feb291db
Bug 691096 - Provide hard limit to number of media elements that can be decoded in parallel - r=cpearce
...
--HG--
extra : rebase_source : b82ea2e14028f625ea247e93ca6be427e5db815d
2011-11-08 14:38:17 +13:00
Ed Morley
7ea8e12caa
Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail
2011-11-05 18:35:59 +00:00
Rail Aliiev
ac65d0d88e
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Marco Bonardo
c913d53666
Backout 12744c5b688d, edefcb820429 to investigate Android C1 permaorange.
2011-11-03 09:24:02 +01:00
Chris Double
5b5c922b3d
Bug 691096 - Add test - r=cpearce
...
--HG--
extra : rebase_source : c2758165d8ef6bd31d180588efe9dfd0023d0707
2011-11-03 14:58:59 +13:00
Chris Double
675f5ba4a5
Bug 691096 - Provide hard limit to number of media elements that can be decoded in parallel - r=cpearce
...
--HG--
extra : rebase_source : 23bc74b97aa678f47e812351a9443cbf223f808e
2011-11-03 14:58:54 +13:00
Ralph Giles
6e0f6cf6df
Bug 695102 - fix a comment typo. r=cpearce
2011-10-20 10:08:59 +02:00
Matthew Gregan
7a81d221c9
Bug 693095 - Fix audio stream position estimation for remoted streams. Also resurrect audio thread wait removed in bug 669556 when using remoted audio streams. r=cpearce
2011-10-19 18:29:08 +13:00
Chris Double
9334ce67bf
Bug 686957 - Display final frame of video when seeking to end - r=kinetik
...
--HG--
extra : rebase_source : 4ba333f6de5d287f1b37cee7b4b34adb93bb4e85
2011-09-30 17:15:24 +13:00
Chris Double
9428953bf6
Bug 686942 - Add test - r=kinetik
...
--HG--
extra : rebase_source : 722b14f4731f46c598c1dcc2b7495a1f0f133e77
2011-09-30 17:13:15 +13:00
Matthew Gregan
18f72b33af
Bug 669556 - Calculate OS X sydneyaudio buffer sizes by time, and shrink buffers to 1000ms. Remove buffer refill wait from nsBuiltinDecoderStateMachine::AudioLoop as the buffer fullness estimation is inaccurate. r=cpearce
2011-10-03 15:14:32 +13:00
Matthew Gregan
8f6aeecfc2
Bug 690603 - Remove PR_TRUE/PR_FALSE from media code. r=doublec
2011-09-30 12:34:37 +13:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Matthew Gregan
203738f570
Bug 689432 - Disambiguate use of "samples" by introducing "frames" in a number of places. r=doublec
2011-09-27 16:31:18 +13:00
Chris Double
7b942edc01
Bug 686942: respect pause state when seeking to end and beginning of videos - r=kinetik
...
--HG--
extra : rebase_source : 9d698ae2e8731040fa8f40b90164889b5a8b5e23
2011-09-27 15:22:09 +13:00
Fabrice Desré
2b1103493c
Bug 659188 - Android and media parts [r=blassey] [r=cpearce]
2011-09-26 17:25:41 -07:00
Matthew Gregan
fea58fa8d1
Bug 688516 - Null check mElement before use in NotifyDownloadEnded and AudioAvailable. r=cpearce
2011-09-23 16:27:18 +12:00
Matthew Gregan
a8a8261514
Bug 682593 - Avoid possible null dereference during state machine shutdown. r=cpearce
2011-09-21 19:01:00 +12:00
Martin Richard
6b62274806
Bug 646333 - Make video constants consistently const T. r=cpearce
2011-09-15 07:39:50 +12:00
Ehsan Akhgari
5b93c455d2
Backout changesets 8e9aea2febed, 604544452285 and 9f150c4e1a48 because of Mac OS X 32-bit reftest orange
...
--HG--
extra : rebase_source : dbc017628f469e980efc8edfa26f8cce0ac7a956
2011-09-08 11:30:22 -04:00
Oleg Romashin
ffeae58305
Bug 685258 - Pulse audio backend does not check provided playback and crashes r=derf
2011-09-08 12:51:25 +02:00
Felix Fung
4ad6cea4ad
Bug 577266 - Correct misspellings in source code: 'verion' -> 'version'
2011-09-06 22:50:26 -07:00
Chris Pearce
774c08666b
Bug 683421 - Make MediaTestManager less 'batchy'. r=kinetik
2011-08-31 15:38:10 +12:00
Chris Double
de84e18e46
Bug 679262 - Seeking to end of file during loadedmetadata event breaks further playback - r=cpearce
...
--HG--
extra : rebase_source : 1ecffe9613128724e38060d44a46a5bdbcc6fb18
2011-08-29 13:35:52 +12:00
Chris Double
672a875807
Bug 682141 - Mark test that reads video fragment end time as todo due to intermittent timing issues related to sound buffers - r=cpearce
...
--HG--
extra : rebase_source : 0cf9bb517b727fa1f163f80d22d62ea0bddff7a3
2011-08-29 13:33:07 +12:00
Chris Double
cc675370ca
Bug 648595 - Part 2/2: Tests for temporal media fragments support - r=cpearce
...
--HG--
extra : rebase_source : 45e62dc05dff2660a07b43989cdb179e91ac31a5
2011-08-25 11:42:27 +12:00
Chris Double
b95429c9e0
Bug 648595 - Part 1/2: Implement temporal dimension portion of Media Fragments URI specification for video/audio - r=cpearce
...
--HG--
extra : rebase_source : f9b5986e739a091c37caeb882904434f21fb6d81
2011-08-25 11:42:23 +12:00
Chris Pearce
523b4c7bb2
Bug 671745 - Remove another unnecessary and orange-inducing play() in test_replay_metadata. r=kinetik
2011-08-23 10:35:22 +12:00
Josh Matthews
5a0aa42056
Bug 680275 - Ensure that the video load begins before adding the video to a new document. r=roc
2011-08-18 18:38:26 -04:00
Chris Pearce
180d6a938d
Bug 671745 - Remove unnecessary and orange-inducing play() in test_replay_metadata. r=doublec
2011-08-18 16:41:24 +12:00
Matthew Gregan
37751a6419
Bug 679269 - Rename SoundData{,Value} to AudioData{,Value} and fix inconsistent use of "sound" vs "audio". r=doublec
2011-08-16 17:19:51 +12:00
Matthew Gregan
21bedaef47
Bug 679261 - sa_stream_get_min_write should return a result in bytes, not frames. r=cpearce
2011-08-16 15:47:45 +12:00
Matthew Gregan
1f023245aa
Bug 623444 - Remove unused non-blocking code from nsAudioStream. r=doublec
2011-08-08 12:51:04 +12:00
Chris Pearce
53e1d1d80a
Bug 665344 - Ensure minWriteSamples samples written before sleeping in AudioLoop drain. r=kinetik
2011-08-16 15:32:10 +12:00
Malini Das
132054c82e
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- new tests. r=jmaher, a=test-only
2011-08-12 12:21:44 -04:00
Malini Das
ee09d54d6f
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain 1/1. r=jmaher, a=test-only
2011-08-12 12:21:42 -04:00
Malini Das
91a27b5ddc
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only
2011-08-12 12:21:37 -04:00
Matt Brubeck
981b18c20b
Merge the last green changeset from mozilla-inbound to mozilla-central
2011-08-12 06:41:55 -07:00
Ms2ger
4ca9cbc0f3
Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar
2011-08-11 15:29:50 +02:00
Paul ADENOT
f582e1c46c
Bug 462960 - Implement nsIDOMHTMLMediaElement::GetSeekable() + seeking algorithm part 7. r=cpearce
2011-08-09 12:10:48 +02:00
Daniel Holbert
6981f5f0c4
Bug 678256: Fix init list warning for nsBuiltinDecoderStateMachine. r=cpearce
2011-08-11 15:19:56 -07:00
Chris Pearce
f288cf29c0
Bug 675747 - Handle multiple bos pages in a single ogg bitstream. r=doublec
2011-08-05 08:44:24 +12:00
Chris Double
7b1d1d6c7f
Bug 666132: Account for trailing data in the last frame of audio data in ogg backend debug code - r=cpearce
2011-08-03 15:08:56 +12:00
Marco Bonardo
698a0be832
Backout changesets e0aab5011b70, 0040f406ea6d (Bug 462959) due to intermittent crashes in its own test.
2011-08-02 23:36:14 +02:00
Paul ADENOT
4d002d256c
Bug 462959 - Tests for HTMLMediaElement.played; r=cpearce+kinetik
2011-07-03 11:53:39 +02:00
Matthew Gregan
b760b58bf8
Bug 675630 - Fix null dereference in media memory reporter. r=cpearce
2011-08-02 15:21:52 +12:00
Paul ADENOT
121ec2a03b
Bug 619752 part 1 - Duration should be +Inf on infinite length video streams. Core changes and corresponding test fixes. r=cpearce
2011-08-01 14:11:20 -04:00
Chris Pearce
5a1e4bad65
Bug 675045 - Abort DecodeToTarget() when we detect a poorly muxed file. r=kinetik
2011-08-01 14:45:58 +12:00
David Volgyes
e446815189
Bug 673154 - Use nsAutoArrayPtr for SoundDataValue allocations to simplify ownership. r=cpearce
2011-07-29 13:54:21 +12:00
Matthew Gregan
2f39e6408b
Bug 672755 - Add memory reporters for decoded video and audio queues. r=cpearce r=joe
2011-07-22 15:17:23 +12:00
Chris Pearce
0fa0aa3a28
Bug 664341 - Specify media decoder's thread stack size. r=kinetik
2011-07-27 15:28:03 +12:00
Matthew Gregan
15da3a33cb
Bug 645773 - Reorder a sensitive computation to avoid signed vs unsigned issues. Return a null range from SelectSeekRange when stream length is unknown. r=cpearce
2011-04-01 17:18:43 +13:00
Chris Pearce
3608846861
Bug 671438 - Make nsOggCodecState::PacketOutUntilGranulepos() return an error on failure. r=doublec
2011-07-19 09:36:30 +12:00
Chris Pearce
2a1dcd9d21
Bug 671978 - Make nsRawReader build after changes added in bug 592833. r=doublec
2011-07-19 09:35:58 +12:00
Chris Pearce
35ef90aeb4
Bug 670726 - Remove ns{Ogg,WebM}Reader::CanDecodeToTarget(), it makes invalid assumptions. r=kinetik
2011-07-14 09:24:35 +12:00
Chris Pearce
e63988ff20
Bug 592833 - Don't hold decoder monitor while audio stream does sync dispatch to main thread (on Android). r=roc
2011-07-12 15:40:38 +12:00
Chris Pearce
0dcd739295
Bug 592833 - Update comments for new video decoder thread model. r=roc
2011-07-12 15:39:39 +12:00
Chris Pearce
d1ef9c31a8
Bug 592833 - Shutdown inactive media decode threads, don't start audio thread until needed. r=roc
2011-07-12 15:39:37 +12:00
Chris Pearce
a748ed84da
Bug 592833 - Merge all media state machines into a single thread. r=roc
2011-07-12 15:39:34 +12:00
Chris Pearce
3c884e542d
Bug 592833 - Run media state machine as a series of events. r=roc
2011-07-12 15:39:32 +12:00
Chris Pearce
209fc95f29
Bug 592833 - Move audio stream management to audio thread. r=?
2011-07-12 15:39:30 +12:00
Chris Pearce
c3e3d7574c
Bug 592833 - Remove nsBuiltinDecoderReader monitor. r=roc
2011-07-12 15:39:28 +12:00
Chris Pearce
73f0b3659e
Bug 592833 - Move seeking to the decode thread. r=roc
2011-07-12 15:39:25 +12:00
Chris Pearce
0a67b5d0ec
Bug 592833 - Move metadata decoding to decode thread. r=roc
2011-07-12 15:39:23 +12:00
Chris Pearce
e8fd74f46b
Bug 592833 - Split StartDecodeThreads() into StartDecodeThread() and StartAudioThread() for finer control. r=roc
2011-07-12 15:39:10 +12:00
Chris Pearce
68f912bb40
Bug 670055 - Seek video to exact audio sample. r=kinetik
2011-07-09 13:10:40 +12:00
Masayuki Nakano
5b85458cfd
Bug 663039 content should use mozilla::Preferences r=roc+jwatt+chris.double+bjacob
2011-07-07 11:00:02 +09:00
Chris Pearce
b26b7e038c
Bug 635726 - Escape backoff in Ogg seek when we back off back to start of seek target range. r=doublec
2011-07-07 09:51:26 +12:00
Chris Pearce
93b85eed54
Bug 635726 - Ignore Ogg header pages in seek timestamp capture. r=doublec
2011-07-07 09:50:44 +12:00
Chris Pearce
c6b73f16a1
Bug 592833 - Backout due to suspected android crashtest permaorange. r=philor
2011-07-06 19:21:49 +12:00
Chris Pearce
3cb067296b
Bug592833 - Update comments for new video decoder thread model. r=roc
2011-07-06 10:05:25 +12:00
Chris Pearce
41c252a53d
Bug 592833 - Shutdown inactive media decode threads, don't start audio thread until needed. r=roc
2011-07-06 10:05:24 +12:00
Chris Pearce
71b9bf3985
Bug 592833 - Merge all media state machines into a single thread. r=roc
2011-07-06 10:05:24 +12:00
Chris Pearce
7c701aa361
Bug 592833 - Run media state machine as a series of events. r=roc
2011-07-06 10:05:24 +12:00
Chris Pearce
bfd7ad4423
Bug 592833 - Move audio stream management to audio thread. r=roc
2011-07-06 10:05:08 +12:00
Chris Pearce
d343bdfd2e
Bug 592833 - Remove nsBuiltinDecoderReader monitor. r=roc
2011-07-06 10:03:32 +12:00
Chris Pearce
48387c1643
Bug 592833 - Move seeking to the decode thread. r=roc
2011-07-06 10:03:21 +12:00
Chris Pearce
23e7bf406c
Bug 592833 - Move metadata decoding to decode thread. r=roc
2011-07-06 10:03:11 +12:00
Chris Pearce
3b48c23ee6
Bug 592833 - Split StartDecodeThreads() into StartDecodeThread() and StartAudioThread() for finer control. r=roc
2011-07-06 10:03:01 +12:00