JW Wang
81114cf666
Bug 1294352 - Merge MDSM::InitiateSeek() and MDSM::InitiateDecodeRecoverySeek(). r=kaku
...
MozReview-Commit-ID: 8wgRY9QHOYg
2016-08-11 15:37:27 +08:00
JW Wang
471c2d3df0
Bug 1294345 - Remove the TrackSet parameter from MediaDecoderStateMachine::InitiateDecodeRecoverySeek(). r=kaku
...
MozReview-Commit-ID: 7iXecyVAIXq
2016-08-11 15:03:15 +08:00
JW Wang
a8082c43f2
Bug 1294320 - Remove MediaDecoderStateMachine::IsVideoDecodeSuspended() r=kaku
...
MozReview-Commit-ID: 9iTzmMhw686
2016-08-11 11:32:14 +08:00
Dan Glastonbury
247bbb1b18
Bug 1284177 - P1: Provide observable notification for video suspend. r=jwwang
...
To support mochitests, report change in video decode suspend state via
events mozentervideosuspend/mozexitvideosuspend.
MozReview-Commit-ID: EwMduLzcMVg
2016-07-04 14:35:21 +10:00
JW Wang
784322cd80
Bug 1292453 - MDSM should enter dormant state when its reader is suspended. r=esawin
...
MozReview-Commit-ID: Fg7jBtGEHBy
2016-08-09 14:43:22 +08:00
Jean-Yves Avenard
9cea791e3d
Bug 1128069: [MSE] P4. Do not adjust duration to what data we may have been seen in the past. r=jwwang
...
With MediaSource, the duration is always known and exact. It is entirely possible that we have played data at some point, then removed that data and adjusted the duration.
MozReview-Commit-ID: HZe2yXtQfIL
2016-08-05 16:03:01 +10:00
JW Wang
5199cc8261
Bug 1291633 - Don't call MediaDecoder::SeekingStarted when visibility is Suppressed. r=kaku
...
MozReview-Commit-ID: 15YOmFCoXGp
2016-08-03 17:18:54 +08:00
Carsten "Tomcat" Book
8ed9dcbd2e
merge mozilla-inbound to mozilla-central a=merge
2016-08-04 15:55:50 +02:00
JW Wang
c84d735f56
Bug 1291185 - Remove the DECODER_WARN_HELPER trick. r=bechen
...
MozReview-Commit-ID: 7U1p0VOvmY3
2016-08-02 16:45:28 +08:00
Carsten "Tomcat" Book
519880095f
Backed out changeset 221e8d2b180e (bug 1274626)
2016-08-02 17:47:24 +02:00
Kaku Kuo
f8e880219d
Bug 1274626 part 6 - make MDSM change video decoder dynamically; r=jwwang
...
MozReview-Commit-ID: LK0gt8HhnVn
2016-07-25 17:08:28 +08:00
Kaku Kuo
4910ba90d9
Bug 1274626 - Part 6 - make MDSM change video decoder dynamically; r=jwwang
...
MozReview-Commit-ID: LK0gt8HhnVn
2016-07-25 17:08:28 +08:00
JW Wang
48bfc25489
Bug 1286766 - make MediaPrefs::MDSMSuspendBackgroundVideoDelay() safe to read off main thread using Preferences::AddAtomicUintVarCache(). r=gerald,kamidphish
...
MozReview-Commit-ID: FAplUTE07l0
2016-07-14 15:50:23 +08:00
JW Wang
65d62d6e96
Bug 1287670 - Improve cohesion of MDSM::InitiateSeek(). r=kaku
...
MozReview-Commit-ID: BgaTUXFik9a
2016-07-07 16:55:24 +08:00
JW Wang
02e3b36360
Bug 1287700 - Remove unused MDSM::mDispatchedEventToDecode. r=bechen
...
MozReview-Commit-ID: 5lUb83GWoNL
2016-07-12 13:58:40 +08:00
JW Wang
95dbcadd9c
Bug 1287698 - Make MDSM::mPendingDormant a bool. r=jya
...
MozReview-Commit-ID: 8WF0cxAFABS
2016-07-12 13:57:10 +08:00
JW Wang
b7a031773d
Bug 1285122. Part 1 - remove SeekTask::mNeedToStopPrerolling{Audio,Video} per discussion in https://reviewboard.mozilla.org/r/43689/#comment54421 . r=kaku
...
MozReview-Commit-ID: 1r909HO5Cbl
2016-07-07 14:35:58 +08:00
JW Wang
7563ae2288
Bug 1286793 - register visibility changes only when needed. r=kamidphish
...
MozReview-Commit-ID: JTlDPh3ql7A
2016-07-14 17:52:41 +08:00
JW Wang
1a0e7ccbf6
Bug 1284399. Part 6 - store a copy of SeekTarget instead of its reference in SeekTask so it's life cycle can be independent from the client. r=kaku
...
MozReview-Commit-ID: BWrutqvsj29
2016-07-05 14:12:42 +08:00
JW Wang
77563cf99e
Bug 1284399. Part 4 - move |mSeekJob.RejectIfExists(__func__)| out of SeekTask::Discard(). r=kaku
...
MozReview-Commit-ID: C0kmdNkCpk3
2016-07-05 13:55:32 +08:00
JW Wang
bf00728edc
Bug 1284399. Part 3 - remove SeekTask::Exists(). r=kaku
...
MozReview-Commit-ID: EECDBv1DR88
2016-07-05 13:50:37 +08:00
JW Wang
2ba681a3f0
Bug 1284399. Part 2 - add MDSM::mCurrentSeek to replace SeekTask::mSeekJob. r=kaku
...
MozReview-Commit-ID: 84KJcdoXakS
2016-07-05 13:43:46 +08:00
JW Wang
39bd7bfe23
Bug 1284399. Part 1 - add GetSeekTarget() to remove direct access to mSeekJob. r=kaku
...
MozReview-Commit-ID: 60wIW9gHYKt
2016-06-30 13:37:20 +08:00
JW Wang
0be7537476
Bug 1286760 - use macro to simplify the code. r=gerald
...
MozReview-Commit-ID: HsAOgQoGuQ5
2016-07-14 15:09:06 +08:00
Eugen Sawin
cd8077ac26
Bug 1284875 - [1.2] Don't recover seek position during shutdown. r=jwwang
2016-07-07 16:53:47 +02:00
JW Wang
ba343a8876
Bug 1281090. Part 3 - replace MediaDecoderReaderWrapper::Set{Audio,Video}Callback with MediaCallback. r=kaku.
...
MozReview-Commit-ID: DleK3s5F3sD
2016-06-14 11:22:45 +08:00
Kaku Kuo
53ff8ee81c
Bug 1278228 - handle VideoOnly seek as an accurate seek; r=jwwang
...
MozReview-Commit-ID: DsQQB8YX2jm
2016-06-21 10:33:32 +08:00
JW Wang
a7c2a911fa
Bug 1280175 - Allow passing lvalue to MediaEventProducerExc<T>::Notify. r=gerald
...
MozReview-Commit-ID: 6Wr3obvkVXo
2016-06-14 15:25:45 +08: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
Carsten "Tomcat" Book
102c4ef0c7
Backed out changeset d64ca44c11ce (bug 1214710)
2016-06-08 12:08:40 +02:00
Carsten "Tomcat" Book
9b2eda8927
Backed out changeset 8a796ebc560f (bug 1214710)
2016-06-08 12:08:39 +02:00
Eugen Sawin
5febf962a2
Bug 1214710 - [3.1] Reset video decode suspend timer when resuming reader. r=jwwang
2016-06-08 11:31:20 +02:00
Eugen Sawin
d2e35f7b2d
Bug 1214710 - [2.4] Recover decode seek position when resuming suspended playback. r=jwwang
2016-06-08 11:31:20 +02:00
Nicholas Nethercote
57ff9ef7c2
Bug 1278452 - Remove unnecessary null checks in dom/media/. r=kamidphish.
...
|audio| and |video| are both dereferenced beforehand.
2016-06-07 14:50:39 +10:00
Dan Glastonbury
6e3c41a70f
Bug 1276570: Replace TargetQueues enum with bitwise-or flags. r=jwwang
...
MozReview-Commit-ID: 95rnjumeBf
2016-05-31 14:32:37 +10:00
Kaku Kuo
f76fdbda1d
Bug 1278228 - use MOZ_DIAGNOSTIC_ASSERT() to confirm that AccurateVideoOnly seek might reach MDSM::InitiateSeek(); r=jwwang
...
MozReview-Commit-ID: LLZn65yZib5
2016-06-07 15:22:29 +08:00
Dan Glastonbury
ace5a89f72
Bug 1275481: Suspend video decoding via timer. r=jwwang
...
Suspend decoding of video in background tabs once timer fires. The timer
is trigger on switch to invisible and reset each time becomes
visible. Default timer is set at 10 seconds and is controlled via pref
media.suspend-bkgnd-video.delay-ms.
MozReview-Commit-ID: IPIQ1g7Hkpw
2016-05-30 17:25:10 +10:00
Kaku Kuo
e6f65531fd
Bug 1235301 - part 3 - export HTMLMediaElement::seekToNextFrame(); r=jwwang
...
MozReview-Commit-ID: 8WMpwOwfqxz
2016-05-24 23:05:35 +08:00
Kaku Kuo
d8ee343966
Bug 1235301 - part 1 - abstract the SeekTask class; r=jwwang
...
MozReview-Commit-ID: F2oXfR4F28x
2016-05-24 11:02:57 +08:00
Dan Glastonbury
08f401bc47
Bug 1275472 - Enable suspending of background video only in nightly builds. r=cpearce
...
MozReview-Commit-ID: 13HJbggtTXH
2016-05-25 14:13:30 +10:00
JW Wang
2407e20338
Bug 1272565 - draw a blank image when no frames in the video track.
...
MozReview-Commit-ID: 1Kijn00XAnQ
2016-05-17 10:33:32 +08:00
Kaku Kuo
b2fd1049ab
Bug 1274192 part 2 - make MDSM and SeekTask to adopt new MediaDecoderReaderWrapper API; r=jwwang
...
MozReview-Commit-ID: 36QOhD3Hc2f
2016-05-19 19:02:20 +08:00
Dan Glastonbury
cf760543c8
Bug 1272422 - Part 2: Vidoe -> Video. r=cpearce
...
Fix spelling of video.
MozReview-Commit-ID: JGlxxHfE5tW
2016-05-13 15:50:11 +10:00
Alastor Wu
a42aa37e4f
Bug 1269672 - part2 : move audible data checking from MDSM to DecodedAudioDataSink.
...
MozReview-Commit-ID: 8uYJ9UA2Jf2
2016-05-12 14:18:53 +08:00
Kaku Kuo
18e186a4ec
Bug 1271581 - use newCurrentTime, instead of GetMediaTime() to decide the nextState; r=jwwang
...
MozReview-Commit-ID: K7VCHFEMxib
2016-05-10 17:53:42 +08:00
Dan Glastonbury
68f152ce7e
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
Dan Glastonbury
91045284e3
Bug 1224973 - Part 4: Pref media.suspend-bkgnd-video.enabled. r=cpearce,jwwang
...
Pref to control feature. Enabled at request of :cpearce.
MozReview-Commit-ID: 7Ci7mNqugOh
2016-05-12 09:54:00 +10:00
Dan Glastonbury
cb280e8b5d
Bug 1224973 - Part 3: Plumb element visibility into MDSM. r=jya,jwwang
...
change MediaDecoder::mIsVisible to be a Canonical<bool> and plumb through to
the MediaDecoderStateMachine. This will be used to trigger suspending the
decoding of video frames.
MozReview-Commit-ID: F3Dpf0ogE7c
2016-05-12 09:53:51 +10:00
JW Wang
aeae6721b1
Bug 1270698 - check if we need to enter buffering periodically to ensure we start buffering when running out of decoded audio/video data. r=cpearce.
2016-05-06 17:38:34 +10:00
Alastor Wu
de5eeb5510
Bug 1235612 - Part 4: Modify check audible method. r=jwwang
...
MozReview-Commit-ID: FvCrbdkNSll
2016-05-03 17:59:38 +08:00