Commit Graph

48 Commits

Author SHA1 Message Date
JW Wang
6b395243f2 Bug 1325905. Part 2 - move IsWaitForDataSupported() assertions into MediaDecoderReaderWrapper. r=kaku
MozReview-Commit-ID: 6KwjHONHKo

--HG--
extra : rebase_source : f6da0198c63f27d002d5118ac8a12d436d9c2586
extra : intermediate-source : 1100a896ff400a101ac166cc82e75e28b37e2c5e
extra : source : 19cab6225fc2969fd5f1f445f48c90b2de2481e7
2016-12-21 17:37:56 +08:00
JW Wang
0323cca4c5 Bug 1324629. Part 4 - clean up some functions and comments. r=kaku
MozReview-Commit-ID: HP2Tp8KbRoq

--HG--
extra : rebase_source : e2ac1431611f30a8d9ffb1fb3bcd30b6a52e31c6
extra : intermediate-source : c281654e20d3a91f310f6bd983c3ba2c6915afe7
extra : source : 867b2f18697a1b5a1b87b95ad6af8a4fc60e6162
2016-12-20 15:48:20 +08:00
JW Wang
d1e5b672ea Bug 1324629. Part 3 - remove AudioWait and videoWait callbacks. r=kaku
MozReview-Commit-ID: 9pXLLrYLN4c

--HG--
extra : rebase_source : c66cc3f37fd3cebb0d6a9c7525f863f2ade2a67e
extra : intermediate-source : fbb3fcf20109d9caa13e556c679aee5e692e78f2
extra : source : e8eff4dc4bc1fae74e6f228d51d9677d215ff66a
2016-12-20 14:31:29 +08:00
JW Wang
08a93dbdc4 Bug 1324629. Part 2 - remove video callback. r=kaku
MozReview-Commit-ID: 92t6GoznxL5

--HG--
extra : rebase_source : b1bf9053a396c501c918b8848d98ce920e3f09f6
extra : intermediate-source : 41414e1780251a382e900bb9ef5c011074278875
extra : source : 89fd50a16e61f3bfdfe445e1b49238ada801256b
2016-12-20 13:17:05 +08:00
JW Wang
6965b449bf Bug 1324629. Part 1 - remove audio callback. r=kaku
MozReview-Commit-ID: DbWwSNpYXLo

--HG--
extra : rebase_source : 901a519bc4864c61ee57bffe04ca61850422c862
extra : intermediate-source : 4db9b0aceda98d5a73b980582c12b8ae09b9c30b
extra : source : 3fadecee89e97b9cf9ffe464265c682ad5c5d28b
2016-12-20 12:54:23 +08:00
Kaku Kuo
5c4d2f2a1d Bug 1324357 - Remove MediaDecoderReader::ForceZeroStartTime(); r=jya
MozReview-Commit-ID: Cm511lpJQ4W

--HG--
extra : rebase_source : c9d1a5a66b787ffffc221c194bb18559c006fa4b
2016-12-21 14:58:38 +08:00
Jean-Yves Avenard
20853d0607 Bug 1319992: P3. Remove no longer used seeking argument. r=jwwang
MozReview-Commit-ID: 9Oc0SHX0Rw2

--HG--
extra : rebase_source : 845ab6daa4414e57d5ce02dee1424df29d3b962d
2016-11-30 01:42:50 +11:00
Sebastian Hengst
e1bd6fb711 Backed out changeset 3cfdc09bf851 (bug 1319992) 2016-12-19 12:38:32 +01:00
Jean-Yves Avenard
65b1f05d4a Bug 1319992: P3. Remove no longer used seeking argument. r=jwwang
MozReview-Commit-ID: 9Oc0SHX0Rw2

--HG--
extra : rebase_source : 40faa64eab2d6ba65d092d5709103eb6daa30565
2016-11-30 01:42:50 +11:00
Carsten "Tomcat" Book
ba4d31d333 Backed out changeset ab31c60d46d7 (bug 1319992) 2016-12-16 12:41:08 +01:00
Jean-Yves Avenard
70465b6470 Bug 1319992: P3. Remove no longer used seeking argument. r=jwwang
MozReview-Commit-ID: 9Oc0SHX0Rw2

