Carsten "Tomcat" Book
93dadba149
merge b2g-inbound to mozilla-central
2014-03-20 14:07:58 +01: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