Commit Graph

3833 Commits

Author SHA1 Message Date
Chris Peterson
b2cffd6ac9 Bug 986787 - Fix -Wreorder warning and other cleanups in MediaEngineTabeVideoSource.cpp. r=rjesup 2014-03-26 00:59:01 -04:00
Chris Pearce
d6610626b5 Bug 631058 - Don't preroll extra media samples when we're not playing. r=cajbir 2014-03-28 15:50:35 +13:00
Chris Pearce
b26d467d58 Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir
Implement HTMLMediaElement.fastSeek(), basically by changing all the
MediaDecoderReader::Seek() overrides to not call
MediaDecoderReader::DecodeToTarget(), and have MediaDecoderReader::DecodeSeek()
call DecodeToTarget() if we're doing an accurate (non-fast) seek.

Update gizmo.mp4 to have a keyframe every second, instead of only 1 keyframe at
the start of stream. This makes the unit test I added more useful for mp4...

I pushed most of the seek target clamping logic in MediaDecoder up into
HTMLMediaElement, so that we're clamping in fewer places. Note
MediaDecoderStateMachine::Seek() still sanity checks the seek target.

We have to update the currentTime/MediaDecoder playback position after a seek
completes now, rather than assuming the seek always got it exactly right.

Removed those pesky assertions about seek target lying in the first frame after
seek, since actually sometimes the media doesn't have samples for all streams
after a seek (either due to the media being encoded like that, or because of a
bug in the platform's decoder, not entirely sure).

Green: https://tbpl.mozilla.org/?tree=Try&rev=b028258565e2
2014-03-28 15:50:28 +13:00
Ehsan Akhgari
345b35a6e8 Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
Ethan Tseng
cd1e193f81 Bug 977518 - [RTSP] Resource leak from RtspMediaResource, RtspController and RTSPSource. r=sworkman 2014-02-27 15:28:18 +08:00
Randy Lin
867e22698f Bug 973522 MediaRecorder causes large leak. r=roc, jsmith 2014-03-26 01:11:58 +08:00
Carsten "Tomcat" Book
7dbffe4461 Backed out changeset 9b6ec03572ed (bug 981470) for suspicion of breaking mochitest-1 on a CLOSED TREE
--HG--
rename : content/media/test/test_documentTitle.html => content/media/test/test_audioDocumentTitle.html
2014-03-25 12:25:07 +01:00
Carsten "Tomcat" Book
0118fbd578 Backed out changeset 8baf04242325 (bug 493692) for mochitest bustage on a CLOSED TREE 2014-03-25 12:15:38 +01:00
Robert O'Callahan
5b6e267ad0 Bug 493692. Fix and reenable test_preload_suspend. r=cpearce
--HG--
extra : rebase_source : 947c7f65d071c62b57d7bf529a00cc72f9910345
2014-03-10 11:03:14 +08:00
Robert O'Callahan
8f471df6ac Bug 981470. Combine test_audioDocumentTitle and test_videoDocumentTitle and avoid testing WAV files, which aren't supposed to load properly in <iframe>s. r=cpearce
--HG--
rename : content/media/test/test_audioDocumentTitle.html => content/media/test/test_documentTitle.html
extra : rebase_source : 27016e8c3a15dcbfeb9462a17f27b043ac977d75
2014-03-10 10:45:14 +08:00
Rick Eyre
a0b716dca0 Bug 891381 - Tracks loaded via TrackElement should have the same id as the TrackElement. r=cpearce 2014-03-19 11:27:39 -04:00
ekr
f17073af1c Bug 986885 - Fix build problem in fmp4/demuxer. r=nalexander 2014-03-22 20:27:27 -07:00
Eric Rahm
4c96c88496 Bug 962154 - Use MallocSizeOf to report decoded-video memory. r=cpearce,njn 2014-03-19 14:33:12 -07:00
Rick Eyre
07af79b144 Bug 977299 - Don't display subtitles if their mode is 'hidden'. r=rillian
I've renamed TextTrackList::GetAllActiveCues to
UpdateAndGetShowingCues to make it a bit more clear what
this function is doing.
2014-02-27 10:02:40 -05:00
Edwin Flores
cab563a65a Bug 941298 - FFmpeg PlatformDecoderModule for Linux r=doublec,cpearce 2014-03-21 19:35:15 +13:00
Edwin Flores
372079241f Bug 941298 - FFmpeg headers for FFmpeg PlatformDecoderModule r=doublec
While FFmpeg function signatures tend not to change between versions of FFmpeg,
class layouts can change dramatically. We include libavcodec, libavformat,
and libavutil headers here so that we don't accidentally build against the wrong
binary interface.
2014-03-21 19:35:14 +13:00
Edwin Flores
4125ba2622 Bug 941298 - Fix errors in content/media/fmp4 on Linux with clang and --enable-warnings-as-errors r=cpearce 2014-03-21 19:35:14 +13:00
Edwin Flores
53b9c2c9b3 Bug 941298 - Build changes for FFmpeg PlatformDecoderModule r=gps 2014-03-21 19:35:14 +13:00
Boris Zbarsky
05af31f010 Bug 980962. Fix in-tree consumers to not construct typed arrays without "new". r=jorendorff 2014-03-20 23:19:42 -04:00
Chris Pearce
234f97e9c3 Bug 984698 - Reduce the amount of audio prerolled when we are not also decoding video in the same file. r=padenot 2014-03-21 11:47:17 +13:00
Rick Eyre
ca6fa01a7e Bug 985484 - Remove TextTrackCue::CueChange. r=cpearce 2014-03-19 11:01:38 -04:00
Rick Eyre
59ba14791c Bug 977302 - Perform automatic text track selection. r=rillian
This takes care of automatic track selection for tracks with
the default attribute specified. However, it does not take
into account any user preferences set through Firefox such
as default language.
2014-02-28 15:40:00 -05:00
Carsten "Tomcat" Book
fb67e88f61 Merge mozilla-central to mozilla-inbound 2014-03-20 14:18:00 +01:00
Carsten "Tomcat" Book
93dadba149 merge b2g-inbound to mozilla-central 2014-03-20 14:07:58 +01:00
Andrea Marchesini
d849d65073 Bug 983984 - Default AudioChannel from a pref, r=ehsan, r=roc, r=mchen 2014-03-20 10:45:55 +00:00
Rick Eyre
dce4674300 Bug 983293 - Part 5: Remove unecessary default settings in TextTrack ctors. r=cpearce
Since there is no default constructor for TextTrack we don't
need to be setting mKind, mMode, or mReadyState to a default
value.
2014-03-13 14:58:08 -04:00
Rick Eyre
4b465b49a2 Bug 983293 - Part 4: Pass ReadyState variables to AddTextTrack methods and TextTrack ctors. r=cpearce
This makes it more clear what part of the code is triggering the ReadyState
to be what it is. I.E. Tracks added through the HTMLMediaElement::AddTextTrack
method should have a ReadyState of "Loaded" and so it's more clear for
function to specify that. Vice versa for TrackElements which add TextTracks
with a default ReadyState of "None".
2014-03-13 14:41:21 -04:00
Rick Eyre
fffd5328cf Bug 983293 - Part 3: Rename the READY_STATE enum to TextTrackReadyState. r=cpearce
- This allows us to pass around ReadyState values. It also makes the type
explicit which will save us from potentially shooting ourselves in
the foot.
- I also renamed 'READY_STATE_NONE' and 'READY_STATE_ERROR' to
'NotLoaded' and 'FailedToLoad' respectively in the enum. This is to
avoid some name collision errors we were having. It also makes it more
clear where in the spec this is as these names are the spec's names
for the TextTrack enum.
2014-03-13 14:29:32 -04:00
Rick Eyre
70894a38c2 Bug 983293 - Part 2: Move the READY_STATE enum to Track instead of HTMLTrackElement. r=cpearce
This makes more sense as the READY_STATE values in the spec are always
referred to be 'text track readiness states' not HTMLTrackElement
readiness states.
2014-03-13 13:48:09 -04:00
Rick Eyre
182212791c Bug 983293 - Part 1: Remove unused TextTrack constructor. r=cpearce 2014-03-13 13:37:31 -04:00
Steven Lee
84afa44f8f Bug 980744 - Fix resource that is protected by wrong mutex. r=jesup, r=mikeh 2014-03-19 13:30:27 -04:00
Alfredo Yang
005f35718d Bug 974297 - Support muxing pixel aspect ratio video. r=cpearce 2014-03-19 08:39:00 -04:00
Randy Lin
c9dd4c92fe Bug 959490 - [MediaEncoder] Support *.3gp with AMR-NB audio format on certificated application. r=roc 2014-03-19 14:52:45 +08:00
JW Wang
68a17dc990 Bug 951100 - Set 'autoplay' to true to trigger play instead of calling play() in 'canplaythrough' callback. r=cpearce
canplaythrough results from an estimation of download speed and playback rate and could be fired multiple times or sometimes not at all.
2014-03-19 14:07:41 +08:00
Wes Kocher
6a3f60488b Merge fx-team to m-c 2014-03-18 19:44:07 -07:00
Wes Kocher
f9ae02417f Merge inbound to m-c 2014-03-18 14:15:03 -07:00
Brad Lassey
01d08bd495 bug 928096 - UI for Tab streaming r=mfinkle 2014-03-18 15:05:46 -04:00
Benjamin Chen
e4210a18a6 Bug 979812 - Check the PlanarYCbCrImage data is valid. r=rillian 2014-03-17 14:57:10 +08:00
Rick Eyre
2e37168e82 Bug 983207 - Tracks created through a TrackElement should have a default mode of 'disabled'. r=cpearce
- I've refactored the way we set modes as well, making it a part
of the TextTrack ctors.
- I've also changed TextTracks in the track tests to have their
mode set to 'hidden' in order to be able to call TextTrack::Cues.
This is correct since TextTracks with a mode of 'disabled' do not
return null for their cue lists.
2014-03-13 13:18:06 -04:00
JW Wang
c5af24a4ab Bug 907162 - Fix MediaDecoderStateMachine might dispatch MediaDecoder::PlaybackEnded more than once and trigger multiple 'ended' events in HTMLMediaElement. r=cpearce 2014-03-17 10:12:20 +08:00
Chris Peterson
33cd68ff0e Bug 984071 - Part 1: Fix unused variable warning in content/media/webaudio. r=padenot 2014-03-17 20:11:24 -07:00
Alfredo Yang
5a07e0a6fb Bug 975978 - Testcase for aspect-ration mp4 video playback. r=cpearce 2014-03-18 08:20:19 -04:00
Alfredo Yang
60cb2058ba Bug 975978 - Check display size in OMX backend playback. r=cpearce 2014-03-18 08:20:19 -04:00
Alfredo Yang
21b6134a6c Bug 971641 - Add AMR box type. r=cpearce 2014-03-18 08:20:18 -04:00
Alfredo Yang
57cb5b0013 Bug 971641 - Add AMR metadata. r=cpearce 2014-03-18 08:20:18 -04:00
Alfredo Yang
d0b507c1c7 Bug 971641 - Add AudioTrackMetadata and VideoTrackMetadata abstract class. r=cpearce 2014-03-18 08:20:18 -04:00
Neil Rashbrook
921625ab05 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
2939a367ba Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
f83724018d Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Ryan VanderMeulen
f50b1bd5df Merge m-c to inbound. 2014-03-17 17:34:10 -04:00
Ryan VanderMeulen
6598f49d2f Merge inbound to m-c. 2014-03-17 13:16:53 -04:00
JW Wang
d3261be54e Bug 984213 - Since 'preload' defaults to 'none' on b2g, 'loadedmetadata' is not fired and caused timeout. r=cpearce 2014-03-17 16:54:35 +08:00
Rick Eyre
cb4dd1f583 Bug 982183 - Put VTTRegion DOM API behind a pref. r=rillian, r=bz 2014-03-12 13:55:45 -04:00
Jan Beich
f68861dd17 Bug 984064 - Unbreak --enable-gstreamer=1.0 after bug 967364. r=khuey 2014-03-16 15:34:14 -04:00
JW Wang
54e4fed933 Bug 934794 - Fix failing to update stream blocking status when endBlockingDecisions == mStateComputedTime. r=roc 2014-03-05 07:15:41 +08:00
JW Wang
1f4af455de Bug 886188 - Remove test 12 since the spec no longer found in the document, http://dev.w3.org/html5/spec-preview/media-elements.html. r=roc 2014-03-17 13:30:46 +08:00
Kyle Huey
68b608c95f Bug 345123: Remove nsGetterAddRefs<T>'s operator nsISupports**. r=bsmedberg 2014-03-15 12:00:17 -07:00
Kyle Huey
567b9398be Bug 981150: Use nsTArrayForwardDeclare.h more. r=ehsan 2014-03-15 12:00:17 -07:00
Kyle Huey
a5ae9a4da3 Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg 2014-03-15 12:00:17 -07:00
Kyle Huey
56d26ad256 Bug 967364: Use every already_AddRefed. r=bsmedberg 2014-03-15 12:00:16 -07:00
Kyle Huey
f7eafc09a9 Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
John Lin
10519ff8ea Bug 983039 - [Media encoder] Support YV12 GrallocImage in OMXVideoEncoder on B2G. r=roc 2014-03-14 09:43:13 -04:00
Chris Pearce
b099e216ae Bug 983204 - Ensure RTSP OMX reader's decoder is made active during loadmetadata. r=vchang 2014-03-14 13:24:54 +08:00
Bill McCloskey
d960718b48 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Wes Kocher
62d61f05a8 Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Wes Kocher
352ea6fe5b Backed out changeset d42a36615c7e (bug 983204) for build bustage on an otherwise CLOSED TREE 2014-03-13 19:35:02 -07:00
Chris Pearce
3e5ffad376 Bug 983204 - Ensure RTSP OMX reader's decoder is made active during loadmetadata. r=vchang 2014-03-14 10:11:02 +08:00
Bill McCloskey
cff466f79f Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Ehsan Akhgari
178f47f91d Bug 983014 - Move the rest of the -I build flags that stayed in Makefiles because of ANDROID_SOURCE to moz.build; r=mshal 2014-03-13 19:31:18 -04:00
Bill McCloskey
624ffda758 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey
a23e0f8633 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Rick Eyre
cf709f8952 Bug 882664 - Part 2: Perform sorting on TextTrackLists. r=rillian
- This implements sorting on the MediaElement's list of TextTracks as
described in: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#text-track-model
This is important as automatically positioned cues will have a line
position that is relative to their TextTrack's position in the
MediaElement's list of TextTracks.
- Added a TextTrackSource enum which all TextTracks have. This helps
distinguish where a TextTrack came from.
2014-02-27 12:47:23 -05:00
Rick Eyre
e05bee01c8 Bug 882664 - Part 1: TextTrack should hold a ref to its TrackElement, if any. r=rillian 2014-02-27 14:07:39 -05:00
Rick Eyre
51f912b0a6 Bug 978163 - Part 4: Add test for VTTCue::Region. r=rillian
Updated test_texttrackregion.html to reflect the changes as well.

See spec bug: https://www.w3.org/Bugs/Public/show_bug.cgi?id=24380

DONTBUILD
2014-03-11 14:06:44 -04:00
Ryan VanderMeulen
1be5d873b0 Backed out changeset 2b3efd1687ec for landing with the wrong bug number. 2014-03-13 11:42:23 -04:00
Rick Eyre
b4602dfd6f Bug 978173 - Part 4: Add test for VTTCue::Region. r=rillian
Updated test_texttrackregion.html to reflect the changes as well.

See spec bug: https://www.w3.org/Bugs/Public/show_bug.cgi?id=24380
2014-03-11 14:06:44 -04:00
Rick Eyre
c1888df69c Bug 978163 - Part 3: Vtt.js should add VTTRegions directly to the VTTCue. r=rillian
See spec bug https://www.w3.org/Bugs/Public/show_bug.cgi?id=24380.
2014-03-11 13:36:07 -04:00
Rick Eyre
5b292b121e Bug 978163 - Part 2: VTTCue should have Region property. r=rillian, r=bz
See spec bug: https://www.w3.org/Bugs/Public/show_bug.cgi?id=24380
2014-03-11 13:33:58 -04:00
Rick Eyre
e5a8933985 Bug 978163 - Part 1: Remove VTTRegionList and VTTRegion TextTrack extensions. r=rillian, r=bz
- These two parts of the spec were recently removed as they
were seen as unecessary or bad design, in the case of the
VTTRegion TextTrack extensions. See the spec bug at:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24380
2014-03-10 11:33:06 -04:00
Gian-Carlo Pascutto
be0200562d Bug 877954 - Implement Load Management service. Add callbacks to ViEncoder. r=jesup 2014-03-13 11:05:27 +01:00
Paul Adenot
ede84d6b72 Bug 982541 - Update OscillatorNode.{start, stop} to have the first argument optional and default to zero. r=ehsan 2014-03-13 14:51:41 +08:00
Vaibhav Agarwal
5f496eafb5 Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-12 11:41:08 -04:00
Vaibhav Agarwal
07841bb6fe Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher 2014-03-12 06:16:12 -04:00
Nathan Froyd
5f69aa4f0e Bug 981966 - fix OggWriter memory leak; r=kinetik,f=mccr8 2014-03-11 14:17:02 -04:00
Andrew McCreight
ee788e21b6 Bug 981911 - Always call profiler_unregister_thread() when returning from MediaStreamGraphImpl::RunThread(). r=roc 2014-03-11 16:06:57 -07:00
Eric Rahm
0af50cdae6 Bug 969117 - Report memory usage of MediaResources. r=njn 2014-03-05 13:31:04 -08:00
Ethan Tseng
76b30905f5 Bug 973840 - Back out bug 964132 to fix crashes. r=sworkman 2014-03-03 17:00:11 +08:00
Andrea Marchesini
7c2d706f91 Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc 2014-03-11 10:46:55 +00:00
Andrea Marchesini
dff9be0a40 Bug 923247 - patch 1 - window in the AudioChannelAgent, r=mchen 2014-03-11 10:46:04 +00:00
Chris Pearce
cde0354ac2 Bug 982032 - Don't re-run the COMPLETED state in MediaDecoderStateMachine if we've already run it. r=padenot 2014-03-11 18:06:23 +08:00
Ehsan Akhgari
03e007cde8 Bug 981931 - Stop leaking the allocated buffers in PeriodicWave::createBandLimitedTables; r=padenot 2014-03-11 00:41:19 -04:00
Ehsan Akhgari
bfa6b6e286 Bug 981428 - Move OSX -framework flags to moz.build; r=mshal 2014-03-10 20:18:33 -04:00
Ehsan Akhgari
933a9eb33e Bug 981290 - Rewrite content/media/omx/Makefile.in in moz.build; r=mshal
--HG--
extra : rebase_source : 168efa0f67252197ef259bb575771b1e87eb98e5
2014-03-10 20:12:37 -04:00
Chris Pearce
d414e70f53 Bug 973408 - Merge logic from UpdateIdleState and enqueueing decode tasks, so that we always behave consistently, especially WRT setting readers Idle on B2G. r=kinetik 2014-03-11 11:44:10 +08:00
Chris Pearce
517140e405 Bug 973408 - Set MediaDecoderReaders idle when they're not decoding. r=kinetik 2014-03-11 11:44:10 +08:00
Chris Pearce
161ebf7d5d Bug 973408 - Decode video and audio in separate media tasks. r=kinetik 2014-03-11 11:44:09 +08:00
Chris Pearce
c4eea277c2 Bug 973408 - Split innards of MediaDecoderStateMachine::DecodeLoop() into sub DecodeAudio/DecodeVideo functions. r=kinetik 2014-03-11 11:44:09 +08:00
Chris Pearce
2177613779 Bug 973408 - Add pop listeners to MediaQueue. r=kinetik 2014-03-11 11:44:09 +08:00
Chris Pearce
1e42313a2a Bug 973408 - Don't block a decode thread while awaiting resources. r=kinetik 2014-03-11 11:44:09 +08:00
Chris Pearce
9243cb719a Bug 973408 - Split DecodeThreadRun() into separate decode tasks. r=kinetik 2014-03-11 11:44:09 +08:00
Chris Pearce
9789b23076 Bug 973408 - Remove MediaDecoderStateMachine::GetAmpleVideoFrames(), and MediaOMXStateMachine. r=kinetik 2014-03-11 11:44:08 +08:00
Chris Pearce
75c8af6426 Bug 973408 - Move MediaDecoderStateMachine::DecodeLoop()'s local variables to class members so the function can be made reentrant in future. r=kinetik 2014-03-11 11:44:08 +08:00
Boris Zbarsky
139c43ef35 Bug 980965. Stop using DOM constructors as functions in chrome code. r=bholley 2014-03-10 17:38:14 -04:00
Ed Morley
a43bffd607 Backed out changeset d86a702e24c0 (bug 923247) for build failures; CLOSED TREE 2014-03-10 17:04:25 +00:00
Ed Morley
301dd385b6 Backed out changeset 98f7e8789561 (bug 923247) 2014-03-10 17:04:04 +00:00
Andrea Marchesini
19518c8a2c Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc 2014-03-10 16:36:15 +00:00
Andrea Marchesini
18de276757 Bug 923247 - patch 1 - window in the AudioChannelAgent, r=mchen 2014-03-10 16:36:07 +00:00
Nathan Froyd
20f83150db Bug 978105 - convert content/ to use Endian.h; r=smaug 2014-02-26 20:20:15 -05:00
Benjamin Chen
c959c750ae Bug 970787 - Support yuv 4:4:4 4:2:2 video in VP8TrackEncoder by libyuv for color conversion. r=rillian 2014-02-21 16:35:13 +08:00
Phil Ringnalda
6c5251b6a5 Merge m-c to b-i 2014-03-09 20:43:45 -07:00
Sotaro Ikeda
1361c4bdbf Bug 981112 - Destruct MediaDecoderReader first r=padenot 2014-03-09 14:27:15 -07:00
Chris Peterson
7bfa25a43f Bug 980810 - Part 1: Fix clang -Wstring-conversion warnings in WebM container writer. r=rillian 2014-03-07 00:49:34 -08:00
David Major
9148efc9fa Bug 980524: Increase test's fuzzTolerance to accommodate VS2013. r=ehsan
--HG--
extra : rebase_source : 4ebb7cb84a04d03eb8f02587664bfa115a6e78d1
2014-03-07 13:39:13 -08:00
Randell Jesup
deda7f6382 Bug 980096: fix leaks of VoiceEngines by reinstating use of ScopedCustomReleasePtr r=khuey
--HG--
rename : media/webrtc/signaling/src/media-conduit/MediaEngineWrapper.h => media/webrtc/signaling/src/common/MediaEngineWrapper.h
2014-03-09 00:18:50 -05:00
Masatoshi Kimura
d1ad984267 Bug 978611 - Part 3: Get rid of legacy dictionaries: events and codegen. r=smaug,khuey 2014-03-07 20:51:51 +09:00
Vaibhav Agarwal
f0bd81877d Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher 2014-03-06 13:42:47 -05:00
Vaibhav Agarwal
cb06996fcf Bug 971132 - B2G mochitests should use the new manifest format [directories]; r=jmaher 2014-03-06 13:42:45 -05:00
Vaibhav Agarwal
b192b2603d Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-06 13:42:43 -05:00
Gian-Carlo Pascutto
525f2cc8df Bug 978851 - LoadInfo::UpdateSystemLoad warns about format string in sscanf. r=padenot 2014-03-06 07:53:34 +01:00
Karl Tomlinson
fa380ef49d b=973782 revert 8e574d7a951a, intermittently failing test from bug 938022 DONTBUILD 2014-03-06 13:24:10 +13:00
Karl Tomlinson
495816fdee b=865241 test HRTF panner left/right symmetry and block-offset invariance
--HG--
extra : transplant_source : Z%7E%83XS%0Ck%09%00%0A%CA%D9%FF%B8%D3%9E%FB%D72j
2014-03-06 13:16:37 +13:00
Alfredo Yang
1921394dce Bug 976510 - Calculate display size according to pixel aspect-ratio. r=cpearce 2014-03-05 08:47:45 -05:00
Matthew Gregan
008bca7069 Bug 979100 - Refactor MediaSource's EndOfStream. r=cajbir 2014-03-05 16:35:47 +13:00
Matthew Gregan
569e29ee6e Bug 979099 - Refactor MediaSource's IsTypeSupported. r=cajbir 2014-03-05 16:35:47 +13:00
Matthew Gregan
db37ba47ff Bug 979096 - Rename PR_LOG uses to MSE_LOG in content/media/mediasource. r=cajbir 2014-03-05 16:35:46 +13:00
Wes Kocher
1b6419575b Backed out changeset f814a1a08de6 (bug 865241) for failing at least once per push since the test landed 2014-03-04 18:22:18 -08:00
Masayuki Nakano
66706f5a6e Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00
Karl Tomlinson
0c268a0156 b=932400 rename ProduceOutput to ProcessInput r=roc
--HG--
extra : transplant_source : m0%91%3D%99%EB.%20%28%BD%B4%F4%A5%3F%0C%13%22%BA%FD%06
2014-03-05 10:53:55 +13:00
Karl Tomlinson
7f8291169e b=932400 rename ProduceAudioBlock to ProcessBlock r=padenot
--HG--
rename : content/media/webaudio/DelayProcessor.cpp => content/media/webaudio/DelayBuffer.cpp
extra : rebase_source : ebdc7404c8d27e3a24098f21a7752df529bb44c9
2014-03-05 10:09:49 +13:00
Karl Tomlinson
b26646dc21 b=932400 allow DelayNodeEngine to produce output before input r=padenot
--HG--
extra : rebase_source : 73991e2d1438862e05bb5a299a6f90935c4a51b2
2014-03-05 10:06:57 +13:00
Karl Tomlinson
5149f3ce4d b=857610 handle DelayNode channel count changes and separate buffer read and write r=padenot
The basic idea is to write out the signal that came in with the same number of
channels as it had when it came in.  Things get a bit more complicated when
one output block may be derived from more than one input block, each having
different numbers of channels.  When this happens, the input blocks with fewer
channels are upmixed, so as not to lose (or distort) any signal in the block
with more channels.

HRTFPanner no longer uses exponential decay (with time constant 20ms) for
delay changes, but a smoother linear transition during cross-fade time (~45ms).

--HG--
rename : content/media/webaudio/DelayProcessor.cpp => content/media/webaudio/DelayBuffer.cpp
rename : content/media/webaudio/DelayProcessor.h => content/media/webaudio/DelayBuffer.h
extra : rebase_source : 18453d631779cd7d0672b5325e110b107ab4237d
2014-03-05 10:06:57 +13:00
Karl Tomlinson
4537ee0a7d b=857610 test DelayNode channel count changes
--HG--
extra : rebase_source : 99dbe2400b972fa7f0d331ae35be07f52d81071e
2014-03-05 10:06:56 +13:00
Karl Tomlinson
5ce1fa5e84 b=865241 test HRTF panner left/right symmetry and block-offset invariance
--HG--
extra : rebase_source : 95ae651bd082760bfa5b6e45f5439408419473ad
2014-03-05 10:06:44 +13:00
Karl Tomlinson
369f5ab0a0 b=857610 optimize delay clamping a little, by clamping in only one place r=padenot
--HG--
rename : content/media/webaudio/DelayProcessor.cpp => content/media/webaudio/DelayBuffer.cpp
rename : content/media/webaudio/DelayProcessor.h => content/media/webaudio/DelayBuffer.h
extra : rebase_source : 48d60cb003205a550504bcd0042ef73fc8727f97
2014-03-03 12:49:46 +13:00
Karl Tomlinson
44b2ebd946 b=857610 remove unnecessary HRTFPanner loop as a block is always the same size r=padenot
--HG--
extra : rebase_source : 6325ac6ad4ee25c6b0facaaec27d1a0a25772107
2014-03-03 12:49:45 +13:00
Karl Tomlinson
c7c0b50e5b b=857610 rename DelayProcessor to DelayBuffer r=padenot
--HG--
rename : content/media/webaudio/DelayProcessor.cpp => content/media/webaudio/DelayBuffer.cpp
rename : content/media/webaudio/DelayProcessor.h => content/media/webaudio/DelayBuffer.h
extra : rebase_source : be71a5abbcf067f513fbaf2967745e80383d285f
2014-03-03 12:49:45 +13:00
Ehsan Akhgari
f5dd4e8ef8 Bug 978594 - Part 3: Port some of the per-source flags to moz.build; r=glandium
--HG--
extra : rebase_source : fe4cd059eddda221af420e1517250772816d7ee8
2014-03-02 15:41:32 -05:00
JW Wang
5d7f75173f Bug 969706 - Playback may reach end before pref change is completed thus no more timeupdate events. Set loop to true to keep playing. r=padenot 2014-03-04 11:11:19 +08:00
Chris Pearce
9be1d4b017 Bug 975270 - Fire 'emptied' and 'abort' asynchronously in media load algorithm, as per spec. r=roc 2014-02-28 15:01:47 +13:00
Matthew Gregan
1ee282dbfe Bug 962353 - Remove totalFrameDelay from VideoPlaybackQuality. r=chris.double
It's not implemented by other vendors and marked as "at risk" in the spec.
Easy to add back if there's real demand/a concrete spec.
2014-03-04 15:31:57 +13:00
Ryan VanderMeulen
ed45530108 Merge inbound to m-c. 2014-03-03 17:00:34 -05:00
Randy Lin
8217910936 Bug 973235 - Intermittent test_mediarecorder_getencodeddata.html | should get onError first. r=jsmith 2014-03-03 15:34:14 +08:00
Benjamin Chen
c8cf0ff00c Bug 969289 - Add new test_mediarecorder_record_gum_video_timeslice.html test case. r=jsmith 2014-02-18 11:11:18 +08:00
Benjamin Chen
f0c4c10d46 Bug 969289 - Treat the null image pointer as a muted frame. r=rillian 2014-02-10 11:22:03 +08:00
Carsten "Tomcat" Book
cf79e4a70d Backed out changeset 0ca230c9d79a (bug 975270) for m4 b2g-ics opt permanent test failure 2014-03-03 11:09:25 +01:00
Chris Pearce
235ecad631 Bug 978647 - Properly handle EOF in DirectShow backend. r=edwin 2014-03-03 19:57:10 +13:00
Chris Pearce
5eb79ee405 Bug 861136 - Strip whitespace from MediaDecoderStateMachine.cpp that was introduced in previous changeset. r=whitespace DONTBUILD 2014-03-03 14:55:33 +13:00
Chris Pearce
7aad77cff1 Bug 975270 - Fire 'emptied' and 'abort' asynchronously in media load algorithm, as per spec. r=roc 2014-02-28 15:01:47 +13:00
Chris Pearce
1495cd8f94 Bug 861136 - Don't start buffering media state machine when we don't need to. r=roc 2014-03-03 14:49:52 +13:00
Ryan VanderMeulen
433c5de893 Merge m-c to inbound. 2014-02-28 10:15:57 -05:00