--HG--
extra : rebase_source : 0cea32ef23a47b5ed3b2439f2efa268ec66a523c
2016-11-30 01:42:50 +11:00
JW Wang
6a43760ea7 Bug 1320258. Part 2 - remove MediaDecoderReader::UpdateBufferedWithPromise(). r=jya
Bug 1313635 ensures buffer ranges are updated before resolving metadata.
So we can revert the changes in bug 1251460.

MozReview-Commit-ID: Ek0sgPpv92s

--HG--
extra : rebase_source : 79b457167d5b987280083364afe31b31860b48fe
extra : intermediate-source : 9205ca61bb2255e33744af7ec4e13059f275960c
extra : source : 14d155274dc4e0d2daa8a90b1bbb15f975d7ac24
2016-11-25 16:22:55 +08:00
Gerald Squelart
f2a26506fb Bug 1313497 - Use InvokeAsync with Storages in MediaDecoderReaderWrapper - r=jya
Thanks to this, MediaDecoderReader::Seek and overrides can take SeekTarget by
const&.

MozReview-Commit-ID: C5D26jKrW3p

--HG--
extra : rebase_source : 6f6278654ff3c51f6331cbf683c22622223a8cd2
2016-11-13 17:42:19 +11:00
JW Wang
109db02de3 Bug 1319698 - Remove MediaDecoderReader::SetIdle(). r=jya
MozReview-Commit-ID: ArGqum1MSIO

--HG--
extra : rebase_source : fddf43d270607c1ed4bab938b9d8b5f83dd0f8fb
2016-11-23 17:30:31 +08:00
JW Wang
b765703fb7 Bug 1319701 - Remove MediaDecoderReaderWrapper::mForceZeroStartTime. r=kaku
MozReview-Commit-ID: DHRR4U7LT1M

--HG--
extra : rebase_source : 62f98aaa05466c3acbea04463b5667155fbcaaee
2016-11-23 17:34:12 +08:00
Kaku Kuo
0c54250e79 Bug 1309516 part 6 - remove unused MediaDecoderReaderWrapper::mStartTimeRendezvous;r=jwwang
MozReview-Commit-ID: 6ukwUWpIJFF

--HG--
extra : rebase_source : b0e668078494d79491dbb2a127fa1dca1d048173
extra : intermediate-source : ee2d85244182d8a72aeed98da23e7680eacb73d8
extra : source : 123d5075947d2e5912f860b243cf55c838b4f393
2016-10-14 19:22:41 +08:00
Kaku Kuo
0659f224d0 Bug 1309516 part 5 - remove unused MediaDecoderReaderWrapper::AwaitStartTime();r=jwwang
MozReview-Commit-ID: CcybQMPz47i

--HG--
extra : rebase_source : ccdf3ba70a93396998f0bf77b8b04e7a64e58838
extra : intermediate-source : c2ba16341576fa8bfe510f4d37b89ccc55456ff3
extra : source : 4de4162cce1bb37a5ab14c0506428be9b7e698ff
2016-10-14 17:45:59 +08:00
Kaku Kuo
4811612125 Bug 1309516 part 3 - make MediaDecoderReaderWrapper keeps the start time returned from reader;r=jwwang
MozReview-Commit-ID: F57avqCENTj

--HG--
extra : rebase_source : c973be765ae95aa4654b01cc906825d9e07f36f9
extra : intermediate-source : 50c6ae37fa51c52d533bb5cdcd1267a869d49410
extra : source : cb9924bcc2c1d2a820b7b942c89feb861be85569
2016-10-14 19:10:24 +08:00
Sebastian Hengst
5d6d6ae50b Backed out changeset 0699225db846 (bug 1309516) 2016-11-05 11:00:24 +01:00
Sebastian Hengst
367d3fbb28 Backed out changeset 874207ad3984 (bug 1309516) 2016-11-05 11:00:16 +01:00
Sebastian Hengst
ec968f913f Backed out changeset 66f39ef1bdce (bug 1309516) 2016-11-05 11:00:12 +01:00
Kaku Kuo
565b1adf15 Bug 1309516 part 6 - remove unused MediaDecoderReaderWrapper::mStartTimeRendezvous;r=jwwang
MozReview-Commit-ID: 6ukwUWpIJFF

