Commit Graph

121 Commits

Author SHA1 Message Date
roytam1 089cacb631 import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1184867: [vp9] P1. VPXDecoder pass DTS to VideoData::Create. r=jya (18c5dfa2f)
- Bug 1184867: [MSE] P2. Update WebMContainerParser to be compatible with new MSE. r=kinetik (8ad865692)
-  Bug 1184867: [MSE] P3. Use WebMDemuxer in TrackBuffersManager. r=jya (957b2f1bf)
- Bug 1185792: [webm] P1. Make MediaInfo.mFrame nsIntRect for visible area. r=jya (af461bb88)
- Bug 1185792: [webm] P2. AndroidDecoderModule requires API 16 or later. r=snorp (a0710615f)
- Bug 1185792: [webm] P3. Enable WebMDemuxer/MediaFormatReader by default. r=kinetik (9c9dbe96d)
- Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku (8dfc42c1f)
- Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu (760512d4f)
- Bug 1156472 - Part 1 - Allow to capture all HTMLMediaElements and AudioContexts for a document. r=baku,padenot (da382bae7)
- Bug 1156472 - Part 2 - Rename MediaEngineWebRTCAudioSource to MediaEngineWebRTCMicrophoneSource. r=jesup (91622741c)
- Bug 1156472 - Part 3 - Implement AudioCaptureStream. r=roc (857eb8ede)
- Bug 1156472 - Part 4 - Add a new MediaStreamGraph API to connect a MediaStream to a capture stream. r=jesup,roc (a3f1a5d9d)
- Bug 1181428 - Add persist option to OriginKey to skip saving of temporal keys. r=mt (9af4b9425)
- Bug 1181428 - Defer persisting until gUM succeeds or persistent permission. r=mt (db55b5e98)
- Bug 1156472 - Part 5 - Add MediaEngineWebRTCAudioCaptureSource as a new audio source, and "audioCapture" as a new MediaSource. r=jesup,bz (bee21be1d)
- Bug 1181428 - Move code to reuse test for active gum or persistent permission. r=mt (be4009601)
- Bug 1181428 - Plumb origin through to success path. r=mt (7f1dba49d)
- bug 1116382 reuse some UTF8toUTF16 code r=bholley (4f2411821)
- bug 1116382 accept abstract strings in NewURIFromString() r=bholley (3f54ab677)
- bug 1116382 resolve MediaSource urls on Source element src attributes when set r=bholley (6a804840e)
- bug 1116382 resolve MediaSource urls on media element src attributes when set r=bholley (44d6e9cd3)
- no need to RemoveMediaElementFromURITable, it is done already in  ShutdownDecoder (7159dc04c)
- bug 1116382 always ShutdownDecoder() so that MediaSourceDecoder alone can manage MediaSource::Detach() r=bholley (d675be4c5)
- no need to RemoveMediaElementFromURITable (dcbb55480)
- Bug 1162639 - Make consistent how to handle MediaStreamURI r=roc (572c17214)
- no need to RemoveMediaElementFromURITable (647db2f47)
- bug 1116382 use MediaSource from resolution of MediaSource urls when set r=bholley (b6055f2f8)
- bug 1116382 no need to check IsMediaSourceURI(mLoadingSrc) once mMediaSource has been set r=bholley (ec34fb8b5)
- bug 1116382 auto revoke MediaSource object URLs r=bholley (b4f6e1847)
- bug 1116382 adjust explict revoke test to fail if revocation fails r=bholley (d2185e611)
- bug 1116382 test opening referenced MediaSource after URL.revokeObjectURL() r=bholley (6d7b80343)
- bug 1116382 test auto-revoking behavior with URL.createObjectURL(MediaSource) r=bholley (70fda515d)
- fix patch error (c56103f58)
- bit of Bug 659285 - Extend media.autoplay.enabled to provide a way to disable untrusted play() invocations. (d1265c47a)
- Bug 1135013 - Remove unused media-eme-metadataloaded notification. r=gerald (248717ff3)
- Bug 1183700 - Don't prevent playback of media elements in a muted tab on desktop, r=ehsan (fffeb70b4)
- Bug 1185303 - HTMLMediaElement should not be paused when visibility changed and when muted by the AudioChannel policy, r=ehsan (954f10541)
- Bug 1156472 - Part 6 - Connect HTMLMediaElement and AudioContext to the capture stream when capturing is needed. r=roc (0a845b985)
- Bug 1156472 - Part 7 - Allow to un-capture an HTMLMediaElement. r=pehrsons,jwwang (e07f287e5)
- Bug 1156472 - Part 8 - Use fatal asserts in AudioChannelUpmix, because it would have crashed anyways. r=roc (9c57a5b32)
- Bug 1157701 - Properly remove usage of Array.prototype.includes(). r=jib (7040e053c)
- Bug 1169338 - Part 3: Do a GC before each webrtc mochitest, so there isn't too much buildup. r=mt (b7f812bff)
- Bug 1156472 - Part 10 - Test AudioCaptureStream. r=pehrsons (f084533a2)
- Bug 1156472 - Part 11 - Unbitrot MediaManager.cpp over jib's changes. r=jib (4b5552125)
- Bug 1156472 - Part 12 - Allow to pipe the AudioCaptureStream into an AudioContext. r=mt,roc (8067c2512)
- Bug 1156472 - Part 13 - Make necessary adjustments for integer audio. r=jesup (deaf8e09e)
- Bug 1156472 - Part 14 - Null check the window, because it can be different during the window's shutdown. r=baku (65351205f)
- missing comment of 1153344 (83297ee81)
- Bug 1183518. Part 1 - move calls to mResource->SetReadMode out of Mediadecoder::{Start,Stop}ProgressUpdates since they are not related to progress update. r=roc. (b78e2f712)
- Bug 1183518. Part 2 - Move update of mIgnoreProgressData to main thread. r=cpearce. (33f73d117)
- Bug 1183518. Part 3 - early bailout from MediaDecoder::NotifyBytesConsumed when shutting down. r=jya. (f4b8234fc)
- Bug 1177452: Ensure start time is always calculated on first frame decoding. r=jwwang (cb4d66300)
- Bug 1185407. Part 1 - have AudioSink::Init() return a promise. r=kinetik. (dca5aee79)
- Bug 1185407. Part 2 - remove unused code. r=kinetik. (aeca11114)
- Bug 1185407. Part 3 - don't shutdown AudioStream prematurely. r=kinetik. (be11cfe89)
- Bug 1190496 - Remove dependency on VideoUtils.h for stack size. r=cpearce (d2b9a9c7c)
- Bug 1186358. Part 1 - Remove dependency on MediaDecoderStateMachine from AudioSink. r=kinetik. (96015551d)
- Bug 1186358. Part 2 - remove unnecessary/insufficient includes. r=kinetik. (6498e2f6e)
- Bug 1186299 - Consolidate AudioSink::PrepareToShutdown and AudioSink::Shutdown into one function. r=kinetik. (e6f755f9e)
- fix include (14742ce82)
- Bug 1184874. Part 1 - fix indentation. r=cpearce. (6f82906b3)
- Bug 1184874. Part 2 - add the ability to know which item is popped from the MediaQueue. r=cpearce. (54a65afc7)
- Bug 1184874. Part 3 - call mDecoder->UpdatePlaybackOffset in On{Audio,Video}Popped and remove MediaDecoderStateMachine::DispatchOnPlaybackOffsetUpdate. r=cpearce. (d280e80ce)
- Bug 1186801 - Remove decoder monitor from AudioSink. r=kinetik. (0fb442870)
2021-08-17 11:19:38 +08:00
roytam1 0b4ed75d7e import changes from `dev' branch of rmottola/Arctic-Fox:
- formatting (49c876691)
- adapted  Bug 1163227: Part5: Increase verbosity content for debugging purposes. r=cpearce (cfca0b7bf)
- Bug 1184634 - Rename MediaPromise to MozPromise. r=gerald (e9617bf70)
- space (c5bafde74)
- Bug 1158293 - Fix ResumeStateMachine()'s seek handling r=cpearce (67dbe7dfc)
- reapply part of Bug 1158448 Part 2 (a953e6c6b)
- Bug 1184634 - Rename "TaskQueue()" accessor to "OwnerThread()". r=gerald (118965bae)
- Bug 1145411: Reduce Apple audio decoder verbosity. r=mattwoodrow (a9f2c4092)
- Bug 1174055 - Remove some now uncalled WMF functions. r=jya (8cddc9d0e)
- Bug 1179094: Use TimeUnit in PlatformDecoderModule. r=cpearce (3d8fd9cd7)
- align warnings to Bug 1154133 - Remove sync dispatches in EMEDecryptor, and mark MediaTaskQueue::SyncDispatch as deprecated. (d93e2f431)
- align some permissions and comments (54eb9e910)
- Bug 1155268 - Add checked methods to convert from an AbstractThread to a concrete type. r=cpearce (5deff5f04)
- align comment (c508b1aaf)
- Bug 857895 - Only enforce tail dispatch if both source and dest support it. r=bholley (2e6d03096)
- Bug 1184634 - Rename MediaTaskQueue to TaskQueue. r=gerald (5f18c2616)
- Bug 1127656 - Remove class inheritance hierarchy from gonk PlatformDeocdeModule. r=ajones (eebf0eb20)
- Bug 1184634 - Move various includes into the mozilla namespace. r=gerald (a9b516578)
- Bug 1190636 - Replace AutoStringVector with Rooted usage; r=njn (5d287ee81)
- Bug 1190911 - Replace AutoIdValueVector with normal Rooted usage; r=jonco (b6c8ce668)
- Bug 1149343 - Followup to fix bustage on a CLOSED TREE (f20f9f1a2)
- Bug 1172841. Set number of WMF decoder threads based on CPU count. r=cpearce (af74b7654)
- Bug 1166760 - Query audio sampling rate & channel number from codec. r=sotaro (ee5fb569a)
-  Bug 1175071 - Remove those codes which handles ADTS. r=jya. (00b1d3dad)
- Bug 1178682 - Reject the decoded sample if timestamp is revert. r=sotaro (4cd029e8c)
2021-07-27 16:39:15 +08:00
roytam1 69d3703748 import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1143575. Reimplement ImageContainer::GetPaintCount to be composition-aware. r=nical (fdae9bbe2)
- Bug 1143575. Let callers of ImageContainer::SetCurrentImages specify frame IDs. r=nical (c3d1be5c7)
- Bug 1143575. Let ImageContainer::SetCurrentImages accept multiple images. r=nical (eca5b7bf4)
- Bug 1179116. Part 1 - clean up code of MediaDecoderStateMachine::MaybeStartPlayback(). r=cpearce. (5a8514857)
- Bug 1179116. Part 2 - clean up code of MediaDecoderStateMachine::FinishDecodeFirstFrame(). r=cpearce. (e42aba701)
- Bug 1179116. Part 3 - remove unused code. r=cpearce. (f49fe1fb2)
- Bug 1143575. Introduce VideoFrameContainer::ClearCurrentFrame(size), and don't increment mFrameID when clearing frames. r=cpearce (5357bf3bc)
- Bug 1143575. Introduce VideoFrameContainer::SetCurrentFrames. r=cpearce (fa56c22fe)
- Bug 1143575. Add MediaQueue::GetFirstElements. r=cpearce (a1d2378b1)
- Bug 1143575. Refactor UpdateRenderedVideoFrames to support pushing multiple frames from the VideoQueue to the ImageContainer. r=cpearce (37de445b6)
- space (2c87961f2)
- Bug 1181504. Part 1 - add assertions to MediaDecoderStateMachine::GetAudioClock(). r=kinetik. (9efc04e7e)
- Bug 1112438 - Make newCurrentFrameTime more accurate while seeking by checking audio & video timestamp boundary in addition. r=cpearce (2bfc18fa7)
- Bug 1146304 - Touch slider bar or tap forward button, the video got stuck 1s then resume playing. r=cpearce (27d966133)
- Bug 1181504. Part 2 - remove MediaDecoderStateMachine::mAudioStartTime. r=kinetik. (564a77d09)
- Bug 1182738. Part 1 - have DecodedStream::GetPosition() return a position including the start time. (613a0c871)
- Bug 1182738. Part 2 - remove MediaDecoderStateMachine::mStreamStartTime. (5c44e9a97)
- Bug 1182737. Part 1 - have DecodedStream keep reference to media queues of MDSM so we don't have to pass them everytime. (53ac5a2ec)
- Bug 1182737. Part 2 - remove unnecessary code. (bd0814e9d)
- Bug 1182737. Part 3 - make start/stop playback of DecodedStream more consistent with that of AudioSink. (b84f1cc01)
- Bug 1183007. Part 2 - remove dependency on MDSM::OnAudioEndTimeUpdate from AudioSink. r=kinetik. (848cf50fb)
- Bug 1183007. Part 2.5 - don't call AudioEndTime() after mAudioSink becomes null. r=kinetik. (2b6ef5079)
- Bug 1184412. Part 1 - remove dependency on MDSM::OnAudioEndTimeUpdate from DecodedStream. r=roc. (680a4346f)
- Bug 1184412. Part 2 - remove code that is not used anymore. r=roc. (8aaa00df2)
- Bug 1184010 - Put Mirrors/Canonicals together. r=jya. (ce4e2de38)
- adapted - Bug 1161901 - Make MDSM::ScheduleStateMachine runs on the state machine task queue only. r=jww (41acdb0e3)
2021-07-23 09:41:15 +08:00
roytam1 7ffe940070 import changes from `dev' branch of rmottola/Arctic-Fox:
- put back VideoIsHardwareAccelerated (1ccd6a84d)
- Bug 1181204 - Prevent use of the decoder outside the reader's taskqueue. r=cpearce (3e85e4af1)
- Bug 1189173 - Drop frames aggressively during internal seek. r=jya (93be063d3)
- Bug 1179909: Build fix. r=me CLOSED TREE (5d35a65d5)
- part of Bug 1160321 - Test whether we can create H.264/AAC decoders before we report we support them. r=mattwoodrow (4efd2b497)
- Bug 1181439: Include init segment range when calling NotifyDataArrived. r=cpearce (fc3406016)
- Bug 1182933: Implement MediaReadAt. r=bholley (c285d05da)
- Bug 1179499 - Assert NS_IsMainThread on a bunch of MediaDecoder methods. r=jww (e6f0f3545)
- Bug 1179110 - Use a Maybe<> to store start time, rather than using -1 as a sentinel. r=jya (9e24b0223)
- bug 1161903 reset mDrainComplete after Flush() as DrainComplete() may be called before Flush() r=mattwoodrow (e49348af4)
- Bug 1171257 - Add force decode ahead to MediaFormatReader r=jya,bholley (5da27853d)
- Bug 1165825 - 1. Release the buffer which contains INFO_FORMAT_CHANGED. 2. Re-trigger the decode task if we still hold a promise. r=sotaro (f0d6c644f)
- Bug 1168778 - Fix crash when seeking: 1. Replace FlushableMediaTaskQueue by MediaTaskQueue. 2. Refact the seek/DecodeAudioDataTask/DecodeVideoFrameTask functions. r=sotaro (6341c41cb)
- put back mEOSVideoCompensation (d3cd0e1e8)
- Bug 1172390 - Align stream blocking of decoded stream with play state of MDSM. r=roc. (f44435942)
- Bug 1179665. Part 1 - move code that remove finished streams into DecodedStream so we don't need to expose GetReentrantMonitor() to the public and it is easier to remove it in the future. r=roc. (78c11a628)
- Bug 1179665. Part 2 - clean up mStreamStartTime since start time of MDSM is now always 0. r=roc. (92c38b802)
- partial  Bug 1140995 - Part 1 - At end of stream, send the last video frame to decoded stream with deviation usec if the last video frame's duration is 0. r=jwwang Bug 1140995 - Part 2: Don't send the audio/video data when the EOS flag is raised because the decoded data is invalid. r=cpearce (ec5a3096b)
- Bug 1179665. Part 3 - move code about sending stream data into DecodedStream. r=roc. (4cd542c56)
- fix space and patch order issues (b244ccd80)
- fix space and patch order issues (b47f0d460)
- Bug 1178718. Part 1 - Remove dependency on decoder monitor from DecodedStream. r=roc. (a92b7dcf4)
- Bug 1178718. Part 2 - No need to acquire the monitor in BreakCycles(). r=roc. (3bb146c76)
- Bug 1179665. Part 4 - remove MDSM::RecreateDecodedStream() which runs on the main thread and doesn't fit into the thread model of MDSM. r=roc. (f68c6c17e)
- Bug 1143575. Make GetClock return a TimeStamp as well as the stream time. r=cpearce (f216a2ed2)
- Bug 1143575. ScheduleStateMachine when the playback rate changes, so we can update the rendered frame queue. r=cpearce (498bf78cf)
- Bug 1143575. Rename clock_time to clockTime. r=cpearce (2d4267233)
- Bug 1143575. Keep currently-rendered frame at the front of the video queue. r=cpearce (6984d2ebc)
- Bug 1143575. Add frame IDs to VideoData. r=cpearce (d44122b91)
- Bug 1179499 - Dispatch NotifyPlayback{Started,Stopped}. r=jww (692af1608)
- Bug 1143575. Remove ClearAllImagesExceptFront because it doesn't do anything. r=nical (410ed1a6a)
- Bug 1143575. Clarify code by renaming method to ClearCurrentImageFromImageBridge. r=nical (97b431685)
- Bug 1143575. Make LayerTreeInvalidation invalidate when an ImageLayerComposite's current frame has changed. r=mattwoodrow (f6cf46087)
- Bug 1143575. Exit composition early if nothing is invalid. r=mattwoodrow (ded3bdf5d)
- Bug 1143575. Fix typo in ImageContainer comment. r=nical (2a372a0d3)
- Bug 1143575. Pass a list of timestamped images to ImageContainer::SetCurrentImages. r=nical (e3fec59dd)
- Bug 1143575. Implement ImageContainer::GetPaintDelay. r=nical (987f5c584)
- Bug 1143575. Implement ImageContainer::GetDroppedCount. r=nical (2e8e19731)
2021-07-22 11:09:18 +08:00
roytam1 021fda588e import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1178938 - Introduce a new mechanism for iterative work and prototype it with RawReader. r=jww (b112c6a8f)
- Bug 1178938 - Copy MediaDecoderReader::DecodeToFirstVideoData into OggReader and label the APIs as explicitly sync. r=jww (76905f360)
- Bug 1178938 - Make MediaDecoderReader::DecodeToFirstVideoData async. r=jww (311d178e7)
- Bug 1178938 - Mirror shutdown-ness from the MDSM to the MD. r=jww (e7e9c473b)
- Bug 1178938 followup: Add missing 'override' keyword to OggDecoder methods Clone() and CreateStateMachine(). rs=ehsan (ea17a3853)
2021-05-17 09:50:50 +08:00
roytam1 6431b48dbc import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1175768 - Remove bogus check. r=jya (6d1b387f4)
- Bug 1175768 - Make the logic in MDSM::NotifyDataArrived apply to mObservedDuration. r=jya (90dcae693)
- Bug 1175768 - Dispatch UpdateEstimatedMediaDuration. r=jya (f003b4646)
- Bug 1175768 - Dispatch NotifyDataArrived and remove the aBuffer argument. r=jya (e6eaf8eb1)
- Bug 1175768 - Misc changes to Intervals/TimeUnit. r=jya (786da5ba2)
- Bug 1174220 - Part 2: Use MediaByteBuffer instead of MediaLargeByteBuffer. r=jya (59fe3c482)
- Bug 1175768 - Use mirroring for buffered ranges. r=jya (5100aba5e)
- Bug 1175768 - Throttle NotifyDataArrived. r=jya (4bb13775b)
- Bug 1178680 - Remove MediaDecoder::Observe as we have MediaShutdownManager. r=cpearce. (ba9b728ea)
- Bug 1178437 - Do the dormant-enabled tracking on the main thread. r=jww,r=jya (b0287df66)
2021-05-12 10:04:12 +08:00
roytam1 502674878a Revert "Revert recent dom/media related changes. This should hopefully restore stability as 27 March 2021 build."
This reverts commit c5b776d07a.
2021-05-12 09:49:08 +08:00
roytam1 c5b776d07a Revert recent dom/media related changes. This should hopefully restore stability as 27 March 2021 build.
This commit will effectively revert following changes (in chronological order):
- Bug 1128380: Make AmpleVideoFrames calculation dynamic. r=cpearce (e1e11d289)
- Bug 1161901 - Sprinkle more assertions and fix some formatting. r=jww (1a008614e)
- Bug 1152218 - Have a larger tolerance to decide if video data is low or not. r=cpearce. (72dc49d9b)
- indent fix (b6fe75862)
- Bug 1161901 - Relax assertion. r=jww (f20d88804)
- fix indentation (c4b2356bd)
- Bug 1162381. Part 2 - refactor DecodedStreamData::mInitialTime to be consistent with AudioSink when computing stream position. r=roc. (8574a32a1)
- Bug 1172778 - Update readyState when audio samples are popped by AudioSink. r=cpearce. (3f64e7151)
- Bug 1172392 - Align update of audio end time of decoded stream with that of AudioSink. r=roc. (01e7ba014)
- Bug 1173001 - Initialize reader task queue in the constructor. r=jww (efecb4a62)
- Bug 1173001 - Enable tail dispatch for the decode task queue. r=jww (11e8feaad)
- Bug 1173289 - Remove WakeDecoderRunnable from MDSM. r=roc. (9782c6dd6)
- Bug 1173248 - Remove the workaround introduced to MDSM by bug 951278. r=cpearce. (43ecb0e42)
- Bug 996238 - Add test for asymmetric media isolation across PC. r=ekr (1a41248b4)
- Bug 1153314 - Test IdP login flow, r=jib (1b143d80a)
- Bug 1155898 - Use fetch instead of XHR for IdP. r=jib (ac9bc2d01)
- missing part of Bug 1171311: P4. Don't compute start time for MSE. (d5e48284d)
- Bug 1163223 - Remove MediaDecoderStateMachine::mStartTime. r=jww CLOSED TREE (333b0e904)
- Bug 1172826 - remove unnecessary checks for MediaDecoderStateMachine::mPlaybackRate. r=kinetik. (98c32f91d)
- Bug 1143575. Rename AdvanceFrame to UpdateRenderedVideoFrames. r=cpearce (987617a9d)
- Bug 1172264 - Track the MDSM's duration as a TimeUnit and eliminate the separate concept of 'end time'. r=jww (49f8f2442)
- Bug 1172264 - Require Manual disconnection for all mirrors. r=jww (845e57496)
- Bug 1172264 - Switch MediaDecoder's mDuration represenation to a double. r=jww (dfde6482d)
- Bug 1172264 - Mirror duration from the MDSM to the MediaDecoder. r=jww (a744fd08f)
- Bug 1164463 - Clean up MediaManager shutdown to be reliable and avoid holding locks while Joining a thread. r=jib (636e2e5dc)
- missing part of Bug 1154389 - Stop leaking DeviceSuccessCallbackRunnable objects (2f8906119)
- Bug 1169665 - Have enumerateDevices return empty array on zero devices instead of fail. r=jesup (f83fcb269)
- Bug 1162720 - enumerateDevices visits main thread for profileDir. r=jesup (20687dcb7)
- Bug 1173255 - Cleanup MediaManager e10s code in prep for deviceId constraint. r=jesup (43496fe28)
- Bug 1172264 - Mirror duration from the MDSM to the MediaDecoderReader and remove MDSM::GetDuration. r=jww (369a3d1b4)
- Bug 1172264 - Route mExplicitDuration directly from the mediasource code to MediaDecoder, and stop passing an argument to DurationChanged. r=pending=jww (b429dfe41)
- Bug 1172264 - Watch mStateMachineDuration, and stop manually firing DurationChanged. r=jww (54091368c)
- Bug 1037389 - add support for deviceId in gUM constraints (merged 11 patches). r=smaug, r=jesup (bc6f9640d)
- Bug 1180748 - Unbreak building with --disable-webrtc. r=jesup (b5d53b666)
- CLOSED TREE. Bug 1174077 - send silence instead of nothing to the decoded stream in CORS case. r=roc. (cf576aac9)
- Bug 1177466 - Clean up places calling MaybeStartPlayback() in MediaDecoderStateMachine. r=cpearce (a2ef0f47b)
- Remaining of Bug 1168008 - Replace 'Consumer' with 'Request' in MediaPromise (4e77e4f42)
- bug 1137076 remove declaration of undefined OmxDecoder::ProcessCachedData() r=edwin (90ef83ee9)
- bug 1137076 mark some methods as private r=edwin (e9f4dd0a1)
- Bug 1173001 - Fix up some task queue naming to make MediaDecoderReader consistent with MDSM. r=jww (879b186ea)
- Bug 1173641 - Hoist shutdown promise resolution into a helper. r=jww (1a02bd90a)
- Bug 1173641 - Null out the thread pool when resolving shutdown. r=jww (ab3f723d5)
- Bug 1173641 - Remove now-unnecessary null-out in MediaDecoderReader::BreakCycles. r=jww (3330778c6)
- Bug 1173656 - Disallow TrackID reuse in TrackUnionStream. r=roc (7f4da1ea2)
- Bug 1175768 - Implement SilentReadAt. r=jya (ece3c2ffa)
- Bug 1178437 - Assert OnTaskQueue for most of the remaining MDSM methods. r=jww (da13ec549)
- Bug 1178437 - Remove ReadOnWrongThread. r=jww (f9cf8946d)
- Bug 1178437 - Dispatch SetFragmentEndTime. r=jww (740ce9882)
- Bug 1178437 - Make mRealTime const and allow it to be accessed on any thread. r=jww (a65c22f1f)
2021-05-01 11:29:34 +08:00
roytam1 3d36fa43e7 import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1173641 - Hoist shutdown promise resolution into a helper. r=jww (1a02bd90a)
- Bug 1173641 - Null out the thread pool when resolving shutdown. r=jww (ab3f723d5)
- Bug 1173641 - Remove now-unnecessary null-out in MediaDecoderReader::BreakCycles. r=jww (3330778c6)
- Bug 1173656 - Disallow TrackID reuse in TrackUnionStream. r=roc (7f4da1ea2)
- Bug 1175768 - Implement SilentReadAt. r=jya (ece3c2ffa)
- Bug 1178437 - Assert OnTaskQueue for most of the remaining MDSM methods. r=jww (da13ec549)
- Bug 1178437 - Remove ReadOnWrongThread. r=jww (f9cf8946d)
- Bug 1178437 - Dispatch SetFragmentEndTime. r=jww (740ce9882)
- Bug 1178437 - Make mRealTime const and allow it to be accessed on any thread. r=jww (a65c22f1f)
- Bug 1139964 part 1. Factor out the guts of BackstagePass::Resolve and BackstagePass::Enumerate to allow reuse for other globals that want to opt in to Exposed=System WebIDL annotations. r=smaug (d5eb8c704)
- Bug 1139964 part 2. Add classinfo helpers for the various message manager stuff to install WebIDL Exposed=System things on those globals. r=smaug (47085f2a6)
- Bug 1139964 part 3. Add a test. r=bzbarsky (d87e0907b)
- Bug 1130028 - Custom elements, set registered prototype in compartment of caller of registerElement. r=mrbkap (5bd643614)
- Bug 1130028 - Send inputmethod-contextchange to systemapp to hide keyboard when frame crash. r=yxl (1e100121f)
- Bug 1156629 - OpenGL core context deprecated default VAO. r=jgilbert (5ecabb650)
-  Bug 1110120 - Remove use of UniquePtr for XFB and UB tracking.; r=smaug (92ebc132a)
- Bug 1167504 - Part 11: Clean up buffer binding constraints. r=jgilbert (4f3005203)
- Bug 1167504 - Part 13: Unbind buffers from cached state on buffer deletion. r=jgilbert (bb9e3f53d)
- Bug 1180523 - Part 1: Store the audio mute/volume information on the outer window; r=baku (3b686c6b9)
- line endings dos->unix (d7491a87c)
- Bug 1153258 - directly instantiate nsStandardURL in nsChromeProtocolHandler.cpp; r=bsmedberg (01150c663)
- Bug 1175344 - Include nsContentUtils.h explicitly to avoid compile error on unified building. r=ehsan (10a3d42ac)
- Bug 959752 - Make the network predictor work under e10s. r=mcmanus (3b46a6b65)
- Bug 1159747 - delete h2 static compression table in such a way to avoid crashes after network changes. r=mcmanus (ed34f8d80)
- Bug 1173016 - Cache the basic waveform PeriodicWaves. r=karlt (d64c962f0)
- part of Bug 1165816 - Cancel remote application reputation requests after a certain timeout. r=gcp (4cdc98d99)
- Bug 1082837 - Call content policies on cached image redirects in imgLoader::ValidateSecurityInfo. Content policies check the last hop (final uri) of the cached image. For Mixed Content Blocker, we do an additional check to see if any of the intermediary hops went through an insecure redirect. r=smaug, feedback=seth (ffaf3debe)
- Bug 1082837 - Use nsresult for static ShouldLoad and use NS_IMETHODIMP for nsIContentPolicy::ShouldLoad(). CLOSED TREE (acde35e25)
2021-04-13 09:40:42 +08:00
roytam1 aa4b6876ee import changes from `dev' branch of rmottola/Arctic-Fox:
- CLOSED TREE. Bug 1174077 - send silence instead of nothing to the decoded stream in CORS case. r=roc. (cf576aac9)
- Bug 1177466 - Clean up places calling MaybeStartPlayback() in MediaDecoderStateMachine. r=cpearce (a2ef0f47b)
- Remaining of Bug 1168008 - Replace 'Consumer' with 'Request' in MediaPromise (4e77e4f42)
- bug 1137076 remove declaration of undefined OmxDecoder::ProcessCachedData() r=edwin (90ef83ee9)
- bug 1137076 mark some methods as private r=edwin (e9f4dd0a1)
- Bug 1173001 - Fix up some task queue naming to make MediaDecoderReader consistent with MDSM. r=jww (879b186ea)
2021-04-10 17:20:42 +08:00
roytam1 2f3df18559 import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1172264 - Mirror duration from the MDSM to the MediaDecoderReader and remove MDSM::GetDuration. r=jww (369a3d1b4)
- Bug 1172264 - Route mExplicitDuration directly from the mediasource code to MediaDecoder, and stop passing an argument to DurationChanged. r=pending=jww (b429dfe41)
- Bug 1172264 - Watch mStateMachineDuration, and stop manually firing DurationChanged. r=jww (54091368c)
- bug 1126065 - Make JS callers of ios.newChannel call ios.newChannel2 in dom/browser-element. r=sicking (8c38534ed)
- Bug 1144015 - (Browser API) mozbrowseropentab support. r=kchen (8b1eecb4e)
- Bug 1143650: Update webref failure links r=karlt (b3c94f173)
- Bug 1172264 - Mark WPT as succeeding. r=jya (664350c56)
- Bug 1141029 - Disabling mochitests on Mulet with parity to B2G Desktop for taskcluster. r=ahal (73bb186cb)
- Bug 1144080 - Disable mochitests on Mulet for TaskCluster. r=ahal (0b71b6a05)
- Bug 1145407: Add mochitests that cause multiple tracks of the same type to be placed in the same remote stream. r=mt (263770e16)
- Bug 1148649: Reenable video multistream mochitests on debug e10s. r=drno (f7674fe4a)
- part of Bug 1094764 - Implement AudioContext.suspend and friends. @ (baa450713)
- Bug 1166803 - Add an `msg` tag to mochitest.ini in dom/media/*. r=jesup (5284df8b2)
- Bug 1166659 - Add mochitest tags for webaudio and webrtc. r=jesup, r=padenot (f5424f26f)
- Bug 1087551: updated tests around addIceCandidate(). r=jib (f28cde40b)
- Bug 1169338 - Part 1: Re-enable a subset of the webrtc mochitests on B2G emulator and Mulet. r=mt (9c0f8c2da)
- Bug 1143827 - remove default stun server. r=abr,bsmedberg (f1e306a95)
- Bug 1169338 - Part 2: Extend ICE timeouts since mochitests are frequently run on systems that are performance constrained. r=mt (da6147576)
- Bug 1155493 - Part 1: Add CaretStateChangedEvent and corresponding utility function. r=roc, sr=smaug (9d710ad21)
- Bug 995394: Removed parts of BrowserElementPanning.js that are only used when APZ is disabled and added that to a separte file BrowserElementPanningAPZDisabled.js r=botond, a=RyanVM (8b76bca9f)
- Bug 1138252 - Load BrowserElementPanning.js only if touch events are enabled. r=botond (30f5f3197)
- Bug 1155493 - Part 2: Event hook for mozbrowser element. r=kanru (6f6db8248)
- Bug 1162844 - Add meta name="viewmode" to have configurable VR experiences. r=fabrice (07d6d0736)
- Bug 1163961 - Browser API: Page search. r=kchen, r=ehsan (df0c37dfa)
- Bug 1179718 - Convert BrowserElement.webidl to use CheckAllPermissions. r=bz (4a92b2c7d)
- Bug 1147819 - Any media element should be stopped by the AudioChannelService when the window is destroyed, r=ehsan (e949db77f)
- Bug 1153915 - Null check the window in AudioChannelService::WindowDestroyedEnumerator(); r=baku (b38261d9d)
- Bug 1089526 - Change speaker state. r=baku (8dbf54b04)
- Bug 1157121 - Add speaker status checking. r=baku (ec5416680)
- Bug 1037389 - add support for deviceId in gUM constraints (merged 11 patches). r=smaug, r=jesup (bc6f9640d)
- Bug 1180748 - Unbreak building with --disable-webrtc. r=jesup (b5d53b666)
2021-04-08 11:18:21 +08:00
roytam1 6f81d7d0dc import changes from `dev' branch of rmottola/Arctic-Fox:
- namespace comment (0548ea8a8)
- Bug 1167411 - Add JSAutoStructuredCloneBuffer::abandon, r=jorendorff (6589a8900)
- Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent (4c533d3ca)
- Bug 1172264 - Track the MDSM's duration as a TimeUnit and eliminate the separate concept of 'end time'. r=jww (49f8f2442)
- Bug 1172264 - Require Manual disconnection for all mirrors. r=jww (845e57496)
- Bug 1172264 - Switch MediaDecoder's mDuration represenation to a double. r=jww (dfde6482d)
- Bug 1172264 - Mirror duration from the MDSM to the MediaDecoder. r=jww (a744fd08f)
- No bug. Refactor GC type annotations, re=terrence (b6bc5723e)
- Bug 1132744 - Update set of GC types, r=sfink (935175adb)
- Bug 967031 - Rename DumpHeapComplete to DumpHeap; r=terrence (337391745)
- Bug 1169097 - Remove CountHeap; r=sfink (074fdb34c)
- Bug 1169086 - Use virtual dispatch to implement callback tracer; r=jonco, r=mccr8 (667218a33)
2021-04-03 23:50:45 +08:00
roytam1 5bd78e063a import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1155898 - Fetch support for running outside of window/worker. r=nsm (b172b0e05)
- Bug 996238 - Add test for asymmetric media isolation across PC. r=ekr (1a41248b4)
- Bug 1153314 - Test IdP login flow, r=jib (1b143d80a)
- Bug 1155898 - Use fetch instead of XHR for IdP. r=jib (ac9bc2d01)
- missing part of Bug 1171311: P4. Don't compute start time for MSE. (d5e48284d)
- Bug 1163223 - Remove MediaDecoderStateMachine::mStartTime. r=jww CLOSED TREE (333b0e904)
- Bug 1172826 - remove unnecessary checks for MediaDecoderStateMachine::mPlaybackRate. r=kinetik. (98c32f91d)
- Bug 1143575. Rename AdvanceFrame to UpdateRenderedVideoFrames. r=cpearce (987617a9d)
2021-04-02 11:53:17 +08:00
roytam1 bb8d235286 import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1143537 - Part 1: Fix test numbering. r=jdaggett (b991d2fca)
- Bug 1143537 - Part 2: Test descriptor getters for CSS-connected FontFaces when the descriptor isn't present. r=jdaggett (2ed363737)
- Bug 1143537 - Part 3: Serialize unicode-range without leading zeroes. r=jdaggett (f3e6cfe5f)
- Bug 1143537 - Part 4: Serialize FontFace unicodeRange and fontFeatureBug 1143537 - Part 4: Serialize FontFace unicodeRange and fontFeature (acf97f1c6)
- Bug 1143537 - Part 5: Test status of FontFace and FontFaceSet with @font-face rules. r=jdaggett (477d01717)
- Bug 1145506 - Make FontFace constructor fail on invalid src strings but otherwise create user font entries immediately. r=jdaggett (7c19fa8e7)
- Bug 1153628 - Break FontFaceSet <-> UserFontSet cycle when a document's pres shell is going away. r=mccr8 (280ecbcbc)
- Bug 1152647 - Part 1: Test. r=jdaggett (802141c54)
- Bug 1152647 - Part 2: Ignore requests to add/delete a rule-backed FontFace to/from a FontFaceSet. r=jdaggett (2dc5f06a9)
- Bug 1162855 - Traverse FontFaceSet's mUserFontSet's pointer back to the FontFaceSet. r=smaug (eb86c10d9)
- Bug 1163449 - Remove OOM check when creating new nsFontFaceLoader. r=jdaggett (67c23c744)
- Bug 1163865 - Remove [Throws] from FontFaceSet.delete. r=smaug (c83f95505)
- Bug 1173001 - Initialize reader task queue in the constructor. r=jww (efecb4a62)
- Bug 1173001 - Enable tail dispatch for the decode task queue. r=jww (11e8feaad)
- Bug 1161413 - Part 1: Create FontFaceSet with a document rather than a pres context. r=jdaggett (1d5e642c7)
- Bug 1161413 - Part 2: Create FontFace objects with a FontFaceSet rather than a pres context. r=jdaggett (0076f1907)
- Bug 1161413 - Part 3: Only reflow from the font face loader if we have a pres context. r=jdaggett (7a6aab61a)
- bug 1144602 - preconnect test handler should only count 1 syn r=test-only (4d6022758)
- bug 1144602 - test_rel_preconnect orange r=test-only (05dac1e9f)
- Bug 1162243 - add anonymous speculative connections r=hurley (6bd6bffc3)
- bug 1174152 - crossorigin attribute for link rel=preconnect r=hsivonen (7b1178fa4)
- Bug 1173289 - Remove WakeDecoderRunnable from MDSM. r=roc. (9782c6dd6)
- Bug 1161413 - Part 4: Move FontFaceSet ownership from nsPresContext to nsIDocument. r=smaug (bc9dc2b87)
- Bug 1161413 - Part 5: Cancel font loads on FontFaceSet destruction. r=jdaggett (37595e28e)
- Bug 1161413 - Part 6: Update test assertion annotations. r=jdaggett (23c93ca28)
- Bug 1161413 - Part 7: Test Font Loading API in a display:none iframe. r=jdaggett (377222287)
- Bug 1173248 - Remove the workaround introduced to MDSM by bug 951278. r=cpearce. (43ecb0e42)
- Bug 1163879 - Remove FontFaceSet::mUnavailableFontFaces. r=jdaggett (b86a68998)
- Bug 1155015 - Hide FontFaceSet.load() until we implement it. r=bzbarsky (8ba0953f0)
- Bug 1072102 - Part 1: Implement FontFaceSet load and check. r=jdaggett,bzbarsky (7f4c8c7f1)
- Bug 1143995 - Remove unnecessary layout flushes from test_font_loading_api.html. r=jdaggett (38a3df578)
- Bug 1146199 - Return empty string from FontFace.family if the FontFace was constructed with an invalid family name. r=jdaggett (dd2d9b6eb)
- Bug 1072102 - Part 2: Tests. r=jdaggett (5966dd4ac)
- Bug 1179675 - Make FontFaceSet.cpp compile as part of UNIFIED_SOURCES. r=jdaggett (665712d80)
- Bug 1134096 - Revise docs for ::NewChannel2, ::GetChannelPrincipal and add deprecation warnings (r=tanvi,sicking) (64fe28638)
- Bug 647010 - Limit when HTTP authentication dialog is shown. Block cross-origin http auth prompts with pref. r=mayhemer, r=tanvi (bf3f529d0)
- Bug 1147699 follow-up: Disable the plugin test on Mulet (bdca19965)
- Bug 1168676 - Switch off embed/object ServiceWorker interception. r=ehsan (9d0b09b66)
- Bug 1125325 - Store TabParents with their WindowRoot. r=smaug (9e651f902)
2021-04-02 00:12:09 +08:00
roytam1 c7618a1247 import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1128380: Make AmpleVideoFrames calculation dynamic. r=cpearce (e1e11d289)
- Bug 1161901 - Sprinkle more assertions and fix some formatting. r=jww (1a008614e)
- Bug 1152218 - Have a larger tolerance to decide if video data is low or not. r=cpearce. (72dc49d9b)
- indent fix (b6fe75862)
- Bug 1161901 - Relax assertion. r=jww (f20d88804)
- Bug 1155500: Have nsAutoPtr transfers ownership when copying related objects. r=froydnj (eddd7e87b)
- Bug 1188203 - Fix more constructors in XPCOM; r=froydnj (51eb10519)
- Bug 1179787 - part 1 - forward StorensRefPtrPassByPtr's constructor argument; r=botond (9af32af89)
- Bug 1179787 - part 2 - add template logic for smart pointer template arguments in NS_NewRunnableMethod*; r=botond (380172704)
- fix indentation (c4b2356bd)
- Bug 1162381. Part 2 - refactor DecodedStreamData::mInitialTime to be consistent with AudioSink when computing stream position. r=roc. (8574a32a1)
- Bug 1172778 - Update readyState when audio samples are popped by AudioSink. r=cpearce. (3f64e7151)
- Bug 1172392 - Align update of audio end time of decoded stream with that of AudioSink. r=roc. (01e7ba014)
- Bug 1152023 - Null check root frame when marking frames dirty in response to a user font load. r=jdaggett (e6ca132fd)
- Bug 1162366 - Fix spelling of nsPresContext::mSupressResizeReflow and associated methods. r=dholbert (35d4ce30c)
- Bug 1154148 - Create a FontFaceSet's UserFontSet eagerly. r=jdaggett (29d2b2b57)
- Bug 1154150 - Only create a FontFaceSet if we find @font-face rules. r=jdaggett (cf4b6979a)
- Bug 1144450 - Part 1: Fix a typo in test_font_loading_api.html. r=jdaggett (8117e267b)
- Bug 1144450 - Part 2: Don't replace a FontFaceSet's ready promise when there are no loading FontFaces. r=jdaggett (196fbeb2d)
- Bug 1144450 - Part 3: Replace uses of mDispatchedLoadingEvent with mStatus, as they're equivalent. r=jdaggett (bbf1e2324)
- Bug 1144450 - Part 4: Replace uses of mReadyIsResolved with mStatus, as they're equivalent. r=jdaggett (ddb5dbce4)
- Bug 1144450 - Part 5: Fix/add tests for not firing loadingdone/loadingerror when adding an already-loaded/error FontFace to a FontFaceSet. r=jdaggett (821bea9fc)
- Bug 1144977 - Part 2: Tests. r=jdaggett (14bcd5b00)
- Bug 1145937 - Don't set FontFaceSet status to Loaded between a font download completion and the document reflow. r=jdaggett (444fb88d1)
2021-03-29 10:34:24 +08:00
roytam1 3fcb35e62d import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1163719 - Store startup cache entries in loading order; r=nfroyd (410ef75ff)
- Bug 1072313: P1. Make MacIOSurface refcount thread-safe. r=mattwoodrow (3be93ce91)
- Bug 1072313: P2 Prevent instanciating MacIOSurfaceLib directly. r=mattwoodrow (8d5d7e2e5)
- Bug 1178513 - Export libxul symbols needed by ACL. r=mattwoodrow (b01035079)
- Bug 1143575. Remove unused CompositableClient::OnTransaction. r=nical (8901f1fe8)
- Bug 1143575. Convert SetCurrentImage(nullptr) callers to call ClearAllImages instead. r=nical (1a89f04f0)
- Bug 1143575. Fix indent. r=cpearce (6b8f4e725)
- Bug 1179111 part 1 - Implement CSSAnimation.animationName; r=smaug, r=jwatt (0d27b5d2e)
- Bug 1179111 part 2 - Implement CSSTransition.transitionProperty; r=smaug, r=jwatt (f395dfc55)
- Bug 1144615 - 2 - Adds a playbackRate selector widget to the animation panel; r=vporof (d538eb734)
- Bug 1144615 - 1 - Minor css fixes in animation panel; r=bgrins (661a6feab)
- Bug 1144615 - 3 - Tests for the playbackRate selection UI in the animation panel; r=vporof (82a4b4f91)
- Bug 1120833 - 3 - Refresh the list of animation widgets when new animations are added; r=miker (f833abeb2)
- Bug 1153903 - Get rid of logspam during devtools talos test runs;r=pbrosset (77f1968d2)
- Bug 1155653 - Preview animation target nodes in animationinspector panel; r=bgrins (61f197d75)
- Bug 1151018 - Refresh the list of Animation widgets when the animation panel loads; r=bgrins (9351a0b64)
- Bug 1155663 - Show animations as synchronized time blocks in animation inspector; r=bgrins (66f544aea)
- Bug 1149999 - 2 - Send animation removed events to the animation-panel for re-starting transitions; r=past (2913b4d4b)
- Bug 1179111 part 3 - Make DevTools read the appropriate name property; r=pbrosset (6dfecd643)
- Bug 1179111 part 4 - Remove KeyframeEffectReadOnly.name; r=smaug (85894f42f)
- Bug 1004383 follow-up: Mark ElementPropertyTransition::AsTransition() as override (f37e36e8a)
- Bug 1179111 part 5 - Remove Name() methods; r=jwatt (8909c4781)
- Bug 1143575. Remove Theora-only duplicate frame optimization. r=cpearce (fe53385ec)
- Bug 1172825 - MDSM playback should depend on IsPlaying() instead of |mPlayState|. r=cpearce. (9a9cf656d)
- Bug 1163223 - Switch test_buffered to use timeupdate rather than loadedmetadata. r=cpearce (b91463faf)
- Bug 1163223 - Move bailout case in GetBuffered into the readers. r=jww (c875c1d71)
- Bug 1161901 - Dispatch MediaDecoderReader::SetIdle directly. r=jww (a9ad2582d)
- Bug 1161901 - Use ProxyMediaCall instead of MDSM::ShutdownReader. r=jww (c866b524c)
- Bug 1161901 - Hoist MDSM shutdown logic into MDSM::Shutdown and remove brittle requirement that RunStateMachine only happen once in SHUTDOWN state. r=jww (0d81368d6)
- Bug 1153149 - Remove IsWaitingMediaResources() from PlatformDecoderModule. r=jya (70bd67ee3)
- Bug 1161984 - Get rid of IsWaitingMediaResources() in MP4Reader. r=jya (94dd1f58c)
- Bug 1163223 - Introduce StartTimeRendezvous and route samples through it. r=jww (b2a80c47a)
- Bug 1163223 - Use AwaitStartTime to handle metadata end time. r=jww (8e22fc3fd)
- Bug 1163223 - Use AwaitStartTime to invoke MediaDecoderReader::SetStartTime. r=jww (6141f5303)
- Bug 1172387 - Clean up code of MediaDecoderStateMachine::StopAudioThread. r=kinetik. (717640128)
- Bug 1163223 - Adjust incoming samples for start time. r=jww (c4029f934)
2021-03-25 09:18:42 +08:00
roytam1 cbff465051 import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1167420 - Handle fallible AppendElement call in netwerk/base/Dashboard.cpp. r=valentin (a485b8990)
- Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj (12a529a0e)
- Bug 1172584 - Avoid coping FallibleTArray in SendRequestRunnable constructor. r=dragana (c3a4a4253)
- Bug 948466: Rename gfxPangoFonts to gfxFontconfigFonts. r=nical (43eed1f5f)
- Bug 968520 - Add mozilla::fallible to more FallibleTArray calls. r=froydnj (339968a1d)
- Bug 1166544 - Assume successful InsertElementAt calls in DOMSVG*List::MaybeInsertNullInAnimValListAt. r=dholbert (cf687dad7)
- Bug 968520 - Add mozilla::fallible to FallibleTArray::InsertElementAt calls. r=froydnj (cc5c68ff2)
- Bug 968520 - Add mozilla::fallible to more FallibleTArray::InsertElementsAt calls. r=froydnj (66df1d034)
- Bug 1165735 - Make ThreadSharedFloatArrayBufferList::mContents infallible. r=roc (eda2839db)
- Bug 1166544 - Use ReplaceElementAt instead of Clear and InsertElementAt in SVGMotionSMILType::Add. r=dholbert (474887a8c)
- Bug 1167418 - Check AppendElement call in MediaQueryList. r=heycam (b6ed6d153)
- Bug 1167418 - Use nsTArray instead of FallibleTArray in MediaQueryList. r=heycam (c9e3816d0)
- Bug 1167418 - Follow-up: Fix bustage (5015e91ce)
- Bug 1174220 - Part 1: Remove capacity constructor of MediaLargeByteBuffer. r=jya (66819d3e4)
- Bug 1179282 - Use nsTArray::Assign instead of the assignment operator in dom/svg/. r=dholbert (cb3d43c19)
- Bug 968520 - Add nsTArray::Assign. r=froydnj (e5eccf354)
- Bug 1182277, don't leak when using nsAutoTArray inside nsTArray, r=nfroyd (bba32394c)
- Bug 1143575. Avoid including Android's GraphicBuffer.h from LayersTypes.h. r=nical (99e4e2816)
- Bug 1143575. Avoid use of COMPARE macro which can clash with Android headers. r=bent (99cfc74c4)
- Bug 1143575. Add RefBase #include to stagefright stubs. r=cpearce (f9e327600)
- Bug 1143575. test_HaveMetadataUnbufferedSeek should not wait for canplay since preload='metadata' elements may not fire canplay. r=cpearce (f1b0eee27)
- Bug 1143575. Make GL context current before cleaning up programs. r=nical (d7b05b2bd)
- partial Bug 1143575. Android's screenshotting code should invalidate the LayrManagerComposite to ensure composition will actually happen. r=nical (58fb296ab)
- Bug 1143575. Remove unused Image::IsSentToCompositor tracking. r=nical (808d0b3f0)
- Bug 1143575. Remove unused CompositionNotifySink. r=nical (98a332305)
- Bug 1143575. Remove unused VideoFrameContainer::Reset. r=nical (e292bc722)
- Bug 1143575. Rename mAsyncTransactionTrackeres to mAsyncTransactionTrackers. r=nical (df71ebf4f)
- Bug 1143575. Remove unused ImageContainer::ResetPaintCount. r=nical (a92c5bf6e)
- Bug 1143575. Remove unused VideoFrameContainer::ClearCurrentFrame aResetSize parameter. r=nical (5d3c9b83a)
- Bug 1143575. Remove unused ReturnReleaseFence. r=nical (9d6ea92b5)
- Bug 1143575. LayerManagerComposite can't get END_NO_COMPOSITE. r=mattwoodrow (0c5c364b5)
- Bug 1143575. Remove unused AttachAsyncCompositable overload. r=nical (5fd3d4f6d)
- Bug 1143575. Rename ImageBridgeChild's AutoRemoteTextures to AutoRemoveTexturesFromImageBridge to avoid clashes with later work. r=nical (34d67fcc0)
- Bug 1143575. Fix some code formatting. r=nical (1d7f30f60)
- Bug 1143575. Move mLayer from ImageClientBridge up into its superclass ImageClient. r=nical (40c902a36)
- Bug 1127336 - Label HW-decoded frames with correct origin. - r=vlad (fd1580bcd)
- Bug 1167504 - Part 1: Remove BindableName - Framebuffer. r=jgilbert (b3133eee6)
- Bug 1167504 - Part 2: Remove BindableName - Renderbuffer. r=jgilbert (155a7e796)
- Bug 1167504 - Part 3: Remove BindableName - Sampler. r=jgilbert (8c5c68960)
- Bug 1167504 - Part 4: Remove BindableName - Texture. r=jgilbert (28077db04)
- Bug 1167504 - Part 5: Remove BindableName - Transform Feedback. r=jgilbert (4fd839598)
- Bug 1170454: Fix up instance type for VAOs. r=smaug,r=jgilbert (cc62d993a)
- Bug 1167504 - Part 6: Remove BindableName - Vertex Array. r=jgilbert (1d54d5bc1)
- Bug 1048724 - Implement GetBufferSubData. r=jgilbert, r=smaug (06570aa84)
- Bug 1167504 - Part 7: Remove BindableName - Buffer. r=jgilbert (b2ddf3fc6)
2021-03-18 11:57:10 +08:00
roytam1 3ea1cc0dd0 import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj (034b6056f)
- Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj (38739377e)
- Bug 1165515 - Part 5: Convert instances of PR_LOG_ALWAYS. r=froydnj (867725f77)
- Bug 1165515 - Part 7: Convert PR_LOG_DEBUG + 1 to PR_LOG_VERBOSE. rs=froydnj (afe55d0b8)
- Bug 1165515 - Part 8: Convert log level 6 to PR_LOG_VERBOSE. r=jesup (d01127f2c)
- Bug 1165515 - Part 9: Remove instances of using numeric log levels 15. rs=froydnj (2ff8b0056)
- Bug 1165515 - Part 10: Convert mtransport/logging.h to use PR_LOG levels. r=ekr (a0334c607)
- Bug 1165515 - Part 11: Align CSFLogLevel with PR_LOG levels. r=jesup (ca57ae88a)
- Bug 1165515 - Part 12: Convert nsPluginLogging to use PR_LOG levels. r=bsmedberg (1f3226ca8)
- Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj (96db7f2e9)
- Bug 1165515 - Part 14: Undef PR_LOG macros when using mozilla/Logging.h. r=froydnj (81d9dc8e5)
- fix some bustage after Bug 1165515 - Part 14, stuff missed in part 13 (80c83c78d)
- Bug 1165515 - Part 15: Reduce log level of WebRTC during testing. r=jesup (dda33e173)
2021-03-01 12:01:35 +08:00
roytam1 b6f6aa65fb import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj (342dfd711)
- Bug 1085567 - Fixup synth events within pointer lock implementation for e10s. r=billm (45c50a0e6)
- Bug 1128238 - Ajust NPP_SetWindow and synth native event coords to account for the chrome offset of remote tabs. Prior to this the content process always assumed the tab was the window origin. r=aklotz (202ffc006)
- Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt (5e98232bd)
- Bug 1149041 - Make nsIWidget::SizeConstraints use LayoutDeviceIntSize instead of unit-less nsIntSize. r=roc (d0b345926)
- shuffle around (fcdc51510)
- Bug 1142852 P1 Fix NS_NewNonOwningRunnableMethodWithArgs() so that it compiles. r=froydnj (394d2b200)
- Bug 1142852 P2 Make Cache Action use non-threadsafe ref-counting. r=ehsan (0b2b91d86)
- Bug 1146349 - Allow NS_NewRunnableMethodWithArgs to take up to 8 arguments. r=froydnj (7207e74d0)
- Bug 1146349 - Make the native event synthesization functions in DOMWindowUtils async. r=smaug (e43579a1d)
- Bug 949614 - Use === for SimpleTest.is; r=Waldo (9f54faca4)
- Bug 1146349 - Update some widget tests to deal with async native key event synthesization. r=smaug,masayuki (f1e82df79)
- Bug 920013 - Rewrite test_cocoa_focus.html to use SpecialPowers. r=smichaud (8708d6a71)
- Bug 1146349 - Update DOM mochitests to deal with async native event synthesization. r=smaug (a4eceb9f6)
- Bug 1146349 - Update browser-chrome mochitests to deal with async native event synthesization. r=Gijs (c864ad939)
- Bug 1146349 - Wire up native event synthesization in child processes.  r=smaug (e8574457e)
- Bug 1146349 - Mark SynthesizedEventObserver::Observe() as override (9063f04b5)
- Bug 1149613 - Remove unneded field. r=botond (9aa7155e2)
- Bug 1153613 - [e10s], ensure the buffer for the drag image is large enough for SourceSurfaceRawData::GuaranteePersistance() to succeed, r=mattwoodrow (aa885dae7)
- remove spurious file (ff199d3ae)
- Bug 1043013 - Generalize nsIntRegion into a BaseIntRegion template. r=jrmuizel (9d3e02820)
- Bug 1043013 - Introduce IntRegionTyped. r=jrmuizel (f73902921)
- Bug 1043013 - Use strongly-typed regions in HitTestingTreeNode. r=kats (7b8c8ae44)
- Bug 913443 - Remove mention of the word ThebesLayer in a comment. r=roc (e9706e025)
- Bug 913443 - Remove some #ifdefs. r=roc (da76f831b)
- Bug 913443 - Break up CreateOrRecyclePaintedLayer into more parts. r=roc (dd94560fe)
- Bug 913443 - Extract layer hint calculation. r=roc (5c7806a95)
- Bug 913443 - Break CreateOrRecyclePaintedLayer up even more. r=roc (9e5edab17)
- Bug 913443 - Remove unused aItemVisibleRect argument. r=roc (f3d1a5195)
- Bug 913443 - Move IsWidgetLayerManager() check out of UpdateCommonClipCount. r=roc (3be7b19a6)
- Bug 913443 - Change the order of these calls. r=roc (c7bc59fee)
- Bug 913443 - Add a display item buffer for PaintedLayerData so that we can assign items without needing to know the actual Layer. r=roc (674df6aa8)
- Bug 913443 - Delay PaintedLayer recycling until PopPaintedLayerData() r=roc (9d6de961a)
- Bug 913443 - When determining the layer to recycle, only consider layers that have display items in common with the layer we need. r=roc (3327c31c5)
- Bug 913443 - Recycle PaintedLayers as soon as possible. r=roc (37ef6d530)
- Bug 913443 - Remove duplicated argument variables. r=roc (19c5af270)
- Bug 1141408 - Don't include the display item's memory address in the profile label. r=BenWa (5bb1d73c1)
- Bug 1141281 - Don't put empty Info: lines into the layers dump. r=BenWa (85f4b28be)
- Bug 1035611 - Part 1: Updated Matrix4x4::ProjectRectBounds to properly handle infinite values when untransformed rects cross the w=0 plane. r=mattwoodrow (f47ed4383)
- Bug 1035611 - Part 2: Test to ensure that transformed rects crossing the w=0 plane are clipped correctly. r=mattwoodrow (5701b435f)
- Bug 1141089 - Add some release assertions to gather more data. r=roc (805c2994d)
- Bug 1141595 - Make scroll info display item hoisting work after bug 913443. r=tn (1efcaf164)
- Bug 1144307 - Destroy scroll info layer items when we're done with them. r=tn (3ffd3b1f2)
- Bug 1148855 - Mark some ContainerState methods as const. r=roc (791585baf)
- Bug 1144820 - Use rvalue reference in AddProfileTimelineMarker. r=smaug (12316b65f)
- Bug 1148855 - Set overflow:hidden on scrollbar tracks so that layerization knows that the scrollbar thumb won't leave the scrollbar. r=roc (082ec87bf)
- Bug 1148855 - Intermediate state that unifies APZ and non-APZ layerization behavior somewhat. (3da45ab96)
- Bug 1148855 - Rework how display items are assigned to PaintedLayers and make it work the same way with and without APZ. r=roc (7258f9c90)
- Bug 913443 - Add some tests. r=roc (9977682da)
- Bug 1039926 - Add a test for not invalidating stuff inside mask layers. (1f8aef65e)
- Bug 1148855 - Add some tests. r=roc (2ba1f7f18)
- Bug 1148855 - Tweak reftest fuzziness. (a600be7d5)
- Bug 1151306 - Add a missing check during background color pulling. r=roc (b3a6c886b)
- Bug 1150774 (Part 1) - Add helpers to simplify using typed units in ConfigureLayer. r=botond (baecb2c2e)
- Bug 1150774 (Part 2) - Use the correct units in nsDisplayImageContainer::ConfigureLayer and related code. r=botond (a79beb1fb)
- Bug 1141089 - Initialize DisplayItemData with a non-null mLayer, so that mLayer is non-null throughout the object's whole lifetime. r=roc (7c2f9eb09)
- Bug 1141089 - Remove unused DisplayItemData copy constructor. r=roc (ba5c46c45)
- Bug 1141089 - Add a few more MOZ_RELEASE_ASSERT(mLayer) checks, just for fun. r=roc (50a8f2db7)
- Bug 1141089 - Use const nsTArray* in all the places where we don't change the array's contents. r=roc (cd07a5bbd)
- Bug 1141089 - Turn these two assertions into release assertions. r=roc (71daf5ef3)
- Bug 1141089 - Check that we're unsetting sDestroyedFrame correctly. r=roc (6c7da67e7)
- Bug 1143522 - Convert Layer::mClipRect to ParentLayerIntRect. r=botond (ddab1c0ff)
- Bug 1144951. Warn if the result of ConvertAppUnits is unused. r=mats (e1d79c6ca)
- Bug 1144951. Rename ConvertAppUnits to ScaleToOtherAppUnits. r=mats (675c918c3)
- Bug 1149035 - Make nsXULPopupManager::PopupResized take a LayoutDeviceIntSize param instead of a unit-less nsIntSize. r=roc (eb9529af7)
- missing bit of Bug 1156110 - Make nsView::mWindow an nsCOMPtr; r=roc (972255b4f)
- Bug 1147706 - Warn if we don't use the result of const methods on BaseRect and its subclasses. r=tn (9e91deada)
- Bug 1152838 - Fix BaseRect::InflateToMultiple and move it to nsIntRect. r=mattwoodrow, r=jrmuizel (5a942df29)
- Bug 1125055 - Sync decode layerized images if necessary. r=roc,tn (1379db5c7)
- Bug 1145167 - make imgIContainer::type getter infallible; r=seth (7b7091b89)
- Bug 1148213 - Implement image locking for VectorImage. r=dholbert (240e14cb3)
- Bug 1143653 - Crash in CompositorD3D9 rather than TextureD3D9 if device reset fails, after a few attemps. r=jrmuizel (76607ddc3)
- Bug 1147894 - Only use non-null compositors with TextureHost::SetCompositor. r=sotaro (605bf34f6)
- Bug 1146912 - Finish replacing TextureHost::GetTextureSource by BindTextureSource. r=sotaro (cf3763879)
- Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas (78cdfee14)
- Bug 1068881 - Inflate the dest rect to at least one device pixel when computing the optimal image size for drawing. r=roc (3d5644913)
2020-05-30 12:49:08 +08:00
roytam1 fdb63ff9b9 import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1163201 - Part 1: Remove instances of #ifdef PR_LOGGING in dom/. r=froydnj (9979c0e74)
-  Bug 1183972 - No sync-dispatch of new GMPParent - r=cpearce (93339b530)
- Bug 1142935 - reset transports with NuwaAddConstructor(). r=tlee (277406812)
- Bug 1121676 - Use a lock to protect the list of top-level actors (r=bent) (3d0be2f87)
-  Bug 1121676 - Use static mutex to protect top-level protocols (r=bent) (4491dd318)
- Bug 1163201 - Part 2: Wrap expensive calls in PR_LOG_TEST. r=froydnj (7de4b9a97)
- Bug 1163201 - Part 3: Remove mSamples in |MediaEngineWebRTCAudioSource|. r=cpeterson (452442773)
- Bug 1163201 - Part 4: Fix b2g build. r=bustage (a824ea36d)
- Bug 1165518 - Part 1: Add Logging.h. r=froydnj (09d68aaa6)
- Bug 1162850 - Don't stop looking for style sheet load finishes after the FontFaceSet gets a DOMContentLoaded. r=jdaggett (c29fbffa0)
- Bug 1056479 p0 - rename ambiguous GetFontList method in Android fontlist. r=m_kato (76239d7a0)
- Bug 1056479 p1 - add language to FindFamily parameters. r=jfkthame (2271bd7d0)
- Bug 1056479 p1a - use lang as part of pref font fallback. r=karlt (5f5fd66c5)
- cleanup GetTableFromFontData() to match gecko code again (78076fc26)
- Bug 1056479 p2 - implement platform fontlist based on fontconfig. r=karlt (6a7631e44)
- Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame (b25360708)
- Bug 1056479 p4 - fix accessibility api for font-weight. r=jfkthame (efa8f5080)
- Bug 1056479 p5 - fixup printpreview test. r=jfkthame (3fe2ddc0b)
- Bug 1056479 p6 - handle font updates. r=jfkthame (eb78b2c54)
- Bug 1056479 p7 - fixup assertion for non-italic fallback. r=m_kato (f5e9f539e)
- Bug 1056479 p8 - switch gfxFontConfig to gfxFontconfig. r=karlt (4da146b50)
- Bug 1056479 p9 - fix build bustage. r=birtles (28f246c2b)
- Bug 1056479 p10 - activate bundled fonts. r=m_kato (d7627c3fa)
- Bug 1056479 p10 - activate bundled fonts. r=m_kato (251c02315)
- Bug 1056479 followup: Annotate gfxPlatformGtk::CreatePlatformFontList() as 'override'. rs=ehsan (993e65d6e)
2020-05-30 12:49:03 +08:00
roytam1 4ac9bef80d import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 936092, initial DnD support for e10s, r=enndeakin,karlt (3cde556cf)
- Bug 1152066 - Remove ugly dynamic loading code now that we can assume this symbol exists. r=roc (04813dd18)
- Bug 966395 - Correctly propagate the input language's direction on OSX. r=masayuki/mrbkap (14a21fa0c)
- Bug 1158791 - Try harder to avoid Gtk-Critical errors in xpcshell tests. r=karlt (f6cec3b99)
- Bug 1153922 - Add a SandboxOptions option for creating the sandbox in a fresh JS::Zone. r=mrbkap (f99b17726)
- Bug 968520 - Always use fallible allocator with nsTArray_base::ShrinkCapacity. r=froydnj (b7cf63063)
- Bug 1160027 - Move ResourceQueue implementation from header file - r=cpearce (5fabd8c8f)
- Bug 1119277 - Remove the process CPU priority parameter and simplify all the associated code. r=khuey, r=dhylands (32d2b0df2)
- Goanna -> Gecko (2b16bec4c)
- Bug 892371 - Adjust oom_score_adj values for foreground processes according to an LRU policy. r=dhylands, r=khuey (61cdfc3db)
- Bug 892371 - Add mochitests covering LRU priority adjustments for both foreground and background processes. r=khuey (46676e34f)
- Bug 1164297 - tweaks to logging modules of MediaDecoderStateMachine to remove accessing to env vars. r=cpearce. (e9dc910da)
- Bug 1150539: log getUserMedia constraints used in MediaManager:5. r=jesup (161853b66)
- Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh (8bb265db2)
- Bug 1145403 - Don't open MediaManager on shutdown. r=jesup (9338eef82)
- Bug 1046245 - enumerateDevices w/non-blocking e10s, nsICryptoHMAC, clear cookies, lambdas. r=keeler, florian, billm, jesup (ce9d684a0)
- remove StopWebRtcLoc() to be readded in Bug 1219339 - Part2 (7a0c901fc)
- Bug 1046245 - IO on STS thread + cleanup BackgroundChild on shutdown r=jesup (e85dd7716)
- Bug 579517 follow-up: Remove NSPR types that crept in (35aee15a6)
- Bug 1152443 - Fix broken validation which prevented reading of enumerate_devices.txt. r=jesup (4e135355b)
- Bug 1143562 - use /data/b2g/mozilla/gmp as the gmp storage folder on B2G. r=cpearce. (ddc07f09a)
- Bug 1143562. Part2 - only init |mStorageBaseDir| in the chrome process. r=cpearce (3039a4f44)
- remove specific hack, this code is going away anyway (34aed4d6b)
- Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Part 0 - Make mozIGeckoMediaPluginService::GetPluginVersionForAPI return whether we even have the plugin. r=cpearce. (e6ac61630)
- Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Part 1 - split GeckoMediaPluginService into a part for chrome and a part for both content and chrome. r=jwwang. (09f8c4a83)
- Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Part 2 - support asynchronous GMP API getters. r=jwwang,rjesup. (e33266976)
- Bug 1143532 - Include pid in the log messages of GMPParent. r=edwin (8486ebc50)
- Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Part 3 - split the GMP IPDL actors in 2 parts (and use opens to open the second in non-e10s). r=billm. (d17fa36ff)
- Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Part 4 - make GetNodeId asynchronous. r=jwwang. (db7a21e4a)
- Bug 1150049 - tidy up nsImageBoxFrame::Init a little bit; r=dholbert (41c258a71)
- Bug 1150266 - fix IPDL thinko for never-inline method declarations; r=bent (445d3420b)
- Bug 1150207 - Convert a focus() call to use SpecialPowers to avoid out-of-order focusing behaviour. r=mwargers (4d134848c)
- Bug 1148641 - Guard against null parameters to SendSetTargetAPZCNotification. r=botond (8c5f4bb6d)
- Bug 1096172 - Fix position reporting of bad charrefs in RCDATA. r=hsivonen. (77100d26d)
- Bug 1149971 Part 2: Cet rid of kCurrentProcessId as it makes lots of static initializers. r=dvander (3efaefdba)
- remove android widgets (0c2565418)
- Bug 1129991 - Remove QuotaManager::SetCurrentWindow(); r=bent (7ccabf88c)
- Bug 1133748 - Fix ipdl code for bridged protocols that are also opened. r=billm. (402751d09)
- Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Part 5 - use bridging for GMP in e10s. r=billm. (e45a87c5f)
- Bug 1057908 followup: Add missing 'override' annotation on GMPServiceParent::ActorDestroy method decl. rs=ehsan (48f53b28a)
- Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Add nsServiceManagerUtils.h include to WMFDecoderModule.cpp. (67cddb4da)
- kill android widgets better (bec243c8d)
2020-05-30 12:49:01 +08:00
trav90 e98562dc6d Rework MediaDecoder::AddOutputStream and move related code to the MDSM 2018-07-25 09:25:32 +08:00
trav90 73a091c648 Move MediaDecoder::UpdateStreamBlockingForPlayState to the MDSM 2018-07-25 09:25:25 +08:00
trav90 72bcf79f70 Move MediaDecoder::UpdateStreamBlockingForStateMachinePlaying to the MDSM 2018-07-25 09:25:18 +08:00
trav90 39b1ff0f06 Guard against early states in UpdateNextFrameStatus 2018-07-25 09:23:01 +08:00
trav90 ce59f3b191 Move MediaDecoder::DecodedStreamData and related code to its own file 2018-07-25 09:22:25 +08:00
Moonchild 1464a0eeb2 Revert "Media mirroring/task queue improvements" 2018-07-25 08:02:45 +08:00
trav90 4f1d5e3605 Enable tail dispatch for the decode task queue 2018-07-25 08:01:03 +08:00
trav90 fd93b917ec Initialize reader task queue in the constructor
This is a necessary step towards having mirrored/canonical values, since those need to know the task queue in their constructor.
2018-07-25 08:00:56 +08:00
trav90 43875b6b1f Drop Support for Content-Duration
This code is racey, extremely difficult to debug, and there is nothing that says its use must be enforced. The few sites that care about getting a duration without seeking to the end of the stream can index their Ogg files.
2018-07-25 07:50:34 +08:00
trav90 44d5199751 Move post-duration-change seeking into MediaDecoder where it belongs 2018-07-25 07:50:19 +08:00
trav90 cf35cc45a2 Clarify the semantics of when we fire DurationChanged 2018-07-25 07:50:12 +08:00
trav90 f319e95fd1 Clean up SetDuration and remove negative duration case 2018-07-25 07:50:05 +08:00
trav90 f3666a1dc9 Track observed duration separately 2018-07-25 07:49:57 +08:00
trav90 10f8792a37 Track demuxer-estimated duration separately 2018-07-25 07:49:50 +08:00
trav90 cf3312970e Track explicit (MSE) duration separately 2018-07-25 07:49:43 +08:00
trav90 30a4725667 Make MediaDecoder::DurationChanged take a duration argument rather than reading it back synchronously from the MDSM 2018-07-25 07:49:36 +08:00
trav90 4db9fb1d37 Track "metadata duration" separately and mirror it to MediaDecoderReader 2018-07-25 07:49:21 +08:00
trav90 2fbf35f99a Track "network duration" separately and mirror it to the MDSM 2018-07-25 07:49:14 +08:00
trav90 e8a4024fa7 Remove ApplyStateToStateMachine and PLAY_STATE_SEEKING 2018-07-25 07:48:53 +08:00
trav90 a18f275a4d Replace MDSM::Play with a state-watcher on mPlayState and eliminate ApplyStateToStateMachine 2018-07-25 07:48:46 +08:00
trav90 372e93e081 Remove wrong mCurrentPosition update 2018-07-25 07:48:38 +08:00
trav90 67d488872c Use StateMirroring for playback position 2018-07-25 07:48:31 +08:00
trav90 e1cffc8281 Rename mCurrentFrameTime to mCurrentPosition to better match the naming in the spec
This field corresponds to the "current playback position" in HTML5.
2018-07-25 07:48:24 +08:00
trav90 03673556a3 Revert Mozilla change "Make newCurrentFrameTime more accurate while seeking by checking audio & video timestamp boundary in addition"
This was landed by Mozilla to work around an issue with seeking on Firefox OS.
2018-07-25 07:45:03 +08:00
trav90 eba13a9563 Use separate thread pool for platform decoder task queues
So that platform decoder tasks will run when their readers wait and block their thread pool.
2018-07-25 07:35:32 +08:00
trav90 3cbf3e5e8a Fix indentation
No code changes. Followup to 2c9ac59.
2018-07-25 07:14:05 +08:00
trav90 759486911b Get rid of RefableThen and make Then return an nsRefPtr<Consumer> 2018-07-25 07:13:05 +08:00
trav90 6c19defcd4 Use lambdas for Seek 2018-07-25 07:12:14 +08:00
trav90 805023876f Use lambdas for WaitForData 2018-07-25 07:12:10 +08:00