JW Wang
341b29f73c
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
66e3c00ee3
Bug 1163467. Part 5 - move MediaDecoder::UpdateStreamBlockingForPlayState to MediaDecoderStateMachine. r=roc.
2015-05-28 14:16:59 +08:00
JW Wang
f6643b3d27
Bug 1163467. Part 4 - move MediaDecoder::UpdateStreamBlockingForStateMachinePlaying to MediaDecoderStateMachine. r=roc.
2015-05-28 14:16:42 +08:00
JW Wang
c387e1df1f
Bug 1163467. Part 3 - move AddOutputStream code below MediaDecoder::Load(). r=roc.
2015-05-28 14:16:29 +08:00
JW Wang
e2adc230bf
Bug 1163467. Part 2 - rename MediaDecoder::UpdateDecodedStream to MediaDecoder::UpdateStreamBlockingForPlayState. r=roc.
2015-05-28 14:16:16 +08:00
JW Wang
22cc98ef7b
Bug 1163467. Part 1 - refactor DecodedStream::RecreateData(). r=roc.
2015-05-28 14:16:01 +08:00
Mike Hommey
ea7750bcb1
Bug 991983 - Define SOURCES as SourcePath. r=gps
2015-05-28 07:34:15 +09:00
Sotaro Ikeda
f8d4370472
Bug 1167608 - Remove NotifyWaitingForResourcesStatusChanged() call from MediaOmxReader r=bholley,bwu
2015-05-27 14:25:48 -07:00
Benjamin Chen
dbff5c47d3
Bug 1128448
- 1. Close the pref media.encoder.omx.enabled for newer android version. 2. Modify testcase and MR to eusure no timing issue. r=roc
...
--HG--
extra : rebase_source : fafdef6c6bf2f92b4e441b648a56805e2fa12aed
2015-05-25 17:37:45 +08:00
Blake Wu
97c69b902c
Bug 1168309
- Add the define, MOZ_GONK_MEDIACODEC, to dom/media. r=cpearce.
...
--HG--
extra : rebase_source : 146db4f233336fed3132e42a64fb310d095fbf0b
2015-05-26 17:33:29 +08:00
Botond Ballo
2e2a504271
Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
...
--HG--
extra : source : 7468f9a3aa03520a29e138d4df431f0b5d90967c
2015-05-26 14:33:55 -04:00
Benjamin Chen
29b4ee90d8
Bug 1154194 - Fix regression by bug 1132832 and remove VideoResourceListener. r=sotaro
2015-05-26 15:52:38 +08:00
Benjamin Chen
9a3bbcae4e
Bug 1154194 - Call FillCodecInputData before dequeueOutputBuffer, remove the check of FillCodecInputData. r=sotaro
2015-05-22 14:25:51 +08:00
Martin Thomson
2dcbea5eae
Bug 1155898 - Use fetch instead of XHR for IdP. r=jib
...
--HG--
extra : transplant_source : %CF%DC%83%A7%9Fj%D2%C0%B3%898Z%3E%AB%C4%A3%D4%A0%E6%E3
2015-05-20 14:26:32 -07:00
Benjamin Chen
f753eac42e
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
...
--HG--
extra : rebase_source : ee999d2507938780166771a49dd2e05eaeb5badc
2015-05-13 18:21:09 +08:00
Bruce Sun
38b1adfc6c
Bug 1168075 - Fix CanvasCaptureMediaStream build fail for bluetooth2. r=pehrsons
2015-05-25 18:33:00 +08:00
Carsten "Tomcat" Book
c468515673
Backed out changeset 45998275f423 (bug 857895)
2015-05-26 08:59:47 +02:00
Matt Woodrow
90b9016810
Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley
...
--HG--
extra : rebase_source : ae761425a6409a147f6e3492c30ac43452108750
2013-04-09 16:51:44 +12:00
JW Wang
838880e42a
Bug 1163497. Part 5 - remove unused functions. r=roc.
2015-05-26 10:22:03 +08:00
JW Wang
5db825a583
Bug 1163497. Part 4 - move output stream code from MediaDecoder::AddOutputStream() to DecodedStream::Connect(). r=roc.
2015-05-26 10:21:53 +08:00
JW Wang
5871f0d45e
Bug 1163497. Part 3 - move stream connection code from MediaDecoder::RecreateDecodedStream() to DecodedStream::RecreateData(). r=roc.
2015-05-26 10:21:41 +08:00
JW Wang
4db24fa288
Bug 1163497. Part 2 - Remove MediaDecoder::DestroyDecodedStream(). r=roc.
2015-05-10 12:26:03 +08:00
JW Wang
61664897b5
Bug 1163497. Part 1 - remove MediaDecoder::ConnectDecodedStreamToOutputStream(). r=roc.
2015-05-10 12:16:38 +08:00
Phil Ringnalda
49dd872168
Back out 3 changesets (bug 1119980) for emulator-l bustage
...
CLOSED TREE
Backed out changeset 12ce98475c6e (bug 1119980)
Backed out changeset bdb8d05f8870 (bug 1119980)
Backed out changeset a68a18840492 (bug 1119980)
2015-05-25 18:48:51 -07:00
Botond Ballo
9934d127c1
Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
...
--HG--
extra : rebase_source : 4e915a12ba662ed45788238a5f0a45533888bd92
2015-05-25 20:45:17 -04:00
Paul Adenot
b9ec958b6c
Bug 1166183 - Work around bug 934512 in track_peerConnection_replaceTrack.html. r=pehrson
2015-05-21 13:35:29 +08:00
Andrea Marchesini
96b2d6123f
Bug 1167423 - patch 9 - Handle return values of FallibleTArray functions in MediaSource, r=jya
2015-05-25 12:50:15 +01:00
Jean-Yves Avenard
b6e238cc5e
Bug 1168004: Part2. Add sample file. r=bholley
...
Add MP4 sample file where video starts at 0.8s and audio at 1.95s.
--HG--
rename : dom/media/test/bipbop-cenc-videoinit.mp4^headers^ => dom/media/test/bipbop-lateaudio.mp4^headers^
2015-05-25 19:28:02 +10:00
Jean-Yves Avenard
37f6e4ba89
Bug 1168004: Part1. Ensure buffered range referential starts at 0. r=bholley
2015-05-25 19:27:21 +10:00
Karl Tomlinson
6fa11d1b02
bug 1166107 documentation of mWaitForInternalDrain thread access r=gerald
...
--HG--
extra : rebase_source : 09f31f88287e7fa117307a6118c716a109c899d5
2015-05-22 11:10:00 +12:00
Karl Tomlinson
6f61cbaa48
bug 1166107 release internal drain monitor before calling Flush() r=gerald
...
The DrainComplete() caught with mWaitForInternalDrain still won't necessarily
be from the internal Drain(), but all we need is that one DrainComplete() is
caught for the internal Drain() because one more will be generated if there is
a Drain() in progress.
What protecting mWaitForInternalDrain access with the monitor provides here is
that the compiler won't use its address for storage of other data meaningless
in the context of mWaitForInternalDrain and so, for example, two
DrainComplete() calls won't unintentionally think that they are both for one
internal drain.
And TSan warnings.
--HG--
extra : rebase_source : 7ee2a84ad8121febe21be7f6c790129e35b28580
2015-05-25 08:52:30 +12:00
Karl Tomlinson
46699a8546
bug 1162364 detect and abort MF_E_TRANSFORM_STREAM_CHANGE infinite loops r=cpearce
...
--HG--
extra : rebase_source : 0c54d8634a46d350fb9dafc7e94ea1705b48de93
2015-05-22 15:23:00 +12:00
Jean-Yves Avenard
fc75b668bb
Bug 1163227
: Part10. Properly recalculate next keyframe time after seeking. r=cpearce
2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
932eb6007f
Bug 1163227
: Part9. Don't reset demuxer when skipping to next keyframe. r=cpearce
2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
da82e0ff2b
Bug 1163227
: Part8. Fix incorrect seconds / microseconds conversion. r=mattwoodrow
...
This led to incorrect data eviction in sourcebuffer
2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
c3488b4694
Bug 1163227
: Part6. Always notify MediaSourceReader of new data on its own task queue. r=mattwoodrow
2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
f6ab7b2760
Bug 1163227
: Part5: Increase verbosity content for debugging purposes. r=cpearce
...
Small reorganisation of Update(). With bug 1153295 fixed, remove need for
StorensRefPtrPassByPtr.
2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
defc1834b4
Bug 1166836: Part3. Optimise most common addition to IntervalSet. r=mattwoodrow
2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
097193a76b
Bug 1166836: Part2. Only rescans MP4's moof when necessary. r=cpearce
2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
c0532dc0aa
Bug 1166836: Part1. Cache main thread buffered time range. r=cpearce
...
GetBuffered() can be particularly slow under some circumstances.
2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
d59c0aad95
Bug 1163227
: Part4. Fix MP4TrackDemuxer eviction offset calculations. r=mattwoodrow
2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
a6f5c5d407
Bug 1163227
: Part3. Notify mediasource sub-readers that data was evicted. r=mattwoodrow
2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
4ef7b191ea
Bug 1163227
: Part2. Add MediaDecoderReader::NotifyDataRemoved method. r=cpearce
2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
8277c4fa05
Bug 1163227
: Part1. Notify parent decoder that data got removed. r=mattwoodrow
2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
8adb944d2f
Bug 1166282: Have TimeIntervals and IntervalSet nsTArray_CopyChooser specialization. r=nfroyd
2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
bf921d645a
Bug 1159171: Part2. Fix pts calculations in older LibAV version. r=edwin
...
LibAV v0.8 always set the pts to 0 while the dts is set to the pts.
2015-05-25 15:09:15 +10:00
Karl Tomlinson
ec6163456c
back out 780f3d9c7cc3..afb28a3157b3 for test failures (bug 1167045, bug
...
1162364, bug 1166107) CLOSED TREE
--HG--
extra : rebase_source : 25ec81ea2922f66ef4833121f1a3b4af8977c702
extra : amend_source : 3be0042bd1fafbeab56cc207a2b4c336148a975d
2015-05-25 14:31:02 +12:00
JW Wang
befae12d3f
Bug 1163489 - Remove dependency on MediaDecoder from DecodedStream. r=roc.
2015-05-10 12:07:14 +08:00
Karl Tomlinson
d14d6b37ac
bug 1166107 documentation of mWaitForInternalDrain thread access r=gerald
...
--HG--
extra : rebase_source : ca26e3282ed29c720c18abeddb03550d94203c6a
2015-05-22 11:10:00 +12:00
Karl Tomlinson
25fc95b2bd
bug 1166107 release internal drain monitor before calling Flush() r=gerald
...
The DrainComplete() caught with mWaitForInternalDrain still won't necessarily
be from the internal Drain(), but all we need is that one DrainComplete() is
caught for the internal Drain() because one more will be generated if there is
a Drain() in progress.
What protecting mWaitForInternalDrain access with the monitor provides here is
that the compiler won't use its address for storage of other data meaningless
in the context of mWaitForInternalDrain and so, for example, two
DrainComplete() calls won't unintentionally think that they are both for one
internal drain.
And TSan warnings.
--HG--
extra : rebase_source : e222d84adc2bd9cb3fdf9c386a69fff932d8a778
2015-05-25 08:52:30 +12:00