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
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
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
Botond Ballo
b3d6c180db
Bug 1073003 - Fix -Wnarrowing warnings. r=ehsan
...
--HG--
extra : rebase_source : 7cc4ede9e1e2d7ced96bb891f3b6774164c80869
2014-12-23 03:26:21 -05:00
Botond Ballo
7105b24b6d
Bug 1073003 - Avoid returning a reference to a temporary. r=jhlin
...
--HG--
extra : rebase_source : fa3c61864772af48f098cfd080333d450535462b
2014-12-23 03:25:21 -05:00
Botond Ballo
9571c220e7
Bug 1073003 - Fix a -Woverloaded-virtual warning by renaming a method. r=alfredo
...
--HG--
extra : rebase_source : 29b0256a20f4b7a7dc0d5c4e121889eff41be315
2014-12-23 03:24:14 -05:00
Botond Ballo
cb88585788
Bug 1073003 - Fix -Wattribute and -Wmultichar warnings in select directories by disabling them. r=ehsan,ted
...
--HG--
extra : rebase_source : daf7c38dee86adf07c6d87632a18af60e0eb4f0d
2014-12-23 03:22:50 -05:00
Botond Ballo
e66b60d907
Bug 1073003 - Fix -Wunused-variable / -Wunused-but-set-variable warnings. r=ehsan
...
--HG--
extra : rebase_source : a9b9166164ee79e2e460bb20fde7f76e1672f481
2014-12-31 16:49:13 -05:00
Botond Ballo
7e0bbe8b72
Bug 1073003 - Fix warnings about macro redefinitions. r=ehsan
...
--HG--
extra : rebase_source : 45baa6f38015d38829617a956c2ab754c9a8dfe5
2014-12-23 03:16:33 -05:00
Botond Ballo
bc093a115c
Bug 1073003 - Fix -Wreorder warnings. r=ehsan
...
--HG--
extra : rebase_source : 3eb4c247a6dd49b5a9377ddd71a095fda37e1c38
2014-12-23 03:14:31 -05:00
Bobby Holley
c69456ab40
Bug 1064128 - Implement support for timestampOffset in segments mode. r=k17e,r=cajbir
2015-01-07 15:58:55 -08:00
Bobby Holley
b68a4940ad
Bug 1116883 - Allow segment type box at the beginning of a media segment per spec. r=karlt
2015-01-07 15:58:55 -08:00
Paul Adenot
6e708c08e0
Bug 916285 - Make OscillatorNode handle negative frequencies. r=karlt
...
--HG--
extra : rebase_source : d45d11150406208e936ac3e78a1cdb1ce22684fb
2014-12-01 16:10:54 -08:00
Paul Adenot
3e1a7b67fc
Bug 997870 - Optimize OscillatorNodeEngine::ComputeCustom a little. r=karlt
...
--HG--
extra : rebase_source : 6d88a2154196c8c34521e246061e9581b98f70a1
2014-12-10 15:34:14 +01:00