Andreas Pehrson
883a1c0b41
Bug 879717 - Part 3 - Test video dimensions set on loadedmetadata event. r=roc
2014-12-19 01:25:00 +01:00
Andreas Pehrson
d0271a6175
Bug 879717 - Part 2. Test that drawing a video element to canvas never throws. r=roc
2014-10-06 11:22:55 +02:00
Andreas Pehrson
4e646b6ec1
Bug 879717 - Part 1. Delay entering HAVE_CURRENT_DATA state until a video frame has been stored in the image container. r=roc
2014-10-10 11:34:57 +02:00
Andreas Pehrson
80e35edf78
Bug 1113600 - Part 4. Handle switching directly from audio clock to stream clock. r=roc
2015-01-13 03:23:48 +08:00
Andreas Pehrson
62ce996fb4
Bug 1113600 - Part 3. Add mochitest for capturing media mid-playback. r=roc
2014-12-21 14:46:24 +01:00
Andreas Pehrson
a22a198c37
Bug 1113600 - Part 2. Handle setting a MediaStream sync point mid-playback. r=roc
2015-01-08 13:37:22 +08:00
Andreas Pehrson
a5b7750c02
Bug 1113600 - Part 1. Send stream data right away after adding an output stream. r=roc
2015-01-08 13:36:29 +08:00
Bobby Holley
b9245f531a
Bug 1120629 - Cache data directly on MP4Stream rather than relying on the media cache. r=roc
2015-01-12 15:50:09 -08:00
Sotaro Ikeda
18b1606ac8
Bug 1112410 - Handle set dormant during seeking r=cpearce
2015-01-12 15:08:55 -08:00
Ryan VanderMeulen
aed51d5e54
Merge inbound to m-c. a=merge
2015-01-12 15:26:50 -05:00
Ryan VanderMeulen
b4ff41d68e
Bug 1119818 - Bump various UUIDs that were missed when IDL changes landed. r=jib, r=jdm, r=gavin, r=bz, a=me
2015-01-12 10:44:18 -05:00
Matt Woodrow
545192354b
Bug 1119033 - Don't try to evict when we don't have any initialized decoders. r=ajones
2015-01-12 15:35:35 +13:00
Anthony Jones
4f0a2ee888
Bug 1105066 - Seek after switching reader; r=mattwoodrow
2015-01-12 15:10:15 +13:00
Matt Woodrow
8cd51d9f13
Bug 1105066 - Chain seeks in MediaSourceReader so that we seek audio to the same time as video; r=kentuckyfriedtakahe
2015-01-12 11:05:08 +13:00
Matt Woodrow
972dde5588
Bug 1105066 - Make SeekPromise return the time we actually seeked to; r=kentuckyfriedtakahe
2015-01-12 10:57:14 +13:00
Bobby Holley
5a7f8b32cf
Bug 1119456 - Work around the fact that media cache does not quite guarantee the property we want. r=roc
2015-01-11 13:24:26 -08:00
Bobby Holley
85966c53ed
Bug 1119456 - Make MP4Demuxer's blocking reads non-blocking and hoist blocking into callers with a hacky retry strategy. r=k17e
2015-01-11 13:24:26 -08:00
Matt Woodrow
d3e5c76ca9
Bug 1118528 - Increase fuzz threshold for mp4. r=ajones
2015-01-12 09:48:23 +13:00
Matt Woodrow
fb0f72ffdb
Bug 1118528 - Use fuzzy comparisons in MediaSourceReader::HaveData. r=cajbir
2015-01-12 09:47:56 +13:00
Matt Woodrow
fe5df5dec4
Bug 1116284 - Don't run MP4Reader::Update after we've shut the reader down. r=cpearce
2015-01-12 09:43:11 +13:00
Matt Woodrow
e7a4379e53
Bug 1116626 - Null check mDecoder in AutoNotifyDecoded since it might have been shutdown already. r=karlt
2015-01-12 09:41:50 +13:00
Masatoshi Kimura
bf312ad056
Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo
2015-01-11 11:34:52 +09:00
Bobby Holley
b173f356fb
Bug 1120023 - Switch SourceBufferResource::Read{,At} back to blocking. r=cpearce
...
This only affects WebM MSE, which, as it turns out, doesn't deal well with
non-blocking read (MP4Reader now only operates on cached reads). We should
fix up WebM at some point, but I'm reverting the behavior change for now
because it's pretty much just a distraction.
2015-01-10 02:05:28 -08:00
Bobby Holley
844591ad77
Bug 1120023 - Fix some bugs in MockMediaResource. r=cpearce
...
If we don't do this, the subsequent changes to DataSourceAdapter will cause
gtest failures in TestMP4Demuxer.
2015-01-10 02:05:28 -08:00
Bobby Holley
1667adda48
Bug 1120023 - Clean up semantics of SourceBufferResource reading. r=cpearce
...
This patch refactors things and makes two function changes:
(1) ReadFromCache does not block and properly fails if the data is unavailable.
(2) Read and ReadAt block if an out-param is _not_ provided, rather than the
reverse. Both karlt and I think this is the appropriate thing to do.
2015-01-10 02:05:28 -08:00
Chris Peterson
9e23388ca8
Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo
2015-01-06 21:39:46 -08:00
Bobby Holley
8d967098a2
Bug 1120017 - Make the DispatchDecodeTasksIfNeeded path handle DECODER_STATE_DECODING_FIRSTFRAME. r=cpearce
...
Once we make MP4Reader reject with WAITING_FOR_DATA, we end up with the following scenario:
DecodeFirstFrame requests audio data, and then it gets rejected with WAITING_FOR_DATA.
So OnAudioNotDecided does WaitForData, which eventually causes us to be called back in
MediaDecoderStateMachine::WaitForDataResolved. That does DispatchDecodeTasksIfNeeded, which
currently bails out of our state is DECODER_STATE_DECODING_FIRSTFRAME.
The other way to do this would be to add a separate specialized path through all this
asynchronicity for DECODER_STATE_DECODING_FIRSTFRAME. But it's not clear to me what that
buys us.
2015-01-09 17:20:58 -08:00
Bobby Holley
fb7b849eb3
Bug 1120014 - Initialize MediaSourceReader::mLast{Audio,Video}Time to 0 rather than -1. r=rillian
...
There isn't actually any initialization code that sets them at 0. Instead, we
currently rely on the fact that our first decoder ends up active regardless of
what its buffered range reports. So as long as invoking the first Request{Audio,Video}Data
is resolved, this ends up ok. But while that is usually the case, it isn't _always_
the case, especially in the case where the MP4Reader rejects with WAITING_FOR_DATA.
2015-01-09 17:20:58 -08:00
Jim Chen
db34c64f29
Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp
2015-01-09 19:33:57 -05:00
Kai-Zhen Li
7f64fcee3a
Bug 1119691 - "Build bustage in dom/media/mediasource/MediaSource.cpp" [r+f=bzbarsky]
2015-01-08 23:37:00 -08:00
JW Wang
1bb19d6931
Bug 1115505 - keep decoding to ensure the stream is initialized in the decode-to-stream case. r=roc
2014-12-25 01:26:00 +01:00
Andreas Pehrson
03363ed023
Bug 1039884 - Let ControlMessages added by runnables in stable state be run during shutdown. r=roc r=karlt
2015-01-08 06:21:00 +01:00
Ehsan Akhgari
4354953b4f
Bug 1118486 - Part 1: Use = delete
instead of MOZ_DELETE directly; r=Waldo
...
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:
#!/bin/bash
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "*/.git*" \
! -wholename "obj-*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Ehsan Akhgari
31a966ecd6
Bug 1117261 - Mark virtual overridden functions as MOZ_OVERRIDE in DOM media code; r=rillian
2015-01-08 23:11:30 -05:00
Jean-Yves Avenard
973592c445
Bug 1118123: Mochitest to verify proper sourcebuffer behavior. r=cajbir
2015-01-09 12:34:45 +11:00
Jean-Yves Avenard
38a105c647
Bug 1118123: Update mediasource duration following sourcebuffer::appendBuffer. r=cajbir
2015-01-09 12:34:41 +11:00
Chris Pearce
7ba4d8b1c1
Bug 1111391 - Enable keyMessages to be sent before create/load session promise is resolved. r=jwwang
2015-01-09 14:30:07 +13:00
Wes Kocher
7e0ae8870a
Merge mozilla-central to inbound a=merge
2015-01-08 17:14:55 -08:00
Wes Kocher
f88bfbf94c
Merge mozilla-inbound to mozilla-central a=merge
2015-01-08 17:08:12 -08:00
Wes Kocher
205b7f2a3f
Bug 1073003 - wError bustage fix in non-unified builds r=me a=bustage
...
--HG--
extra : amend_source : 8054a3a25f0adf4caea5b70f2b75a94665a6e59d
2015-01-08 15:46:15 -08:00
Dave Hylands
08557c5100
Bug 1073003 - Fix warnings causing errors in emulator build. r=nfroyd
2015-01-08 13:52:19 -08:00
Ralph Giles
802e1418bc
Bug 1119463
- Enable MSE for youtube-nocookie.com. r=kinetik
...
Follow-up to bug 1119463
. This is used by some sites for embedding.
2015-01-08 12:34:00 -08:00
Chris Pearce
87fcfb65d4
Bug 1107889 - On Windows, detect when unable to play H.264/AAC (for example due to lacking service pack on Vista). r=kinetik,r=dmajor
2015-01-09 13:17:11 +13:00
Boris Zbarsky
ef4aa6e180
Bug 1112761
part 2. Enable MediaSource based on a whitelist, not in general. r=kinetik
2015-01-08 11:57:11 -05:00
Boris Zbarsky
a4c77d8da7
Bug 1112761
part 1. Replace Pref="media.mediasource.enabled" annotations in IDL with calls to a function which will end up doing something a bit more interesting. r=kinetik
2015-01-08 11:57:10 -05:00
Paul Adenot
84a2b0acc4
Bug 1119266 - Disable test_oscillatorNodeNegativeFrequency.html for failures on Android, on a CLOSED TREE.
2015-01-08 16:28:08 +01:00
Ehsan Akhgari
8e2b574163
Bug 1118613 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/media; r=kinetik
2015-01-07 20:40:05 -05:00
Paul Adenot
373349f693
Bug 916285 - Fix bustage on windows.
2015-01-05 15:30:53 +01:00
Botond Ballo
ddc90d3afc
Bug 1073003 - Fix warnings about calling 'delete' on an object of incomplete type. r=jolin
...
--HG--
extra : rebase_source : 520fd7cdaad55805639a109bd5fd55308a721fc4
2015-01-02 17:27:02 -05:00
Botond Ballo
e26039846a
Bug 1073003 - Fix -Wsign-conversion warnings. r=ehsan
...
--HG--
extra : rebase_source : 89079791628aeea551820c3ba42788da806ea9a3
2014-12-23 03:26:40 -05:00