Commit Graph

31253 Commits

Author SHA1 Message Date
Fredrik Lanker
45e7b43682 Bug 989284 - Change the infinite flag when duration is updated. r=roc 2014-03-28 11:41:59 -04:00
Jan Beich
7b04ea5fdd 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
2586d0ca93 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
Ed Morley
7a428f481b Backed out changeset 00fa39c23b44 (bug 778077) for reftest failures 2014-03-28 12:31:29 +00:00
Chris Pearce
eefc2c2db6 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
cf9b85f5a7 Bug 514280 Consistently declare and define IID accessors r=bsmedberg 2014-03-28 08:45:02 +00:00
Neil Rashbrook
757dacf9be Bug 514280 Remove concrete classes from interface maps r=bsmedberg 2014-03-28 08:40:13 +00:00
Phil Ringnalda
7fb1a235f6 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
ced241328f Bug 986787 - Fix -Wreorder warning and other cleanups in MediaEngineTabeVideoSource.cpp. r=rjesup 2014-03-26 00:59:01 -04:00
Chris Pearce
bfe8e04d6a 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
7bc425d1e8 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
186680d83a 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
156d7e387b 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
28d5fefd33 Bug 973915 - Simplify nsScriptLoader::EvaluateScript a bit; r=hsivonen 2014-03-27 21:05:15 +01:00
Ms2ger
4eb83267c9 Bug 984006 - Remove xpcom/ds from local includes; r=ehsan 2014-03-27 21:05:14 +01:00
Ms2ger
93e8b2e6c3 Bug 986860 - Cleanup nsContentUtils::GetDocumentFromScriptContext; r=bholley 2014-03-27 21:05:14 +01:00
Ethan Tseng
e1ff533891 Bug 977518 - [RTSP] Resource leak from RtspMediaResource, RtspController and RTSPSource. r=sworkman 2014-02-27 15:28:18 +08:00
William Chen
1c758b19bd 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
02358ecd6e Bug 984712 - Associate document with existing custom elements registry as specified. r=mrbkap 2014-03-27 11:55:44 -07:00
John Shih
697caff053 Bug 960426 - Part 2: Modifications for IDL change. r=blassey 2014-03-05 11:54:55 +08:00
Ryan VanderMeulen
c5fd173c74 Merge m-c to inbound. 2014-03-26 23:09:54 -04:00
Ryan VanderMeulen
a14baa39be Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Ryan VanderMeulen
679f1b8dda Backed out changeset fea9904b6dec (bug 987433) for leaks on a CLOSED TREE. 2014-03-26 19:44:54 -04:00
Fabrice Desré
874f87e5ff Bug 982491 - Group apps in activities chains in the same process r=cervantes,gene 2014-03-25 21:56:35 -07:00
Wes Kocher
6b9908e2fe Merge inbound to m-c 2014-03-25 19:54:55 -07:00
Star Cheng
50e6403ddf Bug 975955 - Hold a cpu wakelock while playing video. r=roc 2014-03-18 16:44:41 +08:00
Ehsan Akhgari
dbac3cbee7 Bug 984195 - Remove MochiKit.js includes in the canvas tests; r=jrmuizel 2014-03-24 11:31:05 -04:00
Gabor Krizsanits
d4b6762114 Bug 966609 - nsWrapperCache for SandboxPrivate. r=bholley 2014-03-24 16:00:52 +01:00
James Willcox
52b762a06a Bug 981621 - Guard against null GrContext r=gwright 2014-03-24 09:13:55 -05:00
Rik Cabanier
543f9e966c 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
966f17bf77 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
78f52729c0 Bug 986913 - Using setAttributeNS can cause serialisation to fail. r=smaug 2014-03-24 11:20:12 +00:00
L. David Baron
ba666ea10e Bug 986409 - Skip fewer entire reftest directories on B2G. r=roc 2014-03-23 18:44:50 -07:00
ekr
cf68c54b12 Bug 986885 - Fix build problem in fmp4/demuxer. r=nalexander 2014-03-22 20:27:27 -07:00
Ehsan Akhgari
31e7320ffb 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
ee76ef609a Bug 982659 - Fix intermittent orange in test_onerror.xhtml. r=dholbert 2014-03-22 08:01:02 +00:00
Eric Rahm
6af5d95274 Bug 962154 - Use MallocSizeOf to report decoded-video memory. r=cpearce,njn 2014-03-19 14:33:12 -07:00
Garrett Robinson
44a69247e4 Bug 979580: Enable CSP 1.1 {nonce,hash}-source by default r=sstamm 2014-03-21 14:24:53 -07:00
Ehsan Akhgari
da255bec64 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
7426fe9ae6 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
0ee6fbe7a3 Bug 942411 - Set the src of the iframe after adding it to the document 2014-03-21 13:36:11 -04:00
Ryan VanderMeulen
fb1ef82fdf Backed out changeset e9c807b1e3d4 (bug 985257) for bustage. 2014-03-21 10:07:07 -04:00
Rik Cabanier
54ef4176c1 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
c162aad270 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
bc35004647 Bug 987320 - Remove unnecessary null checks for do_QueryFrame arguments. r=bz 2014-03-25 11:36:49 -04:00
Rick Eyre
8524093d1f 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
e528d12f52 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
d61fac3e5a Bug 950076 - Use the return value of GetNodeTextContent for OOM checks. r=jst 2014-03-20 20:51:16 +01:00
Alessio Placitelli
763d77332d Bug 950076 - Propagate OOM errors to innerHTML getters. r=jst 2014-03-19 13:05:03 -04:00
Alessio Placitelli
4f5f640356 Bug 950076 - Add a fallible form of nsAString::Append and Replace and use it in nsTextFragment::AppendTo. r=bsmedberg, r=jst 2014-03-19 13:05:02 -04:00