Commit Graph
190 Commits
Author SHA1 Message Date
JW Wang 1eab92594a Bug 1351574. P2 - let MediaDecoderReader::DecodeVideoFrame() take TimeUnit instead of int64_t. r=jya
MozReview-Commit-ID: 84z2yir8sfX
2017-03-30 18:07:53 +08:00
JW Wang 5501dcae56 Bug 1351574. P1 - let MediaDecoderReader::RequestVideoData() take TimeUnit instead of int64_t. r=jya
MozReview-Commit-ID: DOsYkcJ77Em
2017-03-29 16:52:57 +08:00
JW Wang 02df8c7686 Bug 1349145. P1 - revert the changes in bug 1203047 for MediaDecoderReader and its friends. r=jya
MozReview-Commit-ID: IghzDRwvd9S
2017-03-22 11:28:33 +08:00
Kaku Kuo 5a5c6483b4 Bug 1346120 part 3 - Use NullDecoderModule while suspending a video element's decoder; r=jwwang
MozReview-Commit-ID: L1CsDV5TW5R
2017-03-09 17:12:02 +08:00
Iris Hsiao 03d30d3cc2 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 258218c07c Bug 1346120 part 3 - Use NullDecoderModule while suspending a video element's decoder; r=jwwang
MozReview-Commit-ID: L1CsDV5TW5R
2017-03-09 17:12:02 +08:00
Jean-Yves Avenard fa1fcd710b Bug 1319987: P9. More coding style fixes. r=gerald
MozReview-Commit-ID: DhFRqkWQZny
2017-01-27 13:20:37 +01:00
Jean-Yves Avenard 73ac0fad89 Bug 1319987: P8. Fix comment. r=gerald
MozReview-Commit-ID: BXZBHdEAY8Z
2017-01-27 11:48:43 +01:00
Jean-Yves Avenard add393f8ce Bug 1319987: P7. Re-implement handling for WaitingForKey in MFR. r=cpearce,gerald
MozReview-Commit-ID: FCiAO54oiH3
2017-01-27 11:48:00 +01:00
JW Wang 7e45f1cd63 Bug 1319295. Part 1 - add a field to identify audio or video seek failures. r=jya
MozReview-Commit-ID: 3PXlISED4tm
2016-12-16 16:57:27 +08:00
Kaku Kuo 89db04c744 Bug 1324357 - Remove MediaDecoderReader::ForceZeroStartTime(); r=jya
MozReview-Commit-ID: Cm511lpJQ4W
2016-12-21 14:58:38 +08:00
Jean-Yves Avenard dede4979be Bug 1319992: P3. Remove no longer used seeking argument. r=jwwang
MozReview-Commit-ID: 9Oc0SHX0Rw2
2016-11-30 01:42:50 +11:00
Jean-Yves Avenard f6aa3175fa Bug 1319992: P2. Update MediaDecoderReader documentation. r=jwwang
Remove all no longer relevant information.

MozReview-Commit-ID: 89HB0Pk1XoI
2016-11-30 01:23:38 +11:00
Jean-Yves Avenard 0bddc07cc2 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
2016-11-28 21:08:01 +11:00
Sebastian Hengst 97918e3b87 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 f953b9180c Backed out changeset 45afcd8cf9ef (bug 1319992) 2016-12-19 12:38:36 +01:00
Sebastian Hengst 698bc61483 Backed out changeset 3cfdc09bf851 (bug 1319992) 2016-12-19 12:38:32 +01:00
Jean-Yves Avenard c5a13b98e4 Bug 1319992: P3. Remove no longer used seeking argument. r=jwwang
MozReview-Commit-ID: 9Oc0SHX0Rw2
2016-11-30 01:42:50 +11:00
Jean-Yves Avenard b7c00c0045 Bug 1319992: P2. Update MediaDecoderReader documentation. r=jwwang
Remove all no longer relevant information.

MozReview-Commit-ID: 89HB0Pk1XoI
2016-11-30 01:23:38 +11:00
Jean-Yves Avenard 7c781890c3 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
2016-11-28 21:08:01 +11:00
Carsten "Tomcat" Book 1b42fe0b4f 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 305fe6d643 Backed out changeset d3366444625b (bug 1319992) 2016-12-16 12:41:10 +01:00
Carsten "Tomcat" Book dd03cfab2c Backed out changeset ab31c60d46d7 (bug 1319992) 2016-12-16 12:41:08 +01:00
JW Wang b822057e67 Bug 1323929 - Change the reject value type from nsresult to MediaResult. r=jya
MozReview-Commit-ID: 7ld7elZCN50
2016-12-16 14:45:03 +08:00
Jean-Yves Avenard d03eeea2e9 Bug 1319992: P3. Remove no longer used seeking argument. r=jwwang
MozReview-Commit-ID: 9Oc0SHX0Rw2
2016-11-30 01:42:50 +11:00
Jean-Yves Avenard 809b58d93f Bug 1319992: P2. Update MediaDecoderReader documentation. r=jwwang
Remove all no longer relevant information.

