Jean-Yves Avenard
10d2da1b08
Bug 1374596: P7. Fix includes as per coding style. r=padenot
...
MozReview-Commit-ID: 5WfOWcOoxg0
--HG--
extra : rebase_source : 988c09623e83a0d9188d9ff5d705314e2c43e756
2017-06-20 17:56:55 +02:00
Jean-Yves Avenard
9223d7c8a2
Bug 1374596: P5. Fix MediaDecoder* headers. r=padenot
...
MozReview-Commit-ID: AjSjYXXcutJ
--HG--
extra : rebase_source : 13705fb658bdfa6e98884f9e1ab142355aab399d
2017-06-20 17:34:29 +02:00
Kaku Kuo
458f8fcb6e
Bug 1371188 P2 - remove MediaDecoderReader::RequestVideoData()'s aSkipToNextKeyframe parameter; r=jya
...
It is not used.
MozReview-Commit-ID: EDPhN6RzKN0
--HG--
extra : rebase_source : ab743da08760cd4014504528581d935ea9aa6752
extra : source : 3a7f3b90239b4bdf96c25e5df2f0c49a6c326c42
2017-06-12 16:06:11 +08:00
JW Wang
dccac51c32
Bug 1365524. P1 - Make MetadataHolder non-ref-counted. r=jya
...
Since MozPromise supports move-only types, we don't need to make MetadataHolder a ref-counted type.
MozReview-Commit-ID: E7KJuFQNWxe
--HG--
extra : rebase_source : d303c4d119504a289fe60cf5cdd2793ebf58d643
2017-05-18 10:20:44 +08:00
JW Wang
555e36e1d0
Bug 1351574. P2 - let MediaDecoderReader::DecodeVideoFrame() take TimeUnit instead of int64_t. r=jya
...
MozReview-Commit-ID: 84z2yir8sfX
--HG--
extra : rebase_source : 9eda512734dfd7d72b107ee5c6e2c2bac9553b44
extra : source : 5c9d90e876ced6d35dd269e10c817de4f30288b3
2017-03-30 18:07:53 +08:00
JW Wang
8944536d62
Bug 1351574. P1 - let MediaDecoderReader::RequestVideoData() take TimeUnit instead of int64_t. r=jya
...
MozReview-Commit-ID: DOsYkcJ77Em
--HG--
extra : rebase_source : 3a62ef115f29121ff8b3f10651e4085ee9b0a5f9
extra : intermediate-source : cad177b6c8fbdc3dee80cc8fdb553b2d9d60bd04
extra : source : d26b8549793add957cb4620418fa861a3b8c7aec
2017-03-29 16:52:57 +08:00
JW Wang
4dde56f760
Bug 1349145. P1 - revert the changes in bug 1203047 for MediaDecoderReader and its friends. r=jya
...
MozReview-Commit-ID: IghzDRwvd9S
--HG--
extra : rebase_source : d686c3a13af56b508c14e81d59417b715ffdd940
2017-03-22 11:28:33 +08:00
Kaku Kuo
7c985e041c
Bug 1346120 part 3 - Use NullDecoderModule while suspending a video element's decoder; r=jwwang
...
MozReview-Commit-ID: L1CsDV5TW5R
--HG--
extra : rebase_source : c7aa851ebdbda6abbf7acb09849b237023d653fe
extra : intermediate-source : 91c5986bef4c236e29deeeca6b14f33405da56a3
extra : source : 2d3146d70fb65da3379dd6a5f126c4caff65e139
2017-03-09 17:12:02 +08:00
Iris Hsiao
7f4987cc26
Backed out 6 changesets (bug 1346120) for autophone Mdm tests failure in test_background_video_drawimage_with_suspended_video.html
...
Backed out changeset a30c73fc8d69 (bug 1346120)
Backed out changeset f16556658fd9 (bug 1346120)
Backed out changeset 98d212462786 (bug 1346120)
Backed out changeset ba579adbed21 (bug 1346120)
Backed out changeset c0758b9bf7b5 (bug 1346120)
Backed out changeset 94a483ef784e (bug 1346120)
2017-03-13 16:53:14 +08:00
Kaku Kuo
707ca65566
Bug 1346120 part 3 - Use NullDecoderModule while suspending a video element's decoder; r=jwwang
...
MozReview-Commit-ID: L1CsDV5TW5R
--HG--
extra : rebase_source : e8a47fc99d775c591f6830b042c21717a3e8bced
extra : source : 2d3146d70fb65da3379dd6a5f126c4caff65e139
2017-03-09 17:12:02 +08:00
Jean-Yves Avenard
b7844bd5c3
Bug 1319987: P9. More coding style fixes. r=gerald
...
MozReview-Commit-ID: DhFRqkWQZny
--HG--
extra : rebase_source : 03ed44efc83fe9cab7fc975229ac4e5746aff96b
2017-01-27 13:20:37 +01:00
Jean-Yves Avenard
8dcd7e8a30
Bug 1319987: P8. Fix comment. r=gerald
...
MozReview-Commit-ID: BXZBHdEAY8Z
--HG--
extra : rebase_source : 633be1d45d5afc7e0d8f875ed6dc99a376d0bea4
2017-01-27 11:48:43 +01:00
Jean-Yves Avenard
e2abc1a523
Bug 1319987: P7. Re-implement handling for WaitingForKey in MFR. r=cpearce,gerald
...
MozReview-Commit-ID: FCiAO54oiH3
--HG--
extra : rebase_source : 898e175742ae4db13c48cf75463a9775968b0030
2017-01-27 11:48:00 +01:00
JW Wang
e6e5696cf4
Bug 1319295. Part 1 - add a field to identify audio or video seek failures. r=jya
...
MozReview-Commit-ID: 3PXlISED4tm
--HG--
extra : rebase_source : 18f1b074cacdacdc4dff270662e4609cdff94b76
extra : intermediate-source : 4205a6383c79d09f962853d8b4d8ddb5797bc79e
extra : source : 2e98d6a4761e4b42311fc50b9a5bcb55741eda34
2016-12-16 16:57:27 +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
Jean-Yves Avenard
a64614f927
Bug 1319992: P2. Update MediaDecoderReader documentation. r=jwwang
...
Remove all no longer relevant information.
MozReview-Commit-ID: 89HB0Pk1XoI
--HG--
extra : rebase_source : ca1676a82ea3ed6df7f22c20d6cb5f36a9682897
2016-11-30 01:23:38 +11:00
Jean-Yves Avenard
c9d75c91a6
Bug 1319992: P1. Run demuxing operations on its own task queue. r=jwwang
...
We runs all demuxing operations on a dedicated task queue.
MediaDataDemuxer's members using a synchronous API are handled via thread-safe copy that are updated along the operations.
The buffered range calculation is now handled separately and the entire operation is made asynchronous.
MozReview-Commit-ID: Gd4DCC8Ix6n
--HG--
extra : rebase_source : b90bad0a386c2a1e30acc00e3db9db6b6762aa3b
2016-11-28 21:08:01 +11:00
Sebastian Hengst
eda03c6bbf
Backed out changeset f3ac066c3741 (bug 1319992) for failing test_eme_stream_capture_blocked_case1.html. r=backout
2016-12-19 12:39:21 +01:00
Sebastian Hengst
54179fc7dd
Backed out changeset 45afcd8cf9ef (bug 1319992)
2016-12-19 12:38:36 +01: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
Jean-Yves Avenard
4d4410d2d0
Bug 1319992: P2. Update MediaDecoderReader documentation. r=jwwang
...
Remove all no longer relevant information.
MozReview-Commit-ID: 89HB0Pk1XoI
--HG--
extra : rebase_source : d739ed90268d2eabe21370758b25d35e03b030a4
2016-11-30 01:23:38 +11:00
Jean-Yves Avenard
c5eae5a4c0
Bug 1319992: P1. Run demuxing operations on its own task queue. r=jwwang
...
We runs all demuxing operations on a dedicated task queue.
MediaDataDemuxer's members using a synchronous API are handled via thread-safe copy that are updated along the operations.
The buffered range calculation is now handled separately and the entire operation is made asynchronous.
MozReview-Commit-ID: Gd4DCC8Ix6n
--HG--
extra : rebase_source : 6a18ce2552bf4cbf88e9b8db1c9a87e70623fd15
2016-11-28 21:08:01 +11:00
Carsten "Tomcat" Book
c6f3dc11fc
Backed out changeset 781555873370 (bug 1319992) for frequent test failurs in mediasource-endofstream.html
2016-12-16 12:41:41 +01:00
Carsten "Tomcat" Book
ae2d6964b3
Backed out changeset d3366444625b (bug 1319992)
2016-12-16 12:41:10 +01:00
Carsten "Tomcat" Book
ba4d31d333
Backed out changeset ab31c60d46d7 (bug 1319992)
2016-12-16 12:41:08 +01:00
JW Wang
4c8150312c
Bug 1323929 - Change the reject value type from nsresult to MediaResult. r=jya
...
MozReview-Commit-ID: 7ld7elZCN50
--HG--
extra : rebase_source : 27cf8d6a36542ac94e0ace663525d0c4c1b5d917
2016-12-16 14:45:03 +08: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
Jean-Yves Avenard
f97f51ce88
Bug 1319992: P2. Update MediaDecoderReader documentation. r=jwwang
...
Remove all no longer relevant information.
MozReview-Commit-ID: 89HB0Pk1XoI
--HG--
extra : rebase_source : 8190aece8113a067080e082c2da63a750d9b4d68
2016-11-30 01:23:38 +11:00
Jean-Yves Avenard
a0a96efb0f
Bug 1319992: P1. Run demuxing operations on its own task queue. r=jwwang
...
We runs all demuxing operations on a dedicated task queue.
MediaDataDemuxer's members using a synchronous API are handled via thread-safe copy that are updated along the operations.
The buffered range calculation is now handled separately and the entire operation is made asynchronous.
MozReview-Commit-ID: Gd4DCC8Ix6n
--HG--
extra : rebase_source : fb157f58e38c2f3199ed96095634bf8e4ab6065b
2016-11-28 21:08:01 +11:00
JW Wang
114ec342ad
Bug 1315631 - Don't dispatch |this| in the constructor. r=jya
...
Because it will change the ref-count which might cause destructor to run before exiting the constructor.
MozReview-Commit-ID: MMIea970Dv
--HG--
extra : rebase_source : faf898a3107706bc0ea750e738d8c3a7a3824264
2016-11-08 23:09:34 +08: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
Kaku Kuo
5dc843a1d7
Bug 1313635 part 2 - remove DispatchSetStartTime(), HaveStartTime() and StartTime(); r=jwwang,jya
...
MozReview-Commit-ID: 17QZU97hWVr
--HG--
extra : rebase_source : 25f1391f3603fa533979d07349d5bad1b07ef310
2016-11-25 16:56:06 +08:00
Kaku Kuo
73e0bee6d2
Bug 1313635 part 1 - don't go through MediaDecoderReaderWrapper to set start time; r=jwwang,jya
...
MozReview-Commit-ID: KXz1veb7x1i
--HG--
extra : rebase_source : e11247aba37a9edaf9276b7cbbc70c9e867e4dcd
2016-11-25 16:47:02 +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
James Cheng
11730376d7
Bug 1318225 - Part2 - Remove demux-only APIs. r=jya
...
MozReview-Commit-ID: ONS7mMr8mZ
--HG--
extra : rebase_source : a5ea2b94c664766064ca0c765347b4d8cd798cd2
2016-11-17 15:23:07 +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
a3d152a719
Bug 1299072: P7. Use MediaResult with MetadataPromise. r=jwwang
...
MozReview-Commit-ID: KrRr8wDuPNT
--HG--
extra : rebase_source : 3df3763890a55c898ca3f00dd914e3c78fe714b1
2016-09-10 19:56:50 +10: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
Kaku Kuo
a863ce05a0
Bug 1286454 part 3 - remove MediaDecoderReader::mVideoDiscontinuity since it leads to nothing now; r=jwwang
...
MozReview-Commit-ID: 1JMngmA61Bd
--HG--
extra : rebase_source : 10e74faa50c897f130006014956d85f4c3886020
2016-08-25 18:16:05 +08:00
Kaku Kuo
4000b4f2ab
Bug 1286454 part 2 - remove MediaDecoderReader::mAudioDiscontinuity since it leads to nothing now; r=jwwang
...
MozReview-Commit-ID: DjOXLa5aDm1
--HG--
extra : rebase_source : 1ada8cb696ffdd884723a2c75634a3edfcad1815
2016-08-25 18:14:17 +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
Jean-Yves Avenard
49ac56ce9a
Bug 1288329: [ogg] P1. Add support for metadata chaining in OggDemuxer. r=gerald,jwwang
...
This is not the cleanest approach, but ensures identical behavior with the OggReader when it comes to firing loadedmetadata event and handling the change of seekability.
A more universal solution could be considered involving the MediaFormatReader and changing the MediaDataDemuxer API, of interest would be adding support for a new event fired whenever we have a change of content or metadata (useful with MSE or recorded webm of a WebRTC session
MozReview-Commit-ID: BojB2r1CtA3
--HG--
extra : rebase_source : 352fa61b62316264d1a2c8669f427d75f15ca19b
2016-07-28 15:32:11 +10:00
Wes Kocher
8f0a108b9a
Backed out 6 changesets (bug 1288329) for wpt failures a=backout
...
Backed out changeset f33cb032cc9f (bug 1288329)
Backed out changeset 49ea83d00a77 (bug 1288329)
Backed out changeset 1406c14098f1 (bug 1288329)
Backed out changeset 936b73eb37c6 (bug 1288329)
Backed out changeset a1c4d9b9de32 (bug 1288329)
Backed out changeset a76b6e559777 (bug 1288329)
--HG--
extra : amend_source : 4e054fc4af62693934a4ae450a9595443b6a961d
2016-07-29 12:36:20 -07:00