--HG--
extra : rebase_source : b8838a153a6592e68a74178c34cd0cfc1d5c1f37
extra : intermediate-source : ee2d85244182d8a72aeed98da23e7680eacb73d8
extra : source : 123d5075947d2e5912f860b243cf55c838b4f393
2016-10-14 19:22:41 +08:00
Kaku Kuo
f6cdab9b5f Bug 1309516 part 5 - remove unused MediaDecoderReaderWrapper::AwaitStartTime();r=jwwang
MozReview-Commit-ID: CcybQMPz47i

--HG--
extra : rebase_source : 2ba6015df29eef0c02713adbce2a98a0f97314c7
extra : intermediate-source : c2ba16341576fa8bfe510f4d37b89ccc55456ff3
extra : source : 4de4162cce1bb37a5ab14c0506428be9b7e698ff
2016-10-14 17:45:59 +08:00
Kaku Kuo
e9f26909ec Bug 1309516 part 3 - make MediaDecoderReaderWrapper keeps the start time returned from reader;r=jwwang
MozReview-Commit-ID: F57avqCENTj

--HG--
extra : rebase_source : 4e61cb46687539f5b5b2a775b46ad5347ccc6e2a
extra : intermediate-source : 50c6ae37fa51c52d533bb5cdcd1267a869d49410
extra : source : cb9924bcc2c1d2a820b7b942c89feb861be85569
2016-10-14 19:10:24 +08:00
JW Wang
9be13f02e3 Bug 1312337. Part 4 - remove ReaderQueue and its friends. r=jya
MozReview-Commit-ID: Gg4IOPdjEeS

--HG--
extra : rebase_source : 318feb3ce9f84761925c705bfdddbc03a20b10bb
extra : intermediate-source : afd483164d7e4801d320683fe87404284a972f4f
extra : source : bea439fcb268af70b1cbcde7169d9184df167242
2016-10-27 16:06:05 +08:00
James Cheng
48efb9caad Bug 1300654 Part1-Remove MOZ_EME from code base. r=cpearce,smaug
MozReview-Commit-ID: JboGO0w4tcE

--HG--
extra : rebase_source : abfe53f30081f74fc39c900cab48d08c7574bfec
2016-09-08 18:06:20 +08:00
Jean-Yves Avenard
c590867926 Bug 1299072: P6. Pass decoding error details to MDSM and relatives. r=jwwang
MozReview-Commit-ID: 4ow2nF6Syz

--HG--
extra : rebase_source : d8cc561f42ca774b3a2865042392fb4a6aea82fa
2016-09-10 16:48:53 +10:00
JW Wang
a208d2cb40 Bug 1295073 - Remove the aRealTime parameter from the MediaDecoderStateMachine constructor. r=cpearce
MozReview-Commit-ID: BXMVAV1R3gx

--HG--
extra : rebase_source : 0749ff95de361da3c935dfe113690aa8c5e7dc2a
2016-08-15 14:54:10 +08:00
JW Wang
ecaa7b7a0d Bug 1295901 - Change the semantics/naming of MediaDecoderReader::ReleaseMediaResources(). r=jya
MozReview-Commit-ID: DyOwNcC2JK5

--HG--
extra : rebase_source : 5b14dfe1df7ed9eab1783fba64ff4a481e520339
2016-08-17 15:03:30 +08:00
Kaku Kuo
c058f404b8 Bug 1274626 part 5 - provide APIs to switch to blank decoders dynamically; r=jya
MozReview-Commit-ID: PyoIsrEf1r

--HG--
extra : transplant_source : C%D6%9E%89%E2O%DB%DFb%A8%9Az%1FE%11%06oo%EE%3C
2016-07-29 14:51:18 +08:00
Carsten "Tomcat" Book
d647d056e2 Backed out changeset c5b79d4a6913 (bug 1274626) 2016-08-02 17:47:26 +02:00
Kaku Kuo
9b64312544 Bug 1274626 - Part 5 - provide APIs to switch to blank decoders dynamically; r=jya
MozReview-Commit-ID: PyoIsrEf1r

--HG--
extra : transplant_source : %16D%C0%AE%DAf8%21P%1ER%3C%E36%C7K%08G%99%2B
2016-07-29 14:51:18 +08:00
JW Wang
91da763ab9 Bug 1285122. Part 2 - fix includes and forward-declaration. r=kaku
MozReview-Commit-ID: 7r1NNH5DZki

