Andreas Pehrson
d8df58cf19
Bug 992685 - Part 3. Test video element resize event. r=roc
2015-01-19 23:46:00 +01:00
Blake Wu
43fbb190db
Bug 1118141
- Update Audio buffers when receiving INFO_OUTPUT_BUFFERS_CHANGED. r=edwin.
2015-01-19 11:57:57 +08:00
Andreas Pehrson
4594b6c676
Bug 1073406 - Part 1. Add mochitest for individual pausing. r=roc
2014-12-16 04:08:00 +01:00
Chris Pearce
8a239a32e3
Bug 1123498 - Make MP4Reader skip-to-next-keyframe less aggressively. r=mattwoodrow
2015-01-20 15:20:43 +13:00
Jean-Yves Avenard
4b9d716fbb
Bug 1123054: Don't check VDA reference count. r=rillian
...
--HG--
extra : rebase_source : ecf3c019aa8e6b0a40b83c12d9303d3330412c33
2015-01-19 01:10:51 +11:00
Jean-Yves Avenard
f5127dcbe3
Bug 1123269: Better fix for bug 1121876 r=cpearce
2015-01-20 10:45:07 +11:00
Jean-Yves Avenard
f246acf45b
Bug 1121876: Configure WMF decoder to output PCM 16. r=cpearce
...
Also, do not use input's bit depth for calculating output samples. They are
unrelated
2015-01-19 22:11:07 +11:00
Jean-Yves Avenard
9e6d0d09bc
Bug 1121876: Treat negative WMF's output sample timestamp as zero. r=cpearce
2015-01-19 22:11:03 +11:00
Barbara Guida
e664fe84a3
Bug 1122586
- Unbreak build on platforms missing std::llabs since bug 1073716. r=dholbert
2015-01-16 17:50:00 +01:00
Boris Zbarsky
830b9562d7
Bug 604496. Inherit the document principal for data: media elements. r=cpearce
2015-01-16 22:47:32 -05:00
Ryan VanderMeulen
a48eed7b3d
Bug 1121692 - Skip test_SeekTwice_mp4.html for being failtastic on most platforms.
...
CLOSED TREE
2015-01-16 15:38:14 -05:00
Kyle Huey
7c82e6dd0a
Bug 1121673: Use move references in IPDL. r=bent
2015-01-16 11:58:52 -08:00
Bobby Holley
1db92adfad
Bug 1121692 - Tests. r=mattwoodrow,r=cpearce
2015-01-16 10:58:00 -08:00
Bobby Holley
6fbcd97c2b
Bug 1121692 - Handle mid-seek Request{Audio,Video}Data calls. rpending=cpearce
...
The MDSM really shouldn't be issuing these. The correct solution (which I'll
file a followup bug for) is to fix the MDSM to not do that. But rejecting the
promise with CANCELED is a lot safer, so we do that for now.
2015-01-16 10:58:00 -08:00
Bobby Holley
986f783e03
Bug 1121692 - Make seeks cancelable. r=cpearce,r=mattwoodrow
2015-01-16 10:58:00 -08:00
Bobby Holley
f5e1dd8c14
Bug 1121692 - Move the interesting seek state logic into DecodeSeek. r=mattwoodrow,r=cpearce
...
This is necessary so that we can call CancelSeek at the same moment we determine
that it needs to be called without round-tripping between threads.
2015-01-16 10:58:00 -08:00
Bobby Holley
6204ef933f
Bug 1121692 - Clean up semantics around m{Audio,Video}IsSeeking. r=mattwoodrow
...
The comments indicate that they're supposed to be used for setting mDiscontinuity
on the samples, but that never actually happens (and appears to happen in
MP4Reader.cpp). Resetting them in Request{Audio,Video}Data doesn't make any sense
at all. So we repurpose them to track our seek stage.
2015-01-16 10:58:00 -08:00
Bobby Holley
57ce4c4935
Bug 1121692 - Fix potential race condition with mWaitingForSeekData. r=mattwoodrow
...
mWaitingForSeekData is modified in NotifyTimeRangesChanged, which is
invoked on the main thread. One would hope that all of these other members
are only touched on the decode task queue.
2015-01-16 10:58:00 -08:00
Bobby Holley
fa7db3cb97
Bug 1121692 - Stop honoring aEndTime in MediaSourceReader::Seek. r=mattwoodrow
...
Tracking it is a pain, and it's only used by OggReader.
2015-01-16 10:58:00 -08:00
Bobby Holley
e814d359c3
Bug 1121692 - Remove unnecessary arguments to ::Seek. r=mattwoodrow,sr=cpearce
2015-01-16 10:57:59 -08:00
Jean-Yves Avenard
a500c582a9
Bug 1120266 - Add fragmented mp4 sample videos. r=cajbir
2015-01-16 10:57:59 -08:00
Bobby Holley
278166bbf6
Bug 1120266 - Factor some machinery out of test_BufferingWait into mediasource.js and make it Promise-friendly. r=jya
2015-01-16 10:57:59 -08:00
Sotaro Ikeda
e662668d12
Bug 1110343 - Suppress redundant loadedmetadata event when dormant exit r=cpearce
2015-01-16 07:56:19 -08:00
Andreas Pehrson
29529ab5ec
Bug 879717 - Part 4. Clean up
...
From 16c169589b8a0e47ef3c0816e30547ee6e07fa36 Mon Sep 17 00:00:00 2001
test_peerConnection_capturedVideo.html's waiting for loadedmetadata. r=jesup
---
.../mochitest/test_peerConnection_capturedVideo.html | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
2014-12-19 21:43:58 +01:00
Andreas Pehrson
54ac43e9bb
Bug 879717 - Part 3 - Test video dimensions set on loadedmetadata
...
From 7426ccfec0b1bb8b420dddc628361a4833dc52fa Mon Sep 17 00:00:00 2001
event. r=roc
---
dom/media/test/manifest.js | 2 +-
dom/media/test/mochitest.ini | 1 +
dom/media/test/test_video_dimensions.html | 72 +++++++++++++++++++++++++++++++
3 files changed, 74 insertions(+), 1 deletion(-)
create mode 100644 dom/media/test/test_video_dimensions.html
2014-12-19 01:25:00 +01:00
Andreas Pehrson
9098eab06e
Bug 879717 - Part 2. Test that drawing a video element to canvas
...
From 5be50c1d6131a58d8a06dcaa0dfca8156ef71273 Mon Sep 17 00:00:00 2001
never throws. r=roc
---
dom/media/test/mochitest.ini | 1 +
dom/media/test/test_bug879717.html | 119 +++++++++++++++++++++++++++++++++++++
2 files changed, 120 insertions(+)
create mode 100644 dom/media/test/test_bug879717.html
2014-10-06 11:22:55 +02:00
Andreas Pehrson
ff9da77c31
Bug 879717 - Part 1. Delay entering HAVE_CURRENT_DATA state until a
...
From 4c9aef7ec548ee20df2802f5509e457f66c051ef Mon Sep 17 00:00:00 2001
video frame has been stored in the image container. r=roc
---
dom/html/HTMLMediaElement.cpp | 124 +++++++++++++++++++++++------
dom/html/HTMLMediaElement.h | 9 +++
dom/media/test/test_streams_srcObject.html | 2 +
3 files changed, 112 insertions(+), 23 deletions(-)
2014-10-10 11:34:57 +02:00
Ryan VanderMeulen
d76cb5ba6d
Bug 1061675- Disable test_mozaudiochannel.html on Android 2.3 due to frequent failures.
2015-01-16 09:59:57 -05:00
Sotaro Ikeda
8ebcff8383
Bug 1121658 - Remove DestroyDecodedStream() from MediaDecoder::SetDormantIfNecessary() r=roc
2015-01-16 06:56:14 -08:00
Jean-Yves Avenard
59151e0b1c
Bug 1120282: Do not fire durationchange during call to ReadMetadata. r=mattwoodrow
...
--HG--
extra : rebase_source : cf8bdb932aac0661de21c7fa4eba7d50b14b3dbc
2015-01-16 23:49:02 +11:00
Jean-Yves Avenard
eb3a3abff9
Bug 1120079: Do not call Range Removal algorithm after endOfStream. r=cajbir
...
--HG--
extra : rebase_source : 6a77cda482230943d88df228425e23e20f8860e0
2015-01-16 23:49:02 +11:00
Jean-Yves Avenard
776799bb61
Bug 1119757: MSE: handle duration of 0 in metadata as infinity. r=mattwoodrow
...
--HG--
extra : rebase_source : 6bc09d18b0b5d8144c8242d94f1ebd92d1f0efa5
2015-01-16 23:49:01 +11:00
Jean-Yves Avenard
b0638f45f3
Bug 1119757: Allow seeking on media with infinite duration. r=cpearce
...
MSE defines content to have infinite duration when no duration is defined.
And MSE is always seekable within the buffered range, regardless of the duration
--HG--
extra : rebase_source : 369cce10504b125716af0a60e07d1d1144117f59
2015-01-16 23:49:01 +11:00
Jean-Yves Avenard
52d3bbb9ae
Bug 1120086: Re-open SourceBuffer after call to appendBuffer if in ended state. r=cajbir
...
--HG--
extra : rebase_source : 56923ceb5f28dadeda981b8365f277320afc72ba
2015-01-16 23:48:25 +11:00
Jean-Yves Avenard
510550aff7
Bug 1120084: Implement MSE's AppendErrorAlgorithm
...
--HG--
extra : rebase_source : c9e1db9f0dd5cb504328f7572364227a4e40a937
2015-01-16 23:48:25 +11:00
Jean-Yves Avenard
bf9881e5b7
Bug 1119119: Do not abort when calling appendBuffer with no data. r=cajbir
...
--HG--
extra : rebase_source : 4836370af1e1558771700331d40d2312cd225201
2015-01-16 23:48:24 +11:00
Jean-Yves Avenard
7823a3b9f4
Bug 1121342: Re-Request audio or video to decode first frame after a failed attempt. r=cpearce
...
--HG--
extra : rebase_source : 3434fc4a46cc32622241cc2e36a713bf38623b6a
2015-01-16 15:48:40 +11:00
Phil Ringnalda
b46cbfd26f
Backed out 2 changesets (bug 1095218) on suspicion of causing b2g mochitest-6 failures and hangs
...
CLOSED TREE
Backed out changeset f666641df41e (bug 1095218)
Backed out changeset 5f513dc1a248 (bug 1095218)
2015-01-15 20:44:18 -08:00
Chris Double
976cf3f159
Bug 1055904 - Improve MSE eviction calculation - r=jya
...
Fixes a bug in the SourceBufferResource eviction code where it was
using the mOffset of the resource as the min bound for what to evict.
This offset is almost always zero though due to ReadFromCache being
used which never updates the offset. This prevented eviction from
happening in most cases.
Moves the code to remove old decoders so that it does this during
the same loop as that which remove data from existing decoders.
This more aggressively prunes old decoders and is more likely to
keep data in the current playing decoder around for seeking, etc.
Prevent removing any decoder that the MediaSourceReader is
currently using for playback to prevent RemoveDecoder crashes.
Add a threshold to subtract from the current time when working out
the time bound to evict before to make it less likely to evict
current data that is needed for current playback.
Remove all data from evicted decoders in the initial iteration then
iterate after to remove empty decoders to put the RemoveDecoder
logic in one place.
Iterate decoders in order that they were added rather than sorted
by time so the logic that removes entire decoders can do it only
to those old decoders that existed before the existing one was
created.
Keeps track of the time that was evicted from the current decoder
and uses that as the time to EvictBefore for all decoders in the
track buffer when doing MediaSource::NotifyEvict.
--HG--
extra : rebase_source : f7b4fe263a8041b3882585caea389742b2a1a9b3
2015-01-16 16:14:56 +13:00
Nils Ohlmeier [:drno]
0e90bcb6ed
Bug 1115212: replace onaddstream boolean with counters r=bwc
...
--HG--
extra : rebase_source : 7844a573a7100ddf144146d6a914139a1ba9c22f
extra : amend_source : 2d581214bdfa83cbcd05a9be34427e3622b8d0ec
2015-01-14 15:47:00 -08:00
Byron Campen [:bwc]
654bfaaba2
Bug 1095218 - Part 2: Multistream support. r=mt
...
--HG--
extra : rebase_source : c6d54ebec6ee2944552d6e13ea8d88a126ba9649
extra : amend_source : c93a2335b158668e5517b626b0666f30bec682bb
2014-12-10 11:17:09 -08:00
Byron Campen [:bwc]
d02c39d11f
Bug 1095218 - Part 1: msid support. r=mt
...
--HG--
extra : rebase_source : 85f8a97d16496f2b00ea049ebe29d41becd15a62
2014-12-01 21:19:57 -08:00
Bobby Holley
5701cb0b99
Bug 1121248 - Stop logging unimplemented methods in SourceBufferResource. r=mattwoodrow
2015-01-15 09:58:48 -08:00
Bobby Holley
cd438601e1
Bug 1121841 - Clear the failed read after checking it. r=jya
2015-01-15 09:58:38 -08:00
JW Wang
13c5337cea
Bug 1112588 - ingore 'stalled' events because the progress timer could time out before receiving any HTTP notifications on slow machines like B2G emulator. r=cpearce
2015-01-13 22:40:00 +01:00
Alfredo Yang
2d6a431a87
Bug 1120298 - add dormant functions in MediaSourceReader for gonk. r=ajones
2015-01-14 01:27:00 +01:00
Nils Ohlmeier [:drno]
ca2615c49d
Bug 1121176 - use the proper Answer on pcLocal. r=bwc
2015-01-13 13:43:00 +01:00
Chris Pearce
2d7d331a93
Bug 1112822 - Don't allow MP4Reader to decode if someone shut it down. r=mattwoodrow
2015-01-15 15:49:38 +13:00
Matt Woodrow
366c7a681f
Bug 1121661 - Null check mDemuxer in MP4Reader::ResetDecoder since we might not have created one yet. r=bholley
2015-01-15 14:42:49 +13:00
Brian Smith
6e127085a1
Bug 1119776, Part 1: Avoid defining snprintf when MSVC provides it (dom/media), r=ehsan
...
--HG--
extra : rebase_source : e4ddef65c1d98f8d300560a267d6f198258315c1
2015-01-08 22:30:35 -08:00