MozReview-Commit-ID: 89HB0Pk1XoI
2016-11-30 01:23:38 +11:00
Jean-Yves Avenard bd779d9180 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
2016-11-28 21:08:01 +11:00
JW Wang 462f75f338 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
2016-11-08 23:09:34 +08:00
JW Wang cc57cc0b97 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
2016-11-25 16:22:55 +08:00
Kaku Kuo b6037772e5 Bug 1313635 part 2 - remove DispatchSetStartTime(), HaveStartTime() and StartTime(); r=jwwang,jya
MozReview-Commit-ID: 17QZU97hWVr
2016-11-25 16:56:06 +08:00
Kaku Kuo 8efbdc32ba Bug 1313635 part 1 - don't go through MediaDecoderReaderWrapper to set start time; r=jwwang,jya
MozReview-Commit-ID: KXz1veb7x1i
2016-11-25 16:47:02 +08:00
Gerald Squelart 3ebbf193aa 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
2016-11-13 17:42:19 +11:00
JW Wang 0aa201943a Bug 1319698 - Remove MediaDecoderReader::SetIdle(). r=jya
MozReview-Commit-ID: ArGqum1MSIO
2016-11-23 17:30:31 +08:00
James Cheng 4f212697bb Bug 1318225 - Part2 - Remove demux-only APIs. r=jya
MozReview-Commit-ID: ONS7mMr8mZ
2016-11-17 15:23:07 +08:00
JW Wang 3442b95ef6 Bug 1312337. Part 4 - remove ReaderQueue and its friends. r=jya
MozReview-Commit-ID: Gg4IOPdjEeS
2016-10-27 16:06:05 +08:00
James Cheng 42e8029df1 Bug 1300654 Part1-Remove MOZ_EME from code base. r=cpearce,smaug
MozReview-Commit-ID: JboGO0w4tcE
2016-09-08 18:06:20 +08:00
Jean-Yves Avenard cd24425136 Bug 1299072: P7. Use MediaResult with MetadataPromise. r=jwwang
MozReview-Commit-ID: KrRr8wDuPNT
2016-09-10 19:56:50 +10:00
Jean-Yves Avenard 04fdc747be Bug 1299072: P6. Pass decoding error details to MDSM and relatives. r=jwwang
MozReview-Commit-ID: 4ow2nF6Syz
2016-09-10 16:48:53 +10:00
Kaku Kuo 3282c398f3 Bug 1286454 part 3 - remove MediaDecoderReader::mVideoDiscontinuity since it leads to nothing now; r=jwwang
MozReview-Commit-ID: 1JMngmA61Bd
2016-08-25 18:16:05 +08:00
Kaku Kuo 365dcee8ad Bug 1286454 part 2 - remove MediaDecoderReader::mAudioDiscontinuity since it leads to nothing now; r=jwwang
MozReview-Commit-ID: DjOXLa5aDm1
2016-08-25 18:14:17 +08:00
JW Wang 618ad0db0d Bug 1295901 - Change the semantics/naming of MediaDecoderReader::ReleaseMediaResources(). r=jya
MozReview-Commit-ID: DyOwNcC2JK5
2016-08-17 15:03:30 +08:00
Kaku Kuo fab0df431a Bug 1274626 part 5 - provide APIs to switch to blank decoders dynamically; r=jya
MozReview-Commit-ID: PyoIsrEf1r
2016-07-29 14:51:18 +08:00
Carsten "Tomcat" Book db0a332b80 Backed out changeset c5b79d4a6913 (bug 1274626) 2016-08-02 17:47:26 +02:00
Kaku Kuo 44f56a26cf Bug 1274626 - Part 5 - provide APIs to switch to blank decoders dynamically; r=jya
MozReview-Commit-ID: PyoIsrEf1r
2016-07-29 14:51:18 +08:00
Jean-Yves Avenard 2c3dacaca7 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
2016-07-28 15:32:11 +10:00
Wes Kocher a97fe60d03 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)
2016-07-29 12:36:20 -07:00
Jean-Yves Avenard 9879a27a47 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
2016-07-28 15:32:11 +10:00
Jonathan Watt 9c5b8de022 Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Eugen Sawin d59667a26e Bug 1214710 - [2.5] Recover decode seek position when resuming suspended playback. r=jwwang 2016-06-08 18:04:33 +02:00
Eugen Sawin 9e59612f3d Bug 1214710 - [1.11] Implement ReaderQueue for simultaneous decoder limit enforcement. r=jya,jwwang 2016-06-08 18:04:32 +02:00