Kyle Huey
b972c94d0f
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Kaku Kuo
9d75117e07
Bug 1266027 part 2 - make MDSM and SeekTask to adopt new MediaDecoderReaderWrapper API; r=jwwang
...
MozReview-Commit-ID: LqZ59A8vju1
2016-04-27 14:50:39 +08:00
Carsten "Tomcat" Book
aadd508ffe
Backed out changeset 85ce8cb0639a (bug 1268313)
2016-04-29 14:21:16 +02:00
Kyle Huey
e62a0823c9
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
JW Wang
afb61b9f4e
Bug 1195601 - Remove MediaDecoderStateMachine::mLogicallySeeking. r=kinetik.
...
MozReview-Commit-ID: 9YVPTO8hYqB
2016-04-27 12:51:57 +08:00
Jean-Yves Avenard
4dfb982c9b
Bug 1264199: P1. Perform audio conversion in the MSDM taskqueue and ahead of use. r=kinetik
...
This will allow to easily detect audio configuration change prior immediate playback.
MozReview-Commit-ID: IwDUGOd17ND
2016-04-13 17:17:54 +10:00
JW Wang
d3054e9585
Bug 1246051 - have MediaQueue<T>::Peek/PeekFront return a RefPtr<> to avoid dangling pointers per comment 0. r=gerald.
...
MozReview-Commit-ID: JhPVlqMWsTu
2016-04-25 14:36:07 +08:00
JW Wang
8b279070be
Bug 1265978. Part 2 - add methods to MediaDecoder and MDSM to dump debugging info. r=jya.
...
MozReview-Commit-ID: Dbc5FT627uL
2016-04-22 14:18:26 +08:00
Carsten "Tomcat" Book
f15384f4ca
Backed out changeset 198add1ad218 (bug 1264199) for test failures in test_WaitingOnMissingData_mp4.html
2016-04-21 16:32:21 +02:00
Jean-Yves Avenard
76408a8d87
Bug 1264199: P1. Perform audio conversion in the reader's taskqueue and ahead of use. r=kinetik
...
This will allow to easily detect audio configuration change prior immediate playback.
MozReview-Commit-ID: IwDUGOd17ND
2016-04-13 17:17:54 +10:00
Wes Kocher
f99eae4757
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 1WOpYvB2IHo
2016-04-20 13:54:50 -07:00
Wes Kocher
b67d7de5f6
Backed out 8 changesets (bug 1264199) for permafailing media mochitests on OSX 10.6 a=backout
...
Backed out changeset 0f20f2080824 (bug 1264199)
Backed out changeset 90351d2719be (bug 1264199)
Backed out changeset f484b42cbdda (bug 1264199)
Backed out changeset b79b62146120 (bug 1264199)
Backed out changeset f587df589b69 (bug 1264199)
Backed out changeset 02f781a573b4 (bug 1264199)
Backed out changeset d3677ae4c8ec (bug 1264199)
Backed out changeset d08288654ec9 (bug 1264199)
MozReview-Commit-ID: HVtiBSOxf7t
2016-04-20 11:01:36 -07:00
Jean-Yves Avenard
a9d1354e11
Bug 1264199: P1. Perform audio conversion in the reader's taskqueue and ahead of use. r=kinetik
...
This will allow to easily detect audio configuration change prior immediate playback.
MozReview-Commit-ID: IwDUGOd17ND
2016-04-20 15:02:55 +10:00
JW Wang
7c3c3e4b21
Bug 1265315. Part 1 - remove use of MediaDecoderReader from SeekTask. r=kaku.
...
MozReview-Commit-ID: DlUZYcAVBMB
2016-04-19 16:14:44 +08:00
JW Wang
086b01d46a
Bug 1265311. Part 1 - Add more proxy functions to MediaDecoderReaderWrapper. r=jya.
2016-04-19 16:14:30 +08:00
JW Wang
8e957c1b3c
Bug 1265634. Part 3 - constify some functions. r=jya.
...
MozReview-Commit-ID: Lq0vZoeaK1l
2016-04-20 16:02:37 +08:00
JW Wang
43722535fb
Bug 1265634. Part 2 - rename mReaderWrapper for less wording. r=kaku.
...
MozReview-Commit-ID: FRjCQMqoAlR
2016-04-20 14:45:41 +08:00
JW Wang
fa8484ebc9
Bug 1265634. Part 1 - add more proxy functions to MediaDecoderReaderWrapper and remove unused members from MDSM. r=kaku.
...
MozReview-Commit-ID: DpccSccPrxU
2016-04-20 14:45:40 +08:00
Carsten "Tomcat" Book
b14e8aa268
Backed out changeset b15c10c42148 (bug 1264199) for android crashes
2016-04-18 14:22:19 +02:00
Jean-Yves Avenard
9f2feb46ae
Bug 1264199: P1. Perform audio conversion in the reader's taskqueue and ahead of use. r=kinetik
...
This will allow to easily detect audio configuration change prior immediate playback.
MozReview-Commit-ID: IwDUGOd17ND
2016-04-13 17:17:54 +10:00
Kaku Kuo
2bb060f426
Bug 1261020 - part 2 - modify MDSM to adopt SeekTask; r=jwwang
...
MozReview-Commit-ID: IE9quRehVEg
2016-04-07 14:30:39 +08:00
JW Wang
ef5a7e2a96
Bug 1259473 - per comment 14, move actions involving |this| to Init() from the constructor. r=jya.
2016-04-01 23:10:44 +08:00
Jean-Yves Avenard
7fc6840baa
Bug 1248861: P3. Use AlignedAudioBuffer object with AudioData. r=cpearce
...
MozReview-Commit-ID: 7HiF4eHlRwB
2016-04-03 23:09:45 +10:00
Kaku Kuo
cfe5934c2f
Bug 1261312 - Make sure that audio/video decode task is filed again. r=jwwang
...
The idea is that we can call Ensure{Audio/Video}DecodeTaskQueued() directly
since the conditions in the DispatchDecodeTasksIfNeeded() have already been
checked.
MozReview-Commit-ID: 9xataQiuSIx
2016-04-07 15:18:17 +08:00
Andreas Pehrson
a4bec845a0
Bug 1208371 - Hook up DecodedStream with PrincipalHandle. r=mt,jwwang
...
MozReview-Commit-ID: 1LmiFyfjhsr
2016-02-02 13:14:13 +08:00
JW Wang
d4d3fdaf3b
Bug 1250054. Part 2 - employ MediaDecoderReaderWrapper for MDSM and remove code about adjusting start time. r=jya.
...
MozReview-Commit-ID: CvEnGuvr6gt
2016-03-31 16:35:47 +08:00
JW Wang
c9a3ad5edc
Bug 1258966 - Remove unnecessary null-checks of MediaDecoderStateMachine::mReader. r=bechen.
...
MozReview-Commit-ID: HXbFkSd3SZA
2016-03-24 16:54:36 +08:00
JW Wang
612f711e2a
Bug 1258627 - always schedule next cycle so MDSM has a chance to leave buffering state. r=cpearce.
...
MozReview-Commit-ID: ByCHVF9IxvS
2016-03-23 10:25:58 +08:00
JW Wang
8063297f12
Bug 1258271 - Remove arguments from MediaDecoderStateMachine::HaveEnoughDecodedAudio(). r=bechen.
...
MozReview-Commit-ID: E0qE18TmNH0
2016-03-21 17:23:30 +08:00
Matt Woodrow
4fa3204918
Bug 1257013 - Part 3: Stop checking for corrupt frames in MediaDecoderStateMachine since we no longer produce them. r=ajones
2016-03-21 18:50:41 +13:00
JW Wang
f681b656a9
Bug 1242783. Part 2 - per comment 12, buffer only 1s when audio is captured. r=kinetik.
...
MozReview-Commit-ID: 2SUSvQzUSgR
2016-03-19 18:29:44 +08:00
JW Wang
32d76e9da4
Bug 1242783. Part 1 - per comment 11, increase mAmpleAudioThresholdUsecs to 2s to avoid audio underrun when BT is connected. r=kinetik.
...
MozReview-Commit-ID: DBQwrDxnjjh
2016-03-19 18:29:34 +08:00
JW Wang
8c759101fe
Bug 1257094 - Remove MediaDecoderStateMachine::DECODER_STATE_DECODING_NONE. r=cpearce.
...
MozReview-Commit-ID: JYMQVwHBSc3
2016-03-19 07:51:06 +08:00
Matt Woodrow
f1e3760a8b
Bug 1236112 - Block on d3d9 video frames to complete before returning them from the decoder. r=cpearce
2016-03-09 10:34:49 +13:00
Jean-Yves Avenard
a2a82b278e
Bug 1230641: P2. Increase the video queue size on mac. r=cpearce
...
The mac decoder when used on intel GPU gives bad performance due to locking. Increasing the queue size allows to alleviate most problems.
MozReview-Commit-ID: 3yQ3btiMqvk
2016-03-15 11:54:19 +11:00
Bryce Van Dyk
52314f023d
Bug 657791 - Update seekable range handling for cueless WebMs. r=kinetik
...
MediaDecoder previously had 3 states within GetSeekable(), media is either
seekable, seekable but not supported by transport, or not seekable. Due to
changes to make cueless webms playable, a 4th option is needed: a file that is
not fully seekable, but may support seeking from the transport, such as these
webms, should only be seekable in the buffered range.
MozReview-Commit-ID: ISeFkngtrGU
2016-02-04 17:31:21 +13:00
JW Wang
eb8314ffe3
Bug 1255268 - Replace SeekJob::Steal() with move semantics. r=cpearce.
...
MozReview-Commit-ID: 3idqNa2MWA9
2016-03-10 15:30:32 +08:00
JW Wang
e00632dc32
Bug 1252767 - Remove MediaDecoderStateMachine::mPendingSeek. r=cpearce.
2016-02-29 17:00:52 +08:00
Bryce Van Dyk
33c9c86450
Bug 1251460 - MDSM now waits on a promise to enqueue first frame loaded. r=jya
...
MediaDecoderStateMachine's EnqueueFIrstFrameLoadedEvent would previously call
into MediaDecoderReader to update MDR's buffered ranges and enqueue the frame
loaded event. This commit aims to instead have the buffered update take place,
and only afterwards enqueue the event. This should remove the possibility that
the event will be fired and handled before the update of the buffered ranges has
taken place.
MozReview-Commit-ID: GP8w2nF4xmj
2016-03-09 15:32:49 +13:00
Wes Kocher
525a340949
Backed out changeset 6358a64e4f15 (bug 1236112) for windows video wpt failures
...
MozReview-Commit-ID: 6tovOHlvyak
2016-03-08 16:23:04 -08:00
Matt Woodrow
7f6dcdffbf
Bug 1236112 - Block on d3d9 video frames to complete before returning them from the decoder. r=cpearce
2016-03-09 10:34:49 +13:00
JW Wang
118cdb0d89
Bug 1253928 - adjust the time passed to RequestVideoData() by the start time to avoid incorrectly skipping key frames. r=jya.
...
MozReview-Commit-ID: 9NHapIMoozG
2016-03-07 18:44:03 +08:00
JW Wang
d49ab0bc70
Bug 1252753. Part 2 - remove MediaDecoderStateMachine::PushFront(). r=kinetik.
...
MozReview-Commit-ID: 2jtDFI61bGf
2016-03-08 11:20:39 +08:00
JW Wang
8065129030
Bug 1252753. Part 1 - remove calls to PushFront(). r=kinetik.
...
MozReview-Commit-ID: BJ9F4GRYFIe
2016-03-08 11:20:22 +08:00
JW Wang
0e8d37e563
Bug 1253490 - fix the calculation of decodeTime. r=jya.
...
MozReview-Commit-ID: 6LMH7cQrC02
2016-03-05 09:32:26 +08:00
JW Wang
da3de38e0a
Bug 1252766 - Remove MediaDecoderStateMachine::mDecodeToSeekTarget which is never read. r=kaku.
...
MozReview-Commit-ID: KAArYtFqUKQ
2016-03-04 10:47:26 +08:00
JW Wang
90a4bbf791
Bug 1252762 - Decode at most one audio/video sample before finishing seeking. r=cpearce.
...
The idea is to make NeedToDecode{Audio,Video} return false when mState is DECODER_STATE_SEEKING
so DispatchDecodeTasksIfNeeded() basically does nothing during seeking. And we call
Ensure{Audio,Video}DecodeTaskQueued instead during seeking to request audio/video samples
only when audio/video seeking is not completed.
MozReview-Commit-ID: 2n7ehVXAq4H
2016-03-03 15:13:37 +08:00
JW Wang
791870c440
Bug 1252360 - remove some check from NeedToDecodeAudio(). r=bechen.
...
MozReview-Commit-ID: J8kuQDQAEj9
2016-03-03 10:52:07 +08:00
JW Wang
fcfc4e13b6
Bug 1252344. Part 2 - remove unnecessary checks from MediaDecoderStateMachine::NeedToDecodeAudio(). r=bechen.
...
MozReview-Commit-ID: LiFvkp9RNsI
2016-03-02 10:39:22 +08:00
JW Wang
e6ca041270
Bug 1252344. Part 1 - remove unnecessary checks from MediaDecoderStateMachine::NeedToDecodeVideo(). r=bechen.
...
MozReview-Commit-ID: Jgo9g5B9yq
2016-03-02 10:39:20 +08:00