Commit Graph

211 Commits

Author SHA1 Message Date
JW Wang
17a1c281d0 Bug 1029372 - clear AudioQueue only after shutting down audio thread to avoid race in accessing AudioQueue. r=kinetik 2014-09-03 20:05:00 +02:00
JW Wang
a66ed73190 Bug 1062116 - MediaDecoderStateMachine::FlushDecoding() should call AssertCurrentThreadInMonitor(). r=kinetik 2014-09-03 00:01:00 -04:00
JW Wang
83bd7810fd Bug 1059052 - centralize state transitions of MediaDecoderStateMachine. r=cpearce 2014-08-28 02:46:00 +02:00
JW Wang
e701bd5278 Bug 1057978 - do nothing in MediaDecoderStateMachine::Seek() while shutting down. r=cpearce 2014-08-25 00:58:00 +02:00
Matthew Gregan
18b96d4a9f Bug 1055967 - Log "discarding video frame" message only when we discard frames. r=cpearce 2014-08-27 13:51:40 +12:00
JW Wang
e13b04d3b6 Bug 1054831 - Improve state transition about decoding metadata by removing |mDispatchedDecodeMetadataTask|. r=cpearce
--HG--
extra : rebase_source : 23e040a5d35954e10f65029f5550e4440aeb4117
2014-08-20 23:37:00 -04:00
Matthew Gregan
d019dad58f Bug 1055967 - Log "discarding video frame" message only when we discard frames. r=cpearce 2014-08-20 01:13:00 +12:00
JW Wang
9658bcdcdf Bug 1054828 - Add logs to MediaDecoderStateMachine for debugging. r=cpearce 2014-08-20 03:26:00 -04:00
Vasanthakumar Pandurangan
befff6a1f4 Bug 1053186 - AudioOffloadPlayer: Avoid glitch during start of playback. r=roc 2014-08-18 05:49:51 -07:00
Jean-Yves Avenard
9090ec5069 Bug 1045591 - Fix media element's autoplay for audio-only stream. r=cpearce
--HG--
extra : rebase_source : 6aa73fd12d362a5eabe6362f8b9c86b41f959f5d
2014-08-18 18:09:19 +10:00
Chris Pearce
256924f63e Bug 1053008 - FlushAndDispatch the ResetDecode call in MDSM::FlushDecoding(). r=kinetik 2014-08-14 20:05:00 -04:00
JW Wang
009c505704 Bug 1046837 - Reset |mDispatchedDecodeMetadataTask| only after finishinig decoding metadata to avoid MediaDecoderStateMachine::CallDecodeMetadata() may run more than once. r=cpearce 2014-08-13 19:11:00 -04:00
Jean-Yves Avenard
47777a3880 Bug 1047180 - Decode a single audio frame in order to retrieve accurate channel count and sampling rate and propagate to MP4Reader. r=cpearce 2014-08-11 15:27:00 +10:00
Chris Pearce
2032523788 Bug 1052378 - Replace stray mIsXXXDecoding fields with IsXXXDecoding() function calls in MediaDecoderStateMachine. r=kinetik 2014-08-13 15:04:19 +12:00
Chris Pearce
d985821ff5 Bug 1046003 - Ensure duplicate frames after a seek have an Image. r=kinetik 2014-08-07 12:02:56 +12:00
JW Wang
e05f371be8 Bug 1043111 - Allow |mState==DECODER_STATE_DORMANT| in MediaDecoderStateMachine::ResetPlayback(). r=kinetik 2014-07-23 20:29:00 +02:00
Michael Pruett
31eedc81ed Bug 1034907 - Remove dangerous public destructor of TimeRanges. r=smaug 2014-07-12 20:26:21 -05:00
JW Wang
cf5dc51375 Bug 996465 - Add ability to delay running state machine cycles for synchronization between decoding/main and state machine threads. r=cpearce 2014-07-11 03:11:00 -04:00
JW Wang
9d6bfe2532 Bug 996465 - Extract code running state machine cycles into a class. r=cpearce 2014-07-11 03:11:00 -04:00
Carsten "Tomcat" Book
056a078091 Backed out changeset bbcfcf00f84e (bug 996465) for bustage on a CLOSED TREE 2014-07-11 09:54:42 +02:00
Carsten "Tomcat" Book
81350142f1 Backed out changeset aa529bac2a92 (bug 996465) 2014-07-11 09:54:24 +02:00
JW Wang
174d5b15dc Bug 996465 - add ability to delay running state machine cycles for synchronization between decoding/main and state machine threads. r=cpearce. 2014-07-10 03:22:00 +02:00
JW Wang
77fd946c1c Bug 996465 - extract code running state mahcine cycles into a class. r=cpearce. 2014-07-10 03:21:00 +02:00
Shelly Lin
b24483b855 Bug 744896 - Part 3: Pass MediaInfo to functions MetadataLoaded and QueueMetadata. r=roc. 2014-07-04 11:54:54 +08:00
Carsten "Tomcat" Book
0e366174c0 Backed out changeset 7691b13459f4 (bug 744896) for B2G ICS Emulator Opt test failures on a CLOSED TREE 2014-07-03 11:51:41 +02:00
Shelly Lin
05179906ff Bug 744896 - Part 3: Pass MediaInfo to functions MetadataLoaded and QueueMetadata. r=roc. 2014-07-03 14:04:08 +08:00
Chris Pearce
f995f64fd3 Bug 1024405 - Discard enqueued samples when making video decoders dormant. r=kinetik 2014-06-30 11:23:04 +12:00
Matthew Gregan
3357c9afe3 Bug 948269 - Refactor MediaDecoderStateMachine::AudioLoop into a standalone AudioSink class. r=cpearce 2013-12-11 18:03:30 +13:00
JW Wang
ee70b824c2 Bug 1020538 - Fix the position calculation algorithm in MediaDecoderStateMachine::GetVideoStreamPosition(). r=cpearce 2014-06-26 14:56:23 +12:00
Benoit Jacob
0943d4adbd Bug 1028588 - Fix dangerous public destructors in content/media/ - r=cpearce,smaug 2014-06-24 12:36:43 -04:00
Eric Phan
661c2e8d55 Bug 1015985 - Set decoder seekable members outside of ReadMetadata by StateMachine. r=cpearce 2014-06-23 22:08:34 +12:00
Chris Pearce
92ac291127 Bug 979104 - MediaDecoderReader/StateMachine asynchronous decoding. r=kinetik 2014-06-18 17:07:02 +12:00
Chris Pearce
3956503389 Bug 1022913 - Ensure that fastSeek() doesn't skip behind the current playback position if we're seeking forwards. r=cajbir 2014-06-17 15:27:46 +12:00
Ehsan Akhgari
b64a25fc13 Backed out changeset 0cdef46c65c1 (bug 979104) for causing bug 1024324 2014-06-13 16:20:37 -04:00
Karl Tomlinson
fa98b9e6d5 b=1023697 use MediaStream to convert ticks to time in MediaDecoderStateMachine r=roc
--HG--
extra : transplant_source : %EA%E0%A5rH%F6%F55%B0%28%3Eq%5C%8Ap%FC%06%3D%06%3B
2014-06-12 16:44:56 +12:00
Karl Tomlinson
1e91de9fa8 b=1023697 change MediaDecoderStateMachine::mSyncPointInMediaStream from StreamTime to µs r=roc
This allows the conversion from StreamTime to be performed while a stream is
available.

