Commit Graph

4928 Commits

Author SHA1 Message Date
Kyle Huey
1e8e0c575a Bug 982212: Part 3 - Now that nsTArray::AppendElement supports r-value references, remove the workarounds added in Bug 967364. r=nfroyd
--HG--
extra : rebase_source : 1e6188d26b745f6dc9bdf2accc0abf7f07351510
2014-03-15 18:56:00 +01:00
Peter Van der Beken
73d234512e Bug 849567 - Automatically handle raw and already_AddRefed return values in Paris bindings and remove resultNotAddRefed, make all Constructor methods return already_AddRefed<...>. r=bz.
--HG--
extra : rebase_source : 726702eb39e627d74ddb3adf6059569d077089d4
2014-08-28 00:43:55 +02:00
Matthew Gregan
96aeda8fdc Bug 1064826 - Disable test_FrameSelection.html on OS X. 2014-09-10 18:25:50 +12:00
Matthew Gregan
58f9ec31b0 Bug 1064699 - Update mLastVideoFrameTime after it's used for computing the frame duration. r=cajbir 2014-09-08 23:20:00 +12:00
Ahmed Kachkach
8ba31890b0 Bug 1063099 - Include IPC tests filenames in logs. r=ahal 2014-09-09 08:01:00 -04:00
Sotaro Ikeda
24dff6c377 Bug 1058452 - Use FakeMediaStreamGraph r=mikeh 2014-09-09 06:27:24 -07:00
Alfredo Yang
a6d8c4558e Bug 1054905 - Use takePhotoComplete callback on B2G. r=roc 2014-09-09 00:17:00 +02:00
Matthew Gregan
9ffd4a6f81 Bug 1064570 - Run end of SourceBuffer update algorithms asynchronously per spec. r=cajbir 2014-09-09 10:29:41 +12:00
Matthew Gregan
55da0f3e5f Bug 1064160 - Move NotifyGotData calls to TrackBuffer so they are closer to the state being waited/notified on. r=cajbir
Rename NotifyGotData to slightly clearer NotifyTimeRangesChanged.  Move
WaitForData from MediaSourceDecoder's public API to MediaSourceReader's
private API and hoist the wait loop logic inside it.
2014-09-07 23:54:00 +12:00
Matthew Gregan
e7ed001eac Bug 1062664 - Don't update MediaSourceReader::mLast{Audio,Video}Time when seeking. r=cajbir
Any On{Audio,Video}Decoded callbacks triggered before we request a new
sample from a reader after seeking should not be used to compute the
last sample time because they originate from the reader we're switching
away from and cause us to switch back to it after seeking.
2014-09-08 16:55:20 +12:00
Matthew Gregan
6146b675d7 Bug 1062664 - Make Switch{Audio,Video}Reader return true only on an actual reader change (i.e. selecting the current reader is not a switch). r=cajbir
Remove the ok check from MSR::Seek now that Switch{Audio,Video}Reader
may return false; return to relying on the ContainsTime assert.
2014-09-08 16:54:52 +12:00
Matthew Gregan
f971f97ec4 Bug 1062664 - Select newest decoder for a given TrackBuffer. r=cajbir 2014-09-08 12:13:50 +12:00
Matthew Gregan
16aad26466 Bug 1062664 - Refactor reader switching. r=cajbir 2014-09-08 12:07:56 +12:00
Matthew Gregan
3845b6f0b5 Bug 1062664 - Frame selection test. r=cajbir 2014-09-05 18:20:23 +12:00
Ryan VanderMeulen
ccd2f112b7 Backed out changeset 56e2793c8ac7 (bug 1058452) for B2G mochitest orange. 2014-09-08 16:52:44 -04:00
Sotaro Ikeda
82f2e7e4bf Bug 1058452 - Use FakeMediaStreamGraph r=mikeh 2014-09-08 11:59:16 -07:00
Jacek Caban
06efc6492d Bug 1063511 - Fix mingw builds after bug 1027906. r=tabraldes 2014-09-08 10:35:24 +02:00
Jean-Yves Avenard
1dc6df2eed Bug 1059066 - Avoid picture frame copy and keep picture in GPU by using IOSurface objects. r=rillian 2014-09-07 20:40:52 +10:00
Jean-Yves Avenard
0ca8fc3b56 Bug 1062596 - Use official 10.9 constant. r=rillian
There are no functional changes, but it prevents errors or typo
2014-09-07 20:33:55 +10:00
Jean-Yves Avenard
a243268a94 Bug 1062596 - Re-enable hardware acceleration in AppleVTDecoder. r=rillian 2014-09-05 11:50:37 +10:00
Jean-Yves Avenard
61f592a0ca Bug 1062596 - Bump thread stack size on OS X to avoid crashes. r=kinetik 2014-09-05 11:50:19 +10:00
Matthew Gregan
5c88bf3ea3 Bug 1064118 - Drop MediaSourceReader sub-reader refs in a safer order. r=cajbir 2014-09-08 12:59:36 +12:00
Matthew Gregan
5d6dcd5866 Bug 931388 - Add crashtest for shutdown hang. 2014-09-08 13:38:52 +12:00
Matthew Gregan
f5a8655a03 Bug 1063354 - Refactor MSE tests, introduce mediasource.js shared functions. r=cajbir 2014-09-05 17:10:42 +12:00
Jean-Yves Avenard
67fea6cd17 Bug 1063255 - Revert fix from bug 1062098. r=rillian 2014-09-05 12:29:08 +10:00
Kilik Kuo
6b7ffc4559 Bug 1022524 - Set up audio track and video track information for Ogg files. r=rillian 2014-09-03 11:01:37 +08:00
Kilik Kuo
f9a8f31cb4 Bug 1022524 - Mochitest for Bug 1022524. r=rillian 2014-08-26 14:33:08 +08:00
Matthew Gregan
4335ec1e50 Bug 1062669 - Consider only SourceBuffers created before the first initialization segment is appended as essential for parent decoder initialization. r=cajbir 2014-09-05 12:04:54 +12:00
Ehsan Akhgari
d289d3a9b1 Bug 1063086 - Fix more bad implicit constructors in DOM; r=baku 2014-09-04 23:22:49 -04:00
Matthew Gregan
8b2ba8781f Bug 1062733 - Keep track of all TrackBuffer decoders rather than only fully initialized ones. r=cajbir 2014-09-04 19:35:01 +12:00
Alfredo Yang
9d9c06aae5 Bug 1041393 - ImageCapture - add test case. r=roc 2014-08-18 23:39:00 +02:00
JW Wang
8d74b8027a 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
Alfredo Yang
6957a19320 Bug 916643 - ImageCapture webidl and implementation. r=roc, r=smaug 2013-09-16 10:50:24 +08:00
Alfredo Yang
eca5c8a6d7 Bug 916643 - Refactory black image. r=roc 2014-09-04 02:08:00 +02:00
Matthew Gregan
2903132a69 Bug 1059058 - Introduce abstraction to manager mapping between SourceBuffers and SourceBufferDecoders for the MediaSourceReader. r=cajbir 2014-09-04 13:57:06 +12:00
Christoph Kerschbaumer
68de320099 Bug 1062529 - Split GetChannelPrincipal into GetChannelResultPrincipal and GetChannelURIPrincipal. r=bz 2014-08-06 16:05:40 -07:00
Mike Hommey
0060683747 Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal 2014-09-03 14:16:37 +09:00
Mike Hommey
ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Jean-Yves Avenard
99c0be8755 Bug 1062098: Do not attempt to output dropped frames. r=rillian 2014-09-03 18:13:35 +10:00
Ryan VanderMeulen
9a0cf4ca0c Backed out 3 changesets (bug 1059058) for mochitest-1 leaks.
Backed out changeset 3a343c27fc7a (bug 1059058)
Backed out changeset 8808324ba834 (bug 1059058)
Backed out changeset c8f0afffca59 (bug 1059058)
2014-09-03 13:55:55 -04:00
JW Wang
4210e2571b Bug 1062116 - MediaDecoderStateMachine::FlushDecoding() should call AssertCurrentThreadInMonitor(). r=kinetik 2014-09-03 00:01:00 -04:00
Paul Adenot
9ea3573709 Bug 1062293 - Ensure the graph stays alive when doing driver switches and audio stream shutdown operations. r=jesup
This basically gets a grip on the graph while doing driver switches operations
on another thread (system thread or audio thread), because those can take time.
Because the graph is refcounted, it'll be freed when the last operation
finishes, which is what we want.

