Commit Graph

19583 Commits

Author SHA1 Message Date
Wes Kocher
3e4da18062 Merge b2g-inbound to m-c 2014-03-28 16:38:35 -07:00
Ben Kelly
e724a6ff36 Bug 982237: Add skia max size pref. Limit to screen size on b2g. r=snorp 2014-03-27 23:48:22 -04:00
William Chen
bdec492916 Bug 987031 - Use kNamespaceID_Unknown to match any namespace in the web components custom element registry. r=mrbkap 2014-03-27 11:55:44 -07:00
William Chen
50b5e6ff14 Bug 984712 - Associate document with existing custom elements registry as specified. r=mrbkap 2014-03-27 11:55:44 -07: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
Olli Pettay
002131ebed Bug 987433 - DOMTokenList should have a strong reference to its owner so that the API doesn't suddenly start returning empty string. r=khuey 2014-03-28 10:36:47 -04:00
John Shih
6aa0595d71 Bug 960426 - Part 2: Modifications for IDL change. r=blassey 2014-03-05 11:54:55 +08: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
041b6d4b17 Bug 514280 Consistently declare and define IID accessors r=bsmedberg 2014-03-28 08:45:02 +00: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
Ehsan Akhgari
e844abc702 Bug 798158 - Part 0: Do not treat format warnings as errors in a few directories; r=mshal 2014-03-27 16:38:20 -04:00
Ms2ger
7f8abb9f66 Bug 973915 - Simplify nsScriptLoader::EvaluateScript a bit; r=hsivonen 2014-03-27 21:05:15 +01:00
Ms2ger
794257a824 Bug 984006 - Remove xpcom/ds from local includes; r=ehsan 2014-03-27 21:05:14 +01:00
Ms2ger
123b6b346f Bug 986860 - Cleanup nsContentUtils::GetDocumentFromScriptContext; r=bholley 2014-03-27 21:05:14 +01:00
Ethan Tseng
fbbf59cfc8 Bug 977518 - [RTSP] Resource leak from RtspMediaResource, RtspController and RTSPSource. r=sworkman 2014-02-27 15:28:18 +08:00
Ryan VanderMeulen
3e14ec93b2 Merge m-c to inbound. 2014-03-26 23:09:54 -04:00
Ryan VanderMeulen
4dc5242df5 Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Ryan VanderMeulen
4d6e8fe891 Backed out changeset fea9904b6dec (bug 987433) for leaks on a CLOSED TREE. 2014-03-26 19:44:54 -04:00
Fabrice Desré
564fd419ad Bug 982491 - Group apps in activities chains in the same process r=cervantes,gene 2014-03-25 21:56:35 -07:00
Wes Kocher
622986d217 Merge inbound to m-c 2014-03-25 19:54:55 -07:00
Star Cheng
250c97d39b Bug 975955 - Hold a cpu wakelock while playing video. r=roc 2014-03-18 16:44:41 +08:00
Ehsan Akhgari
f81e59b0ae Bug 984195 - Remove MochiKit.js includes in the canvas tests; r=jrmuizel 2014-03-24 11:31:05 -04:00
Gabor Krizsanits
8e3d1d7a05 Bug 966609 - nsWrapperCache for SandboxPrivate. r=bholley 2014-03-24 16:00:52 +01:00
James Willcox
be2d6975dd Bug 981621 - Guard against null GrContext r=gwright 2014-03-24 09:13:55 -05:00
Rik Cabanier
5ef249b3be Bug 985257 - Add implementation for Path2D constructor that takes an SVG path string. r=roc 2014-03-24 09:31:19 -04: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
Robert Longson
b40f8b84a3 Bug 986913 - Using setAttributeNS can cause serialisation to fail. r=smaug 2014-03-24 11:20:12 +00:00
L. David Baron
7715383653 Bug 986409 - Skip fewer entire reftest directories on B2G. r=roc 2014-03-23 18:44:50 -07:00
ekr
9153ae7f62 Bug 986885 - Fix build problem in fmp4/demuxer. r=nalexander 2014-03-22 20:27:27 -07:00
Ehsan Akhgari
762d150c8f Bug 983845 follow-up: Move the header to content/base and enable BrowserFeedWriter for xulrunner as well 2014-03-22 21:34:02 -04:00
Robert Longson
7111180d8b Bug 982659 - Fix intermittent orange in test_onerror.xhtml. r=dholbert 2014-03-22 08:01:02 +00:00
Eric Rahm
dbb0f24d7e Bug 962154 - Use MallocSizeOf to report decoded-video memory. r=cpearce,njn 2014-03-19 14:33:12 -07:00
Garrett Robinson
2995f342c4 Bug 979580: Enable CSP 1.1 {nonce,hash}-source by default r=sstamm 2014-03-21 14:24:53 -07:00
Ehsan Akhgari
27a82cef75 Backed out 2 changesets (bug 957431) because we decided we're keeping Attr.ownerElement in the end
Backed out changeset ab12a8416a1d (bug 957431)
Backed out changeset 188d1e255d40 (bug 957431)
2014-03-21 16:04:09 -04:00
Ehsan Akhgari
9ec4e7397c Backed out 2 changesets (bug 957652) because bug 957431 is being backed out
Backed out changeset 92efd61cfca5 (bug 957652)
Backed out changeset 9d405c64a7bf (bug 957652)
2014-03-21 16:02:21 -04:00
Nathan Froyd
1fc206bc24 Bug 942411 - Set the src of the iframe after adding it to the document 2014-03-21 13:36:11 -04:00
Ryan VanderMeulen
99c262d103 Backed out changeset e9c807b1e3d4 (bug 985257) for bustage. 2014-03-21 10:07:07 -04:00
Rik Cabanier
82602e6861 Bug 985257 - Add implementation for Path2D constructor that takes an SVG path string. r=roc 2014-03-21 09:18:58 -04:00
Olli Pettay
a89d5139a1 Bug 987433 - DOMTokenList should have a strong reference to its owner so that the API doesn't suddenly start returning empty string. r=khuey 2014-03-26 16:04:57 -04:00
Birunthan Mohanathas
cbaedea4c8 Bug 987320 - Remove unnecessary null checks for do_QueryFrame arguments. r=bz 2014-03-25 11:36:49 -04:00
Rick Eyre
e23612048e Bug 987076 - Construct HTMLMediaElement::mTextTrackManager lazily. r=roc
* Remove the TextTrackManager's initialization from the MediaElement's
ctor and add a getter that creates it if we don't have it yet. The public
functions exposed on the MediaElement's IDL now call this getter.
* Also remove the const qualifier from HTMLMediaElement::TextTracks()
as we don't really need it and this function now needs to call
GetOrCreateTextTrackManager() which is non-const.
2014-03-24 11:48:37 -04: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
Alessio Placitelli
651681f247 Bug 950076 - Use the return value of GetNodeTextContent for OOM checks. r=jst 2014-03-20 20:51:16 +01:00