--HG--
extra : transplant_source : %3A%AD%5C%1A%84%C3%1BC%8B%04%D5%5B%90%3Cv%BE%A6%D6%C0%9D
2014-06-12 16:44:56 +12:00
Chris Pearce
6efa8303c7 Bug 979104 - MediaDecoderReader/StateMachine asynchronous decoding. r=kinetik 2014-06-10 19:31:09 +12:00
Kyle Huey
8a1ded0d50 Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
JW Wang
1b034ab132 Bug 1008012 - |mBasePosition| should be updated after seeking otherwise GetVideoStreamPosition will get the wrong value. r=cpearce 2014-05-21 00:41:00 +02:00
Vincent Chang
249de385e8 Bug 951278 - [RTSP][V1.3] The RTSP streaming always stops at the last 1st or 2nd second. r=sworkman 2014-03-18 14:30:51 +08:00
JW Wang
ba4ef49451 Bug 1000841 - remove SetActive() from MediaDecoderReader. Its user needs to know when to call SetIdle() only. r=cpearce 2014-05-19 04:23:00 +02:00
JW Wang
9b8468f453 Bug 1004669 - Fix leaks in MediaTaskQueue::Dispatch(). r=cpearce 2014-05-11 20:12:00 +02:00
Chris Pearce
562bdbff7a Bug 1005622 - Reset media queues in Android media seek so that we don't think we're still at EOS after playing to EOS and then seeking. r=edwin 2014-05-07 15:58:06 +12:00
Chris Pearce
21a6f64f50 Bug 1004373 - Prevent multiple ReadMetadata tasks to be dispatched to the decode task queue at once. r=kinetik 2014-05-06 12:12:05 +12:00
Chris Pearce
c4ff2694d4 Bug 1002266 - Access MediaQueues from MediaDecoderStateMachine through accessors. r=kinetik 2014-04-28 13:12:50 +12:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Matthew Gregan
91fe868e8b Bug 881512 - Remove useless static_casts. r=cajbir 2014-04-22 23:58:00 +12:00
Robert O'Callahan
dba7d4c6ba Bug 998284. When entering the buffering state from AdvanceFrame, be prepared to accept a second's delay before reevaluating whether to exit buffering. r=cpearce
--HG--
extra : rebase_source : 2a7aab19c998f6977cb47d6300e2967be69bcbdf
2014-03-25 00:58:11 +13:00
JW Wang
22158c2aa1 Bug 998168 - nsITimer functions should be only called in the event target thread of the timer. r=cpearce. 2014-04-23 05:29:14 -04:00
JW Wang
77af058043 Bug 998168 - add decoder pointer to the log message of MediaDecoderStateMachine/MediaDecoder for debugging. r=cpearce 2014-04-23 05:29:04 -04:00