JW Wang
d3c9b0b0df
Bug 1212723. Part 2 - remove unused argument aCloneDonor from MediaDecoderReader::Init(). r=jya.
2015-10-13 15:28:57 +08:00
Jean-Yves Avenard
dacd5751f3
Bug 1208953: [mp3] Don't parse data we've already parsed. r=cpearce
...
NotifyDataArrived may be called again due to reads performed in NotifyDataArrived ; causing stall and serious slowdowns.
2015-09-30 16:07:56 +10:00
Sotaro Ikeda
34a6dca7cc
Bug 1205351 - Replace nsBaseHashtable::Enumerate() calls in dom/media/ with iterators r=cpearce
2015-09-24 18:48:25 -07:00
Nicholas Nethercote
842dd1cf5a
Bug 1207741 - Remove gfxIntSize. r=nical.
...
gfxIntSize is just a typedef of gfx::IntSize, so this is very mechanical. The
only tricky part is deciding for each occurrence whether to replace it with
IntSize, gfx::IntSize or mozilla::gfx::IntSize; in all cases I went with the
shortest one that worked given the existing "using namespace" declarations.
--HG--
extra : rebase_source : 67fd15f87222b16defa70ef795c6d77dfacf1c36
2015-09-23 11:49:05 -07:00
Jean-Yves Avenard
3bca678d28
Bug 1197075: P2. Revert "Bug 1171257 - Add force decode ahead to MediaFormatReader r=jya,bholley". r=edwin
2015-08-26 15:36:53 +10:00
Jean-Yves Avenard
b55f0cf63a
Bug 1190238: P1. Remove MediaResource::Read/Seek. r=cpearce
...
This functionality is now replaced with a dedicated new MediaResourceIndex class.
This allows for concurrent Read/Seek use of the MediaResource without having side effects.
2015-08-13 15:27:09 +10:00
Bobby Holley
c4645a718b
Bug 1190496 - Namespace the SharedThreadPool.h include. r=cpearce
2015-08-04 14:00:25 -07:00
Bobby Holley
04eaf4c167
Bug 1184634
- Move various includes into the mozilla namespace. r=gerald
...
I did my a quick best-effort pass to fix up the most egregious ordering
problems. I left some big pre-existing messes alone.
2015-07-16 22:23:18 -07:00
Bobby Holley
997543e6ba
Bug 1184634
- Rename MediaTaskQueue to TaskQueue. r=gerald
2015-07-16 22:23:06 -07:00
Bobby Holley
78001ffc43
Bug 1184634
- Rename "TaskQueue()" accessor to "OwnerThread()". r=gerald
...
Otherwise this name will collide with the rename of MediaTaskQueue to TaskQueue.
It's also a better naming convention, because it generalizes to things that are
owned by an AbstractThread that is not a Task Queue.
We rename to Queue() in TestMozPromise, because that's more accurate.
2015-07-16 22:22:07 -07:00
Robert O'Callahan
1c6ae84e38
Bug 1143575. Introduce VideoFrameContainer::ClearCurrentFrame(size), and don't increment mFrameID when clearing frames. r=cpearce
...
--HG--
extra : commitid : A813gqmskNT
extra : rebase_source : 3bc1790cb98779b8ab55dc3373fd79cdbdcab014
2015-03-30 17:51:32 +13:00
Robert O'Callahan
84a4b59472
Bug 1143575. Remove ClearAllImagesExceptFront because it doesn't do anything. r=nical
...
ImageBridgeChild::FlushAllImages with aExceptFront==true does absolutely
nothing, so remove the parameter and remove all callers which pass true.
--HG--
extra : commitid : D7XjM7QaYjQ
extra : rebase_source : 6c8db683a98a2a340202a88d00d6d70f44a9f374
2015-03-26 14:08:30 +13:00
Sotaro Ikeda
05e6073126
Bug 1171257 - Add force decode ahead to MediaFormatReader r=jya,bholley
2015-07-05 09:39:30 -07:00
Bobby Holley
f25ea07acc
Bug 1175768 - Dispatch NotifyDataArrived and remove the aBuffer argument. r=jya
...
It would be nice to remove the argument in a separate patch, but we can't
perform MediaResource reads on the main thread, so the SilentReadAt stuff
needs to happen at the same time as the off-main-thread stuff.
2015-06-27 01:19:10 -07:00
Bobby Holley
a269ea96b4
Bug 1175768 - Dispatch UpdateEstimatedMediaDuration. r=jya
...
NotifyDataArrived will soon run off-main-thread, so the assumptions here won't hold.
2015-06-27 01:19:07 -07:00
Ryan VanderMeulen
d9ca5de3ed
Backed out 8 changesets (bug 1175768) for frequent media test failures.
...
Backed out changeset a369cfb95b59 (bug 1175768)
Backed out changeset e02dd312d622 (bug 1175768)
Backed out changeset 6776ce74b9e5 (bug 1175768)
Backed out changeset 6aa5fa1d318e (bug 1175768)
Backed out changeset a8bd7a0d2aea (bug 1175768)
Backed out changeset 41ffc9a9ac48 (bug 1175768)
Backed out changeset 2d2cefa397dc (bug 1175768)
Backed out changeset 4e06368496d2 (bug 1175768)
CLOSED TREE
2015-06-23 16:20:15 -04:00
Bobby Holley
23c16e6894
Bug 1175768 - Dispatch NotifyDataArrived and remove the aBuffer argument. r=jya
...
It would be nice to remove the argument in a separate patch, but we can't
perform MediaResource reads on the main thread, so the SilentReadAt stuff
needs to happen at the same time as the off-main-thread stuff.
2015-06-22 22:53:07 -07:00
Bobby Holley
56422fb439
Bug 1175768 - Dispatch UpdateEstimatedMediaDuration. r=jya
...
NotifyDataArrived will soon run off-main-thread, so the assumptions here won't hold.
2015-06-22 22:53:06 -07:00
Benjamin Chen
0378f2c94e
Bug 1168778 - Fix crash when seeking: 1. Replace FlushableMediaTaskQueue by MediaTaskQueue. 2. Refact the seek/DecodeAudioDataTask/DecodeVideoFrameTask functions. r=sotaro
...
--HG--
extra : rebase_source : be194c694dffd08c7b24789900cc4a6fa45acfeb
2015-06-10 17:03:26 +08:00
Bobby Holley
c2bf6e7564
Bug 1173001 - Fix up some task queue naming to make MediaDecoderReader consistent with MDSM. r=jww
2015-06-10 14:17:26 -07:00
Bobby Holley
f83f94efbb
Bug 1160695 - Track "metadata duration" separately and mirror it to MediaDecoderReader. r=jww
2015-06-08 09:21:22 -07:00
Benjamin Chen
26b1a24fe5
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
...
--HG--
extra : rebase_source : 109dfea3be7cd8333a82aad72fce588e3267a133
2015-06-02 15:03:06 +08:00
Milan Sreckovic
b05ff05c6a
Bug 1131463 - Report AtomicRefCounterWithFinalize doing the wrong thing with AddRef and Release in release build as well. r=sotaro
2015-05-29 16:41:28 -04:00
Bobby Holley
80857671e7
Bug 1168008 - Replace 'Consumer' with 'Request' in MediaPromise naming. r=jww
...
I think this makes more sense, and it matches the naming convention that all
of the consumers of this stuff are actually using.
2015-05-28 16:03:10 -07:00
Sotaro Ikeda
6a032542b6
Bug 1168456 - Remove NotifyWaitingForResourcesStatusChanged() call from MediaCodecReader r=bholley,bwu
2015-05-28 11:11:46 -07:00
Sotaro Ikeda
a3f2147e6d
Bug 1168531 - Fix MediaCodecReader video playback problem r=bwu
2015-05-28 07:23:57 -07:00
Benjamin Chen
29b4ee90d8
Bug 1154194 - Fix regression by bug 1132832 and remove VideoResourceListener. r=sotaro
2015-05-26 15:52:38 +08:00
Benjamin Chen
9a3bbcae4e
Bug 1154194 - Call FillCodecInputData before dequeueOutputBuffer, remove the check of FillCodecInputData. r=sotaro
2015-05-22 14:25:51 +08:00
Nathan Froyd
db188ea282
Bug 1160485 - remove implicit conversion from RefPtr<T> to TemporaryRef<T>; r=ehsan
...
Having this implicit conversion means that we can silently do extra
refcounting when it's completely unnecessary. It's also an obstacle to
making RefPtr more nsRefPtr-like, so let's get rid of it.
2015-05-01 09:14:16 -04:00
Ethan Lin
683fb496b3
Bug 1155498 - Part 5 - Use new FenceHandle to handle Decoder fence. r=sotaro
...
--HG--
extra : rebase_source : 07572915abb33e362bbd3e3817fb57e6296ae871
2015-05-13 00:38:00 +02:00
Benjamin Chen
87fb03abfc
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
...
--HG--
extra : rebase_source : f776f49d17bcfc310eb066376a2c2e792e0ad109
2015-04-23 14:56:52 +08:00
L. David Baron
c32076c14a
Bug 1157654
- Back out changeset e428ba6470b9 (bug 1140995) for frequent failures in dom/media/test/test_mediarecorder_getencodeddata.html .
2015-04-25 11:10:15 -07:00
Benjamin Chen
8503c3b76d
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
2015-04-23 14:56:52 +08:00
Nicolas Silva
e887c595eb
Bug 1155621 - Remove no-op gfx2DGlue conversion helpers. r=Bas
2015-04-21 17:22:30 +02:00
Jean-Yves Avenard
4623f4873e
Bug 1153049: Part4. Remove redundant mHasAudio/mHasVideo member. r=cpearce
...
--HG--
extra : rebase_source : f53f194f7e8c870024c39270a626bc41f2f79d0b
2015-04-14 15:17:51 +10:00
Alfredo Yang
db11a06df3
Bug 1132832 - Remove media resource API from PlatformDecoderModule. r=jya
2015-04-10 02:16:00 -04:00
Bobby Holley
3c6cda710d
Bug 1144519 - Switch MediaDecoderReader subclasses to use OnTaskQueue(). r=jya
2015-03-27 11:50:20 -07:00
Benjamin Chen
261c1523b2
Bug 1139781 - Implement VideoPlaybackQuality for MediaCodecReader. r=cpearce
2015-03-26 17:06:06 +08:00
Benjamin Chen
5fb5f6af9a
Bug 1138825 - Fix the crash at mAudioPromise: call decode audio data when the audio queue is empty and check the mAudioPromise is empty or not. r=sotaro
2015-03-10 14:38:39 +08:00
Benjamin Chen
c67f00f900
Bug 1129376 - Fix crash by moving ConfigureMediaCodec from binder thread to out own thread. r=sotaro
...
--HG--
extra : rebase_source : 648479adfe87f23ce7ab65447cf1697c7cc1e2df
2015-03-02 03:57:46 +08:00
Bobby Holley
4ee93e5397
Bug 1125970 - Make flushing an opt-in mechanism, and use it only for the PDM task queues. v1 r=cpearce
2015-02-16 09:03:34 -08:00
Blake Wu
9a06424267
Bug 1113527 - Change isDormantNeeded() behavior. r=sotaro. r=cpearce.
...
From 8bf5259ba58ae5b37eaceece04a7f217c3ad4284 Mon Sep 17 00:00:00 2001
2015-01-30 18:24:31 +08:00
Benjamin Chen
86c2c22675
Bug 1091467 - MediaCodec: Wait fence and release output buffer on other thread. r=sotaro
2015-01-20 17:27:50 +08:00
Benjamin Chen
8e5e324b89
Bug 1120247 - 1 MediaCodecReader::ResetDecode() needs to reject(cancel) any pending promises. 2. fix regression caused by bug 1114910. r=cpearce
2015-01-20 14:46:31 +08:00
Benjamin Chen
b6c8fd6ec7
Bug 1118632 - Fix the duration updated by mp3 incremental parser when we are playing a non-mp3 stream. r=cajbir
2015-01-16 18:59:12 +08:00
Bobby Holley
e814d359c3
Bug 1121692 - Remove unnecessary arguments to ::Seek. r=mattwoodrow,sr=cpearce
2015-01-16 10:57:59 -08:00
Benjamin Chen
7cbd794ce3
Bug 1114910: - 1. fix crash at promise. 2. Re-write code relative to promise. r=cpearce
2015-01-13 15:42:53 +08:00
Matt Woodrow
972dde5588
Bug 1105066 - Make SeekPromise return the time we actually seeked to; r=kentuckyfriedtakahe
2015-01-12 10:57:14 +13:00
Benjamin Chen
935a404340
Bug 1094678 - MediaCodecReader::CreateTaskQueues() runs at main thread. r=cpearce, r=brsun
2014-12-23 14:31:30 +08:00
Boris Chiou
ea4203738e
Bug 1098970 - Part 6: Fix the usage of GonkNativeWindow in Omx. r=sotaro
...
Use new APIs for GonkNativeWindowLL.
2014-12-17 22:31:00 +01:00