Eric Rahm
cbe223b678
Bug 1165515 - Part 7: Convert PR_LOG_DEBUG + 1 to PR_LOG_VERBOSE. rs=froydnj
...
Used the command: |sed -E -i -e 's/PR_LOG_DEBUG\s*\+\s*1/PR_LOG_VERBOSE/g'|
2015-06-03 15:22:32 -07:00
Carsten "Tomcat" Book
89becff57d
Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
...
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)
2015-06-02 13:05:56 +02:00
Eric Rahm
f5003d5120
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Eric Rahm
9fc545add5
Bug 1165515 - Part 7: Convert PR_LOG_DEBUG + 1 to PR_LOG_VERBOSE. rs=froydnj
...
Used the command: |sed -E -i -e 's/PR_LOG_DEBUG\s*\+\s*1/PR_LOG_VERBOSE/g'|
2015-06-01 22:17:24 -07:00
Wes Kocher
2a7ed059f1
Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
...
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm
0baf91e33f
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Eric Rahm
2792f92871
Bug 1165515 - Part 7: Convert PR_LOG_DEBUG + 1 to PR_LOG_VERBOSE. rs=froydnj
...
Used the command: |sed -E -i -e 's/PR_LOG_DEBUG\s*\+\s*1/PR_LOG_VERBOSE/g'|
2015-06-01 14:31:00 -07:00
Bobby Holley
4f99f42fc0
Bug 1168008 - Get rid of RefableThen and make Then return an nsRefPtr<Consumer>. r=jww
...
This incurs an extra addref here and there, but I think it makes the API simpler
to use and understand.
2015-05-28 16:03:06 -07:00
JW Wang
e675566dfe
Bug 1163467. Part 6 - refactor MediaDecoder::AddOutputStream and move related code to MediaDecoderStateMachine. r=roc.
2015-05-28 14:17:30 +08:00
JW Wang
b1482d7995
Bug 1163467. Part 5 - move MediaDecoder::UpdateStreamBlockingForPlayState to MediaDecoderStateMachine. r=roc.
2015-05-28 14:16:59 +08:00
JW Wang
3d4eab1cad
Bug 1163467. Part 4 - move MediaDecoder::UpdateStreamBlockingForStateMachinePlaying to MediaDecoderStateMachine. r=roc.
2015-05-28 14:16:42 +08:00
Benjamin Chen
db52e978e1
Bug 1102047 - Reset the value to AUDIO_DURATION_USECS or re-calculate if the remainingTime is negtive. Schedule the state machine at the first video sample pushed into the queue. r=jwwang
2015-05-13 18:21:09 +08:00
Jean-Yves Avenard
01fa813bb3
Bug 1166836: Part4. Don't unecessarily call GetBuffered(). r=cpearce
...
Regression was introduced in 24a7f0fda98b (bug 1163445)
2015-05-23 11:16:12 +10:00
Eric Rahm
5b59cf4e0b
Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj
2015-05-21 13:22:04 -07:00
Jean-Yves Avenard
2cad03379f
Bug 1163445: Part5. Replace dom::TimeRanges with TimeIntervals object. r=mattwoodrow
2015-05-18 16:15:47 +10:00
JW Wang
686f8b0a1d
Bug 1163469 - Move MediaDecoder::DecodedStreamData and related code to its own file. r=roc.
2015-05-10 11:38:15 +08:00
Benjamin Chen
a077286efd
Bug 1140995 - Part 1 - At end of stream, send the last video frame to decoded stream with deviation usec if the last video frame's duration is 0. r=jwwang
2015-04-22 18:19:19 +08:00
Eric Rahm
06d4f75aa8
Bug 1163201 - Part 1: Remove instances of #ifdef PR_LOGGING in dom/. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:23 -07:00
JW Wang
73922fdc5a
Bug 1164297 - tweaks to logging modules of MediaDecoderStateMachine to remove accessing to env vars. r=cpearce.
2015-05-14 10:15:05 +08:00
Bobby Holley
a0d81c0d41
Bug 1162803 - Mirror playback position. r=jww,r=sotaro
2015-05-11 11:16:07 -07:00
Bobby Holley
45dbd4b054
Bug 1162803 - Rename mCurrentFrameTime to mCurrentPosition to better match the naming in the spec. r=jww
...
This field corresponds to the "current playback position" in HTML5.
2015-05-11 11:16:06 -07:00
Karl Tomlinson
3cb207a4c9
bug 1161892 use separate thread pool for platform decoder task queues r=bholley
...
so that platform decoder tasks will run when their readers wait and block
their thread pool.
2015-05-07 16:01:43 +12:00
Bobby Holley
2cc0668dc1
Bug 1161901 - Sprinkle more assertions and fix some formatting. r=jww
2015-05-07 09:50:37 -07:00
Bobby Holley
cea37f3b76
Bug 1161901 - Make MDSM::ScheduleStateMachine runs on the state machine task queue only. r=jww
2015-05-07 09:50:35 -07:00
Bobby Holley
c8c48c0fe3
Bug 1161901 - Relax assertion. r=jww
2015-05-07 09:47:40 -07:00
Bobby Holley
8b08a0cf5f
Bug 1161901 - Hoist MDSM shutdown logic into MDSM::Shutdown and remove brittle requirement that RunStateMachine only happen once in SHUTDOWN state. r=jww
2015-05-07 09:47:40 -07:00
Bobby Holley
a5774b6f01
Bug 1161901 - Use ProxyMediaCall instead of MDSM::ShutdownReader. r=jww
2015-05-07 09:47:39 -07:00
Bobby Holley
7161a47ddd
Bug 1161901 - Dispatch MediaDecoderReader::SetIdle directly. r=jww
2015-05-07 09:47:39 -07:00
Sotaro Ikeda
1e00699f6d
Bug 1158448 Part 2 - Remove ApplyStateToStateMachine and PLAY_STATE_SEEKING r=jwwang,bwu
2015-05-07 08:19:46 -07:00
Sotaro Ikeda
5427845b1c
Bug 1158448 Part 1 - Replace MDSM::Play with a state-watcher on mPlayState and eliminate ApplyStateToStateMachine. r=sotaro
2015-05-07 08:19:33 -07:00
Bobby Holley
d19fca66d6
Bug 1161742 - Use lambdas for Seek. r=jww
2015-05-05 21:04:30 -07:00
Bobby Holley
8d2b3ec6e8
Bug 1161742 - Use lambdas for WaitForData. r=jww
2015-05-05 21:02:59 -07:00
Bobby Holley
9de09ebbe4
Bug 1159974 - Dispatch SetMinimizePrerollUntilPlabackStarts. r=jww
2015-05-04 11:04:48 -07:00
Bobby Holley
2dc2956ab8
Bug 1159974 - Dispatch SetAudioCaptured. r=jww
...
While we're at it, I figured it was time to experiment with lambdas. :-)
2015-05-04 11:04:47 -07:00
Bobby Holley
01e76f93e4
Bug 1159974 - Mirror mPreservesPitch. r=jww
2015-05-04 11:04:47 -07:00
Bobby Holley
4e641a4123
Bug 1159974 - Mirror mPlaybackRate. r=jww
2015-05-04 11:04:46 -07:00
Bobby Holley
7efe532a64
Bug 1159974 - Mirror mVolume. r=jww
2015-05-04 11:04:45 -07:00
Bobby Holley
67e8197d25
Bug 1159974 - Assert that we're on the state machine thread for most remaining MDSM methods. r=jww
...
There are a handful of methods where we can't yet assert this. This bug will
tackle several of them.
2015-05-04 11:04:45 -07:00
Jean-Yves Avenard
1973af205a
Bug 1157075: Part1. Rename and make AsyncReadMetadata virtual. r=bholley
2015-05-01 15:37:29 +10:00
Bobby Holley
8a43ce3ce0
Bug 1160064 - Give WatchManager an owner thread and make sure everything happens there. r=jww
2015-04-30 21:29:50 -07:00
Bobby Holley
f1e2ad39fb
Bug 1160064 - Do watching/mirroring initialization on the state machine task queue. r=jww
...
We take this as an opportunity to remove connect-during-initialization. Always
connecting from the owner thread feels like a stronger invariant.
2015-04-30 21:29:49 -07:00
Bobby Holley
32377cc6c5
Bug 1160064 - Switch mirror/canonical initialization to happen in the constructor. r=jww
...
The goal here is to hoist all meaningful watcher/mirror/canonical manipulation
onto the owner thread. But since that must necessarily happen asynchronously,
we need to make sure that canonicals are in a sane state immediately upon
creation, since otherwise a mirror from another thread may attempt to connect to
a not-yet-initialized canonical.
2015-04-30 21:29:48 -07:00
Bobby Holley
63ce4c9d09
Bug 1160064 - Initialize the state machine task queue in the initializer list. r=jww
2015-04-30 21:29:46 -07:00
Bobby Holley
dc8cc8f105
Bug 1159558 - Redesign watching to use a manager. r=jww
2015-04-30 12:46:40 -07:00
Bobby Holley
af73e74f6d
Bug 1159558 - Eliminate initial notifies. r=jww
...
They've proven themselves to be a hassle, and I think we can live without them.
2015-04-30 12:46:38 -07:00
Bobby Holley
859433f1b7
Bug 1157803 - Mirror mPlayState and mNextState to the state machine task queue and eliminate cross-thread access. r=jww
2015-04-28 21:56:20 -07:00
Bobby Holley
e613167523
Bug 1157797 - Use state-watching machinery for UpdateNextFrameStatus. r=jww
...
The ergonomics here aren't ideal. I'm going to file a bug to improve them.
2015-04-27 21:20:41 -07:00
Bobby Holley
96bc3efe2c
Bug 1157797 - Be more disciplined about where we call UpdateNextFrameStatus. r=jww
...
This value depends on mState and the audio/video queue states. Given that, we can
just stick these calls in a few choke points.
2015-04-27 21:20:38 -07:00
L. David Baron
a0129b4a8a
Bug 1157654 - Back out changeset e73f7d6a138d (bug 1140995) for frequent failures in dom/media/test/test_mediarecorder_getencodeddata.html .
2015-04-25 11:10:37 -07:00
Bobby Holley
1e4f8d4df5
Bug 1144481 - Use state mirroring for NextFrameStatus. r=jww
2015-04-23 11:55:14 -07:00