Randy Lin
3f0be9b595
Bug 912627 - Remove spurious assertion. r=cpearce
2014-04-02 09:59:31 +08:00
Mike Hommey
b4ed5e9a80
Backout changesets ca413634eba3 and a92851ff7444 (bug 988168) for likely windows PGO perf regression
2014-03-29 16:49:19 +09:00
Mike Hommey
d55f8470ad
Bug 988168 - Better integrate gtest libxul in the build system. r=mshal
...
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-29 07:50:08 +09:00
Rick Eyre
9bd8336634
Bug 882677 - Part 5: Add track element tests. r=cpearce
2014-03-17 15:11:41 -04:00
Rick Eyre
793a4683f6
Bug 882677 - Part 4: TextTrack::ReadyState should be set to 'error' if loading the stream fails. r=cpearce
2014-03-17 17:49:52 -04:00
Rick Eyre
ae56cf68d2
Bug 882677 - Part 3: Set Track::ReadyState after flushing the parser. r=cpearce
...
The parser might report errors during the flush call so we can't check and set the ReadyState of the track yet.
2014-03-17 16:52:11 -04:00
Rick Eyre
3453522908
Bug 882677 - Part 2: Handle ParsingErrors from vtt.js correctly. r=cpearce
...
* Update vtt.js to the newest version which has the capability
of reporting back ParserErrors.
* Update the update-vtt.js script a bit as well since
the symbols that it exports have changed a bit since the last import.
Some of the general information it outputs has since changed as well
like where the repo exists.
* Update WebVTTListener to set the track readiness state
to 'failed to load' if the WebVTT file is not loaded correctly.
2014-03-17 15:11:41 -04:00
Rick Eyre
a479abd6f5
Bug 882677 - Part 1: Dispatch loaded and error events to the HTMLTrackElement. r=cpearce
2014-03-14 12:13:41 -04:00
Rick Eyre
41d8792b78
Bug 903030 - Add tests for TextTrackCue validation code. r=cpearce
2014-03-31 12:48:00 +02:00
Masayuki Nakano
54d409dfca
Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug
...
--HG--
rename : dom/events/nsDOMEventTargetHelper.cpp => dom/events/DOMEventTargetHelper.cpp
rename : dom/events/nsDOMEventTargetHelper.h => dom/events/DOMEventTargetHelper.h
2014-04-01 15:13:50 +09:00
Chris Peterson
8a55426e4f
Bug 984071 - Part 2: Only create WebRTC LoadManager on Android and Linux. r=jesup
2014-03-28 22:19:33 -04:00
Mike Hommey
edf4794405
Bug 988168 - Better integrate gtest libxul in the build system. r=mshal. DONTBUILD
...
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-31 13:21:38 +02:00
Mike Hommey
3dbd6f1f57
Backed out changeset 561b9329d832 (bug 988168) for wrong attribution.
2014-04-01 13:17:50 +09:00
Jacek Caban
258449c186
Bug 988168 - Better integrate gtest libxul in the build system. r=mshal
...
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-31 13:21:38 +02:00
Chris Pearce
e1cae995ac
Bug 631058 - Don't preroll as many media samples when loading preload="metadata" media. r=cajbir
2014-04-01 16:43:57 +13:00
Chris Pearce
223e397746
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
* * *
Bug 778077 - Fix up MediaOMXReader fastseek to ensure audio stream stays in sync with video stream. r=cajbir
2014-04-01 16:39:04 +13:00
Karl Tomlinson
40fbb14dfc
b=989907 initialize AudioNodeExternalInputStream output chunk even when first track has null output r=roc
...
--HG--
extra : transplant_source : %96%C3%A3%DCs%D3%CCY6.%CC%07%22%02%EDy%A5%94U%DD
2014-04-01 13:49:20 +13:00
Karl Tomlinson
b33bfca306
b=987976 rename ComputeFinalOuputChannelCount ComputedNumberOfChannels to match spec r=padenot
...
to remove any implication that the function might be for calculating
the number of output channels for an AudioNode.
--HG--
extra : transplant_source : %D9%12%BB%23n%92%EB%F7%1Df%11%3F%04%B4z%606%ADT%3A
2014-04-01 10:26:02 +13:00
Karl Tomlinson
286bee8002
b=987976 make AudioNodeExternalInputStream output channel count match stream, unless > MaxChannelCount r=padenot
...
The difference from Blink here is that Blink plays silence for if element
channel counts are > 32, but here more channels are down-mixed. Media stream
channel counts are also fixed to 2 in Blink, but that restriction is not
applied here.
Leaving the "inline" const static/class member initialization of
MaxChannelCount left missing symbols with gcc 4.7.3.
--HG--
extra : transplant_source : %C9%BA%84%0F%E8%89%E2%85p%B8%28%EF%E9M%CC%81%B9ob/
2014-04-01 10:25:45 +13:00
Karl Tomlinson
3adc2d90c5
b=986901 don't assume that DelayNode maxDelayTime is greater than 1 block r=padenot
...
Also apply DelayNode maxDelayTime before rounding to ticks.
--HG--
extra : transplant_source : %F1i%02%2A%ED%98%95%C9u%60%0B%1A%81A%C2%8E%FB%F3%FA%D5
2014-03-31 18:32:34 +13:00
Karl Tomlinson
2306aa30f2
crashtest for bug 986901
...
Derived from testcase by Jesse Ruderman <jruderman@gmail.com>
--HG--
extra : transplant_source : %AE%CEf%29%F9%C4%25%82%B5%17%24%3C%0ErA%90.%7C%09%0C
2014-03-31 18:32:33 +13:00
Karl Tomlinson
13ab267935
b=983066 pad out resampler input past track end only to the end of the block r=padenot
...
The extra null samples were mostly harmless, and may have even helped avoid
bug 983062 sometimes, but caused the "Samples missing" assertion to fail.
--HG--
extra : transplant_source : M%D6%B4ra2%AE%DA%EC%82%E1%D8_%83%9F%FBw%F2%ECh
2014-03-31 18:32:32 +13:00
Fredrik Lanker
2a1834ade6
Bug 989284 - Change the infinite flag when duration is updated. r=roc
2014-03-28 11:41:59 -04:00
Jan Beich
e066586c19
Bug 989112 - Lazily reference to gst_event_type_get_name() to unbreak --enable-debug. r=alessandro.d
2014-03-28 10:36:48 -04:00
Ed Morley
05dcbf9506
Backed out changeset 00fa39c23b44 (bug 778077) for reftest failures
2014-03-28 12:31:29 +00:00
Chris Pearce
dac6ce38ba
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 22:36:10 +13:00
Neil Rashbrook
d8a22dc73a
Bug 514280 Remove concrete classes from interface maps r=bsmedberg
2014-03-28 08:40:13 +00:00
Phil Ringnalda
e21145ad4a
Backed out 2 changesets (bug 778077, bug 631058)
...
CLOSED TREE
Backed out changeset dda301682977 (bug 631058)
Backed out changeset 25b633e7dcd5 (bug 778077)
2014-03-27 21:50:02 -07:00
Chris Peterson
99bd156d09
Bug 986787 - Fix -Wreorder warning and other cleanups in MediaEngineTabeVideoSource.cpp. r=rjesup
2014-03-26 00:59:01 -04:00
Chris Pearce
002a177846
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
fc3fc91d79
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
5b9f45a1a5
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
fbbf59cfc8
Bug 977518 - [RTSP] Resource leak from RtspMediaResource, RtspController and RTSPSource. r=sworkman
2014-02-27 15:28:18 +08:00
Randy Lin
eea3ca40fc
Bug 973522 MediaRecorder causes large leak. r=roc, jsmith
2014-03-26 01:11:58 +08:00
Carsten "Tomcat" Book
428a0c958e
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
8e16ce73fe
Backed out changeset 8baf04242325 (bug 493692) for mochitest bustage on a CLOSED TREE
2014-03-25 12:15:38 +01:00
Robert O'Callahan
828a0f2447
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
88d530321b
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
f2add7f0a7
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
9153ae7f62
Bug 986885 - Fix build problem in fmp4/demuxer. r=nalexander
2014-03-22 20:27:27 -07:00
Eric Rahm
dbb0f24d7e
Bug 962154 - Use MallocSizeOf to report decoded-video memory. r=cpearce,njn
2014-03-19 14:33:12 -07:00
Rick Eyre
69cce4574a
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
a6d5ef3904
Bug 941298 - FFmpeg PlatformDecoderModule for Linux r=doublec,cpearce
2014-03-21 19:35:15 +13:00
Edwin Flores
c8b1fc48b3
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
ce64f058d5
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
24d42ecb05
Bug 941298 - Build changes for FFmpeg PlatformDecoderModule r=gps
2014-03-21 19:35:14 +13:00
Boris Zbarsky
b138bfaeec
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
91d4174974
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
d8bc92185a
Bug 985484 - Remove TextTrackCue::CueChange. r=cpearce
2014-03-19 11:01:38 -04:00
Rick Eyre
3cd2684726
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
cc741791b5
Merge mozilla-central to mozilla-inbound
2014-03-20 14:18:00 +01:00
Carsten "Tomcat" Book
8dd01a51fe
merge b2g-inbound to mozilla-central
2014-03-20 14:07:58 +01:00
Andrea Marchesini
e34a8dbb77
Bug 983984 - Default AudioChannel from a pref, r=ehsan, r=roc, r=mchen
2014-03-20 10:45:55 +00:00
Rick Eyre
577c76297a
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
1555f20871
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
ddeb736006
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
560441d9f1
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
5a88f34b43
Bug 983293 - Part 1: Remove unused TextTrack constructor. r=cpearce
2014-03-13 13:37:31 -04:00
Steven Lee
b51094cbc0
Bug 980744 - Fix resource that is protected by wrong mutex. r=jesup, r=mikeh
2014-03-19 13:30:27 -04:00
Alfredo Yang
1d76883755
Bug 974297 - Support muxing pixel aspect ratio video. r=cpearce
2014-03-19 08:39:00 -04:00
Randy Lin
2a3e1a4f03
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
bc72237ece
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
1a23eae58f
Merge fx-team to m-c
2014-03-18 19:44:07 -07:00
Wes Kocher
01bb0237bc
Merge inbound to m-c
2014-03-18 14:15:03 -07:00
Brad Lassey
4c611c545c
bug 928096 - UI for Tab streaming r=mfinkle
2014-03-18 15:05:46 -04:00
Benjamin Chen
9d6b85b01a
Bug 979812 - Check the PlanarYCbCrImage data is valid. r=rillian
2014-03-17 14:57:10 +08:00
Rick Eyre
e293689a8c
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
2a84991524
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
2dc899293f
Bug 984071 - Part 1: Fix unused variable warning in content/media/webaudio. r=padenot
2014-03-17 20:11:24 -07:00
Alfredo Yang
3db641288d
Bug 975978 - Testcase for aspect-ration mp4 video playback. r=cpearce
2014-03-18 08:20:19 -04:00
Alfredo Yang
39e1e627f3
Bug 975978 - Check display size in OMX backend playback. r=cpearce
2014-03-18 08:20:19 -04:00
Alfredo Yang
04e85b5689
Bug 971641 - Add AMR box type. r=cpearce
2014-03-18 08:20:18 -04:00
Alfredo Yang
aeddcb5a2e
Bug 971641 - Add AMR metadata. r=cpearce
2014-03-18 08:20:18 -04:00
Alfredo Yang
4e20e97dd7
Bug 971641 - Add AudioTrackMetadata and VideoTrackMetadata abstract class. r=cpearce
2014-03-18 08:20:18 -04:00
Neil Rashbrook
c3b2f90f39
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
c0dba87922
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
b07eaa1644
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
df646e5327
Merge m-c to inbound.
2014-03-17 17:34:10 -04:00
Ryan VanderMeulen
63076e2d70
Merge inbound to m-c.
2014-03-17 13:16:53 -04:00
JW Wang
fd179ed1b9
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
3ae2f0eecc
Bug 982183 - Put VTTRegion DOM API behind a pref. r=rillian, r=bz
2014-03-12 13:55:45 -04:00
Jan Beich
d4892a3347
Bug 984064 - Unbreak --enable-gstreamer=1.0 after bug 967364. r=khuey
2014-03-16 15:34:14 -04:00
JW Wang
7a24fe6998
Bug 934794 - Fix failing to update stream blocking status when endBlockingDecisions == mStateComputedTime. r=roc
2014-03-05 07:15:41 +08:00
JW Wang
e99d65e619
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
7067fb5db1
Bug 345123: Remove nsGetterAddRefs<T>'s operator nsISupports**. r=bsmedberg
2014-03-15 12:00:17 -07:00
Kyle Huey
df0e7828eb
Bug 981150: Use nsTArrayForwardDeclare.h more. r=ehsan
2014-03-15 12:00:17 -07:00
Kyle Huey
84360900b0
Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg
2014-03-15 12:00:17 -07:00
Kyle Huey
e78b977cbc
Bug 967364: Use every already_AddRefed. r=bsmedberg
2014-03-15 12:00:16 -07:00
Kyle Huey
510a49016d
Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
2014-03-15 12:00:15 -07:00
John Lin
88c9288b81
Bug 983039 - [Media encoder] Support YV12 GrallocImage in OMXVideoEncoder on B2G. r=roc
2014-03-14 09:43:13 -04:00
Chris Pearce
3d723ba3d0
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
aa5f40a77e
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
a3277d291d
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
019c2556a3
Backed out changeset d42a36615c7e (bug 983204) for build bustage on an otherwise CLOSED TREE
2014-03-13 19:35:02 -07:00
Chris Pearce
6f909590d8
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
f4f6bf8e4d
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
4e69f36cf8
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
7193069fa0
Backed out changeset d6261f65070a
2014-03-13 15:52:27 -07:00
Bill McCloskey
69a746922b
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
3f2fb74ada
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
9e7af875b6
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
32fee62cff
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
bf8b0c3f0f
Backed out changeset 2b3efd1687ec for landing with the wrong bug number.
2014-03-13 11:42:23 -04:00
Rick Eyre
7a319c8c28
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
966c74015c
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
d192be9622
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
350c89b361
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
3fefb76168
Bug 877954 - Implement Load Management service. Add callbacks to ViEncoder. r=jesup
2014-03-13 11:05:27 +01:00
Paul Adenot
d8a22556ad
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
086e8d6332
Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher
2014-03-12 11:41:08 -04:00
Vaibhav Agarwal
262a9b4cd4
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
f37f70f7ba
Bug 981966 - fix OggWriter memory leak; r=kinetik,f=mccr8
2014-03-11 14:17:02 -04:00
Andrew McCreight
71b899efa5
Bug 981911 - Always call profiler_unregister_thread() when returning from MediaStreamGraphImpl::RunThread(). r=roc
2014-03-11 16:06:57 -07:00
Eric Rahm
5419f1b49f
Bug 969117 - Report memory usage of MediaResources. r=njn
2014-03-05 13:31:04 -08:00
Ethan Tseng
436eb5115c
Bug 973840 - Back out bug 964132 to fix crashes. r=sworkman
2014-03-03 17:00:11 +08:00
Andrea Marchesini
ba16597c3e
Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc
2014-03-11 10:46:55 +00:00
Andrea Marchesini
a76825ad9f
Bug 923247 - patch 1 - window in the AudioChannelAgent, r=mchen
2014-03-11 10:46:04 +00:00
Chris Pearce
3683933177
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
e0fd10ac9b
Bug 981931 - Stop leaking the allocated buffers in PeriodicWave::createBandLimitedTables; r=padenot
2014-03-11 00:41:19 -04:00
Ehsan Akhgari
98311f51be
Bug 981428 - Move OSX -framework flags to moz.build; r=mshal
2014-03-10 20:18:33 -04:00
Ehsan Akhgari
1331dd3e3e
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
09cf363ca1
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
5e594c8460
Bug 973408 - Set MediaDecoderReaders idle when they're not decoding. r=kinetik
2014-03-11 11:44:10 +08:00
Chris Pearce
fbe154216d
Bug 973408 - Decode video and audio in separate media tasks. r=kinetik
2014-03-11 11:44:09 +08:00
Chris Pearce
ae1a9465d2
Bug 973408 - Split innards of MediaDecoderStateMachine::DecodeLoop() into sub DecodeAudio/DecodeVideo functions. r=kinetik
2014-03-11 11:44:09 +08:00
Chris Pearce
24614afaeb
Bug 973408 - Add pop listeners to MediaQueue. r=kinetik
2014-03-11 11:44:09 +08:00
Chris Pearce
deb182976e
Bug 973408 - Don't block a decode thread while awaiting resources. r=kinetik
2014-03-11 11:44:09 +08:00
Chris Pearce
197f8f04a4
Bug 973408 - Split DecodeThreadRun() into separate decode tasks. r=kinetik
2014-03-11 11:44:09 +08:00
Chris Pearce
9c847a29a5
Bug 973408 - Remove MediaDecoderStateMachine::GetAmpleVideoFrames(), and MediaOMXStateMachine. r=kinetik
2014-03-11 11:44:08 +08:00
Chris Pearce
f15c1aea78
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
ad635be417
Bug 980965. Stop using DOM constructors as functions in chrome code. r=bholley
2014-03-10 17:38:14 -04:00
Ed Morley
8d91261c3c
Backed out changeset d86a702e24c0 (bug 923247) for build failures; CLOSED TREE
2014-03-10 17:04:25 +00:00
Ed Morley
b0b98b2931
Backed out changeset 98f7e8789561 (bug 923247)
2014-03-10 17:04:04 +00:00
Andrea Marchesini
5c90d4d8c7
Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc
2014-03-10 16:36:15 +00:00
Andrea Marchesini
9202ffb069
Bug 923247 - patch 1 - window in the AudioChannelAgent, r=mchen
2014-03-10 16:36:07 +00:00
Nathan Froyd
af496ca80d
Bug 978105 - convert content/ to use Endian.h; r=smaug
2014-02-26 20:20:15 -05:00
Benjamin Chen
f6ffcde2d6
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
7c7edf008b
Merge m-c to b-i
2014-03-09 20:43:45 -07:00
Sotaro Ikeda
076823fffe
Bug 981112 - Destruct MediaDecoderReader first r=padenot
2014-03-09 14:27:15 -07:00
Chris Peterson
2a5c854ec6
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
f6b8329614
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
4b980a852d
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
5b26a9e31e
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
417b7f2e77
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
66a7651a97
Bug 971132 - B2G mochitests should use the new manifest format [directories]; r=jmaher
2014-03-06 13:42:45 -05:00
Vaibhav Agarwal
9a59a5c96d
Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher
2014-03-06 13:42:43 -05:00
Gian-Carlo Pascutto
06822bffbe
Bug 978851 - LoadInfo::UpdateSystemLoad warns about format string in sscanf. r=padenot
2014-03-06 07:53:34 +01:00
Karl Tomlinson
1397acbcd8
b=973782 revert 8e574d7a951a, intermittently failing test from bug 938022 DONTBUILD
2014-03-06 13:24:10 +13:00
Karl Tomlinson
fa1b0f45b5
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
057236b5ee
Bug 976510 - Calculate display size according to pixel aspect-ratio. r=cpearce
2014-03-05 08:47:45 -05:00
Matthew Gregan
a41d42b3f5
Bug 979100 - Refactor MediaSource's EndOfStream. r=cajbir
2014-03-05 16:35:47 +13:00
Matthew Gregan
b9478e3792
Bug 979099 - Refactor MediaSource's IsTypeSupported. r=cajbir
2014-03-05 16:35:47 +13:00
Matthew Gregan
90007339f3
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
b4dd408494
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
d26caa0d74
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
7f18d462d4
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
2bb6ffd9ed
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
79c3c64319
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
0935b39ced
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
ce878a5735
b=857610 test DelayNode channel count changes
...
--HG--
extra : rebase_source : 99dbe2400b972fa7f0d331ae35be07f52d81071e
2014-03-05 10:06:56 +13:00
Karl Tomlinson
5056403e1d
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
0e1f8fec08
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
ab2f28f9b2
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
5b63b395f3
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
b49ab8c371
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
6928034996
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
3c9f8cb800
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
87855800ef
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
ea7db637cd
Merge inbound to m-c.
2014-03-03 17:00:34 -05:00
Randy Lin
cf2fb9e14f
Bug 973235 - Intermittent test_mediarecorder_getencodeddata.html | should get onError first. r=jsmith
2014-03-03 15:34:14 +08:00
Benjamin Chen
54263f59b6
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
942c5f9fb9
Bug 969289 - Treat the null image pointer as a muted frame. r=rillian
2014-02-10 11:22:03 +08:00
Carsten "Tomcat" Book
d64affeaff
Backed out changeset 0ca230c9d79a (bug 975270) for m4 b2g-ics opt permanent test failure
2014-03-03 11:09:25 +01:00
Chris Pearce
1a2bf7e190
Bug 978647 - Properly handle EOF in DirectShow backend. r=edwin
2014-03-03 19:57:10 +13:00
Chris Pearce
6fa14bff12
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
02453c7113
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
dfdc0cfb5d
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
b00f0ba8d9
Merge m-c to inbound.
2014-02-28 10:15:57 -05:00
Ryan VanderMeulen
a5e7362bd5
Bug 957691 - Convert assertions to warnings to hide intermittent test failures. r=roc
2014-02-28 09:11:37 -05:00
Carsten "Tomcat" Book
a927d781fe
merge b2g-inbound to mozilla-central
2014-02-28 14:42:11 +01:00
Ryan VanderMeulen
b1611fccd5
Merge m-c to b2g-inbound.
2014-02-27 17:34:25 -05:00
Sotaro Ikeda
3ba8189c4e
Bug 977596 - Fix build failure on flatfish r=jmuizelaar
2014-02-27 13:26:22 -08:00
Benjamin Bouvier
470398b6d7
Bug 939843: Required changes in the rest of the tree; r=froydnj
...
--HG--
extra : rebase_source : 5757eb2b73755c8da08112b91b025a8fa860d7e8
2014-02-27 16:23:16 +01:00
cajbir
662d3a82d3
Bug 976037 - Implement an eviction algorithm for media source extensions - r=kinetik
...
--HG--
extra : rebase_source : 9727384f364f88957db822905436c19c4943c019
2014-02-28 13:54:48 +13:00
Paul Adenot
4d3c709951
Bug 976471 - Implement AnalyserNode.getFloatTimeDomainData(). r=karlt
...
--HG--
extra : rebase_source : cfe6f31f7991c84cf8e0f2679cd89560260d0f40
2014-02-25 11:30:48 +01:00
Brian Hackett
b76edd36de
Bug 979480 - Don't store array buffer contents in elements, r=sfink.
2014-03-17 11:46:04 -06:00
Chris Pearce
6bb22322fa
Bug 977314 - Serve all media mochitest files with 'Cache-Control: no-store' header, so Necko doesn't mess with our byte-range-request detection code. r=kinetik
2014-02-27 16:06:03 +13:00
Wes Kocher
2e1f29b25d
Backed out changeset 3d8a39b9c13e (bug 976037) for media test failures
2014-02-26 15:38:48 -08:00
Tony Young
d0cd38a57c
test for bug 972678
...
--HG--
extra : rebase_source : 60639d14b248ec457a42112aa501ded2739d980e
2014-02-27 11:45:04 +13:00
Karl Tomlinson
59a9465d27
b=913854 pass start time as double parameter and subsample align r=padenot
...
The subsample alignment of resampled buffers provides seamless playback even
when buffer durations are not an integer number of track ticks.
--HG--
extra : rebase_source : 0fcd52e8a9560de881aa73931cf22a02f984d748
2014-02-27 11:45:04 +13:00
Karl Tomlinson
a671ab1fb8
b=913854 capture the full extent of the resampling filter r=padenot
...
The resampling filter means that the buffer influences a greater number of
samples than indicated by just its length. Including the full influence of
the linear filter means that adjacent buffers aligned appropriately will
behave as if they were one extended buffer.
The buffers are not yet aligned more carefully than track ticks, so buffers
play back seamlessly only if their sample rates and lengths are such that
their duration is an integer number of track ticks.
Knowing how far the filter extends before the start time requires
initializing the resampler before buffer processing.
The patch also includes the input latency in the first resampler input
buffer sample count estimate to reduce the number to calls required
to start the resampler.
--HG--
extra : rebase_source : 16d5af79bc5621be830f5956b51f7ff59d490575
2014-02-27 11:45:03 +13:00
Tony Young
f4dadd97b6
test for bug 938022
...
--HG--
extra : rebase_source : 69a7203cb040ef6b33666c2444b8df043dbf7f32
2014-02-24 12:41:47 +13:00
cajbir
10edaa01a7
Bug 976037 - Implement an eviction algorithm for media source extensions - r=kinetik
...
--HG--
extra : rebase_source : c21db9dc093b4021ab5dc192564d5fb3e93e2d2c
2014-02-26 15:33:06 +13:00
L. David Baron
4f04bcdc57
Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
...
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Benjamin Chen
06550d4dae
Bug 970774 - Add display width/height for track encoder. r=rillian
2014-02-21 14:27:41 +08:00
Chris Pearce
12873b0383
Bug 975933 - Increase precision of bug516323.indexed.ogv index's timestamp denominator to prevent precision mismatch causing test failures. r=rillian
2014-02-26 13:36:54 +13:00
Chris Pearce
0516c820f0
Bug 975858 - Ensure that MediaResource dtor always runs on the main thread, making it safe to deref on non-main threads. r=roc
2014-02-26 13:36:54 +13:00
Chris Pearce
fb9c0cbaaf
Bug 975928 - Use our estimate for MP3 duration rather than GStreamer's for buffered range end when fully buffered in MP3/GStreamer. r=alessandro.d
2014-02-26 13:36:54 +13:00
Chris Pearce
f7ea489f0e
Bug 975928 - Make test_buffered.html load media using xhr, so it's deterministic. r=kinetik
2014-02-26 13:36:54 +13:00
Ralph Giles
37e5bce776
Bug 976211 - pref off test_framebuffer.html. r=kinetik
...
This test no longer passes, the failure masked by bug 975640.
Since this feature is deprecated and disabled anyway, just
make the test do nothing if the controlling pref is false.
That way we can re-enable tests, but if the feature is
restored the bitrot in the implementation will be flagged.
Also change the channel count back to 6, since we're reporting
the native value again.
2014-02-24 14:54:00 -08:00