Commit Graph

7 Commits

Author SHA1 Message Date
JW Wang
6198322a66 Bug 1324335. Part 2 - Make SeekJob::mTarget a Maybe<>. r=gerald
MozReview-Commit-ID: A2M3b131nHH

--HG--
extra : rebase_source : 5f70d9ee5cfdd603e5e2cb661d88aa2199bea8de
extra : source : 13caeacbf180ae1c9465e593e28784b50c13ded9
2016-12-19 12:25:14 +08:00
JW Wang
acf75cb684 Bug 1317576. Part 4 - remove unused MediaDecoder::SeekResolveValue. r=cpearce
MozReview-Commit-ID: 9H6e0gFvWeT

--HG--
extra : rebase_source : 268efe92dda716f73a83493a4b3deaa599118fd6
extra : source : 972ed89cd3fb09004424d42c08c806a789c67361
2016-11-14 17:00:53 +08:00
JW Wang
c1b6a6bf65 Bug 1317576. Part 3 - remove unused parameter/member. r=cpearce
MozReview-Commit-ID: Ff6a8MKVY8q

--HG--
extra : rebase_source : f89010012e2c5b728109282f640398cde196ab03
extra : source : 66baa9041276b503101651c118f4c6fe0c769db1
2016-11-14 16:47:07 +08:00
JW Wang
c2bf477b21 Bug 1314884. Part 7 - remove SeekResolveValue::mEventVisibility for we always assume MediaDecoderEventVisibility::Observable in P6. r=kaku
MozReview-Commit-ID: 8jUaFPkQQxA

--HG--
extra : rebase_source : 4e3794979ec05c588458ed72472252910d1642b9
extra : source : 565d6e04892b0d8ea7fcd34d5d279f63ec21d245
2016-11-03 15:59:02 +08:00
JW Wang
8055ca2d43 Bug 1314884. Part 6 - remove SeekTarget::mEventVisibility. r=kaku
Note it is fine to always assume MediaDecoderEventVisibility::Observable in SeekJob::Resolve()
because no one will wait for the promise of internal seeks (where EventVisibility::Suppressed is passed).

MozReview-Commit-ID: Dx7AF5VhLmL

--HG--
extra : rebase_source : 517669ed4f10a136b8a2f8eafd76f26f4ad5d8e4
extra : source : 57cdd8d14c59a2f1f0eed0635814de661127ad70
2016-11-03 15:34:11 +08: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
b04c20b172 Bug 1261020 - part 1 - implement SeekTask; r=jwwang
MozReview-Commit-ID: GTrzI3ZuYeo

--HG--
rename : dom/media/MediaDecoderStateMachine.h => dom/media/SeekJob.h
extra : transplant_source : %17%12%88%F9%C1e%DFnw%29%D9%F6%E7I%D4%F3%7FUrJ
2016-04-14 12:01:55 +08:00