--HG--
extra : rebase_source : 3daf9963e6828de069cbb4f669de52096d917ef1
2016-07-07 14:44:53 +08:00
JW Wang
67a5e7b845 Bug 1281090. Part 3 - replace MediaDecoderReaderWrapper::Set{Audio,Video}Callback with MediaCallback. r=kaku.
MozReview-Commit-ID: DleK3s5F3sD

--HG--
extra : rebase_source : d4ef0e44106f939ed0695e5eef6df181e9bd0ec9
2016-06-14 11:22:45 +08:00
Eugen Sawin
778760ed81 Bug 1214710 - [2.5] Recover decode seek position when resuming suspended playback. r=jwwang 2016-06-08 18:04:33 +02:00
Carsten "Tomcat" Book
6a323f91ff Backed out changeset d64ca44c11ce (bug 1214710) 2016-06-08 12:08:40 +02:00
Eugen Sawin
590ee15d1a Bug 1214710 - [2.4] Recover decode seek position when resuming suspended playback. r=jwwang 2016-06-08 11:31:20 +02:00
Dan Glastonbury
eaa1d08d90 Bug 1276570: Replace TargetQueues enum with bitwise-or flags. r=jwwang
MozReview-Commit-ID: 95rnjumeBf

--HG--
extra : rebase_source : bffaaa632cbe2f9d27f82746a85f2089ede6301a
2016-05-31 14:32:37 +10:00
Kaku Kuo
2c3aeb1b17 Bug 1274192 part 2 - make MDSM and SeekTask to adopt new MediaDecoderReaderWrapper API; r=jwwang
MozReview-Commit-ID: 36QOhD3Hc2f

--HG--
extra : rebase_source : 05a56c3e9dfa970cc576ae7bf54fa7c8b9408b2a
2016-05-19 19:02:20 +08:00
Kaku Kuo
cb40ffa91d Bug 1274192 part 1 - make the MediaDecoderReaderWrapper as a proxy of WaitForData(); r=jwwang
MozReview-Commit-ID: 5wYLuZRKJhA

--HG--
extra : rebase_source : 43c82f7ca75b51d9a895ef73cc4b459bc571d943
2016-05-19 17:55:55 +08:00
Dan Glastonbury
a059e47876 Bug 1272422 - Part 2: Vidoe -> Video. r=cpearce
Fix spelling of video.

MozReview-Commit-ID: JGlxxHfE5tW
2016-05-13 15:50:11 +10:00
Dan Glastonbury
526fdd85f6 Bug 1224973 - Part 5: Implement suspend decoding for background video. r=cpearce,jwwang,jya
Implemented by short-circuiting calls to RequestVideoData in MDSM so no
frames are decoded. Resuming playback when video moves to foreground by
using the SeekTask/SeekJob/Seek in MDSM with result of GetMediaTime().

Special consideration is made to only seek the video part of Seek() to
remove an audible glitch in the audio playback when the video becomes
visible again.

MozReview-Commit-ID: 7YFDTanslXu
2016-05-12 09:54:15 +10:00
Kaku Kuo
f78f42e9df Bug 1266027 part 1 - make the MediaDecoderReaderWrapper as a proxy of requesting media data; r=jwwang
MozReview-Commit-ID: CgTBPmtbNfh

--HG--
extra : transplant_source : %16%86%F676/S%C8%5Dj%86%9C%09%0E%D9%16L%DB%92y
2016-04-27 14:50:23 +08:00
JW Wang
69b738fc15 Bug 1266304. Part 1 - Merge MediaDecoderReader::AudioDataPromise and MediaDecoderReader::VideoDataPromise. r=kaku.
MozReview-Commit-ID: BhhA7sjCTtQ
2016-04-22 14:16:49 +08:00
JW Wang
30774e680f 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
JW Wang
ffd7b45558 Bug 1265311. Part 2 - constify some functions. r=jya.
MozReview-Commit-ID: HMlg0M64PhQ
2016-04-19 16:14:33 +08:00
JW Wang
73644018ff Bug 1265311. Part 1 - Add more proxy functions to MediaDecoderReaderWrapper. r=jya. 2016-04-19 16:14:30 +08:00
JW Wang
13a1e758be Bug 1250054. Part 1 - implement MediaDecoderReaderWrapper. r=jya.
MozReview-Commit-ID: KKN6GR9MO8p
2016-03-31 16:32:03 +08:00