This patch also only allows driver switching when the graph is in state
LIFECYCLE_RUNNING, which is what we want anyway.

--HG--
extra : rebase_source : 76365981ec909796509bd21e616b1ff8602406bd
2014-09-03 15:52:43 +02:00
Paul Adenot
2635504554 Bug 1062293 - Add specialized logging to track the lifetime state change of MediaStreamGraphs r=jesup
As noted in the comment, it is very useful to have this interleaved with the ADB
logcat on Android/b2g, because this way we can correlate gecko state with the
state of the Android HAL.

--HG--
extra : rebase_source : 80df45d0851a06daac3abeab2ea4b5bc7e58a21d
2014-08-31 14:19:48 +02:00
Matthew Gregan
5c6916c713 Bug 1059058 - Test bustage fix.
--HG--
extra : rebase_source : 8a9d1e62beaa3921884a70aae3f8fd23322fda68
2014-09-04 03:56:37 +12:00
Matthew Gregan
a35791b9d4 Bug 1059058 - Tweak mochitest to avoid timeout.
--HG--
extra : rebase_source : 04b6fdee34462c0098917ebf22db1675235f8915
2014-09-04 03:14:10 +12:00
Matthew Gregan
f0d67ef6b1 Bug 1059058 - Introduce abstraction to manager mapping between SourceBuffers and SourceBufferDecoders for the MediaSourceReader. r=cajbir 2014-08-28 20:18:01 +12:00
Carsten "Tomcat" Book
6d09ecb72d Backed out changeset f9ecc7e71689 (bug 1059058) for bustage on a CLOSED TREE 2014-09-03 16:14:25 +02:00
Matthew Gregan
3893f1c156 Bug 1062101 - Compute WebM frame duration from Δt of last frame. r=cajbir 2014-09-03 17:26:19 +12:00
Matthew Gregan
1b5287358f Bug 1059058 - Introduce abstraction to manager mapping between SourceBuffers and SourceBufferDecoders for the MediaSourceReader. r=cajbir 2014-08-28 20:18:01 +12:00
Chris Double
99d4d51c31 Bug 1062020 - Set video/audio sample discontinuity flag in MSE after seek - r=kinetik 2014-09-03 21:56:22 +12:00