Commit Graph
96 Commits
Author SHA1 Message Date
Eric Rahm 5b59cf4e0b Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Jean-Yves Avenard 2cad03379f Bug 1163445: Part5. Replace dom::TimeRanges with TimeIntervals object. r=mattwoodrow 2015-05-18 16:15:47 +10:00
Eric Rahm 06d4f75aa8 Bug 1163201 - Part 1: Remove instances of #ifdef PR_LOGGING in dom/. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:23 -07:00
Karl Tomlinson 3cb207a4c9 bug 1161892 use separate thread pool for platform decoder task queues r=bholley
so that platform decoder tasks will run when their readers wait and block
their thread pool.
2015-05-07 16:01:43 +12:00
Jean-Yves Avenard 1973af205a Bug 1157075: Part1. Rename and make AsyncReadMetadata virtual. r=bholley 2015-05-01 15:37:29 +10:00
Bobby Holley 7459448854 Bug 1160064 - Explicitly initialize logging at the right time. r=jww
The patches in this bug can cause us to log things before some of the Ensure*Log
macros are called. Let's just do this right.
2015-04-30 21:29:42 -07:00
Bobby Holley 8f2775c9a4 Bug 1144486 - Implement state watching machinery. r=jww 2015-04-22 21:38:11 -07:00
Bobby Holley bbdd16daf9 Bug 1144519 - Rename MediaDecoderReader::OnDecodeThread to MediaDecoderReader::OnTaskQueue. r=jya 2015-03-27 11:50:20 -07:00
Bobby Holley 3b6a9a17c7 Bug 1142336 - Create one unified thread pool for media code and run the MDSM task queues on it. r=mattwoodrow
This allows for parallel MDSM execution. \o/
2015-03-25 17:46:26 -07:00
Bobby Holley 0595234323 Bug 1136873 - Use promises for metadata decoding. r=mattwoodrow 2015-03-23 13:17:51 -07:00
Phil Ringnalda 5b2fd51990 Back out 59fd15407a79 (bug 1142336) for shutdown hangs
CLOSED TREE
2015-03-18 20:38:43 -07:00
Bobby Holley 8e3a1eb01e Bug 1142336 - Create one unified thread pool for media code and run the MDSM task queues on it. r=mattwoodrow
This allows for parallel MDSM execution. \o/
2015-03-18 18:00:49 -07:00
Bobby Holley 64880e054a Bug 1125970 - Reject promises in MediaDecoderReader::ResetDecode and don't re-request audio and video when the promises have been rejected. v1 r=cpearce 2015-02-16 09:03:25 -08:00
Karl Tomlinson ba2367761b bug 1095251 clear mDecoder on reader during Shutdown() r=cpearce 2015-02-10 15:50:02 +13:00
Bobby Holley f830648a19 Bug 1129877 - Fix one other remaining case of invoking Resolve/Reject directly on a Promise. v1 r=mattwoodrow 2015-02-10 13:45:03 -08:00
Jean-Yves Avenard e10f454fbf Bug 1114805: Don't use hard assertion should start time be <= 0. r=cpearce
This prevents some MP4 files to play, and there is no strict requirements that
a start time be positive.
2015-02-09 23:28:59 +11:00
Matt Woodrow e6b1f5c9bc Bug 1116284 - Don't run MP4Reader::Update after we've shut the reader down. r=cpearce 2015-01-12 09:43:11 +13:00
Matt Woodrow 99b49f2c85 Bug 1112446 - Add logging for media queue lengths. r=ajones 2014-12-18 12:41:19 +13:00
Matt Woodrow b9a8658da4 Bug 1111413 - Part 2: Remove RequestSampleCallback. r=bholley 2014-12-16 23:08:42 +13:00
Bobby Holley b1d8e38dfc Bug 1108701 - Replace AudioDecodeRendezvous with promise-y goodness. r=cpearce,karlt 2014-12-10 14:03:56 -08:00
Bobby Holley 41026d48bd Bug 1108701 - Use MediaPromises for RequestAudioData and RequestVideoData. r=cpearce 2014-12-10 14:03:56 -08:00
Bobby Holley 3a5c5f1b4a Bug 1108707 - Make reader shutdown asynchronous. r=cpearce (relanding on a CLOSED TREE because it wasn't the source of the leaks) 2014-12-09 11:43:21 -08:00
Ryan VanderMeulen fb0fa74bf7 Backed out changeset 18c302f80bce (bug 1108707) for nsTArray_base leaks.
CLOSED TREE
2014-12-09 15:49:38 -05:00
Bobby Holley 9c187ed272 Bug 1108707 - Make reader shutdown asynchronous. r=cpearce 2014-12-09 11:43:21 -08:00
Bobby Holley e468aa4684 Bug 1097823 - Implement Media Promises. r=cpearce 2014-12-08 14:45:37 -08:00
Bobby Holley 2e8980b2aa Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce 2014-12-08 14:45:36 -08:00
Ryan VanderMeulen c1bfd68c20 Backed out changesets ae63e2dda6e0, a9ca0113db3c, and d0a6757e24bd (bug 1097823) for bustage.
DONTBUILD CLOSED TREE
2014-12-08 15:00:02 -05:00
Bobby Holley cbc15e8101 Bug 1097823 - Implement Media Promises. r=cpearce 2014-12-08 11:34:50 -08:00
Bobby Holley fe664219ca Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce 2014-12-08 11:34:50 -08:00
Bobby Holley 83eb89b67d Backed out changeset c405b4271e64 (bug 1097823) 2014-12-07 17:09:12 -08:00
Bobby Holley 8b92e9cad8 Backed out changeset b56e5e762329 (bug 1097823) 2014-12-07 17:09:09 -08:00
Bobby Holley 14f1628fc9 Backed out changeset b76636e9f49a (bug 1097823) 2014-12-07 17:09:08 -08:00
Bobby Holley 11bc859a25 Backed out changeset ab6ddc8ac28a (bug 1097823) 2014-12-07 17:09:06 -08:00
Bobby Holley b1efa9bc2c Bug 1097823 - Replace AudioDecodeRendezvous with promise-y goodness. r=cpearce,karlt 2014-12-07 11:21:35 -08:00
Bobby Holley 60b1cf5382 Bug 1097823 - Use MediaPromises for RequestAudioData and RequestVideoData. r=cpearce 2014-12-07 11:21:35 -08:00
Bobby Holley 6bcf68a75d Bug 1097823 - Implement Media Promises. r=cpearce 2014-12-07 11:21:34 -08:00
Bobby Holley fa24394a84 Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce 2014-12-07 11:21:34 -08:00
Bobby Holley 674330a7bc Bug 1104964 - Make MediaDecoderReader own the task queue. r=cpearce 2014-12-01 21:51:03 -08:00
Bobby Holley 83f9c9f315 Bug 1104964 - Make sure that MediaDecoderReader::Shutdown is always called. r=cpearce 2014-12-01 21:51:02 -08:00
Matthew Gregan 80163f5ae6 Bug 1104357 - Ensure MediaDecoderReader is shutdown on all exit paths from MediaDecodeTask::Decode. r=cpearce
Also adds an assertion to MediaDecoderReader::Shutdown to ensure it is called from the appropriate thread.
2014-11-25 14:09:19 +13:00
Bobby Holley 85edbd6843 Bug 1100776 - Reference-count MediaData. r=cpearce 2014-11-19 13:01:10 -08:00
Bobby Holley 52fbdd5a0e Bug 1091008 - Remove the aStartTime argument from MediaDecoderReader::GetBuffered. r=cpearce
We now have this stashed on the superclass.
2014-11-11 20:50:21 -08:00
Bobby Holley b1063b3fcd Bug 1091008 - Teach MediaDecoderReader about its start time. r=cpearce
Duplicating state is never great, but this lets the reader make calculations
using this immutable state variable without involving the state machine. We
could alternatively punch a hole from MediaDecoderReader to
MediaDecoderStateMachine and access it there, but that would create tighter
coupling, and weird relationships for MSE.
2014-11-11 20:50:20 -08:00
Bobby Holley 81ec818887 Bug 1090991 - Refactor RequestSampleCallback to use a single callback for all "not decoded" message. r=cpearce,r=cajbir
I'm going to add another one, and want this API to scale better than it does.
2014-11-03 09:20:14 +01:00
Matt Woodrow 4ffeefbba5 Bug 1089480 - Assume a start time of 0 for MSE videos. r=cajbir 2014-10-29 09:30:36 +13:00
Birunthan Mohanathas 417b400d55 Bug 946065 - Part 10: Move content/media/ to dom/. r=peterv 2014-10-25 20:24:36 +03:00