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
Paul Adenot
f0c8594900
Bug 1106649 - Use band-limited wave tables to implement basic waveforms. r=karlt
...
--HG--
extra : rebase_source : c75a338a6887f811727ac068e4d84970a7796367
2014-12-01 16:09:56 -08:00
Blake Wu
719c1cadc9
Bug 1114928 - Have an initial value for Ouput result. r=ajones
2015-01-07 13:47:20 +08:00
James Willcox
a19ed3831f
Bug 1117777 - Fix inverted MP4 videos on Android r=jgilbert
2015-01-07 11:54:33 -06:00
JW Wang
c9d6a08a8c
Bug 1118574 - test case for "Forget This Site" command. r=cpearce
2015-01-06 18:51:00 +01:00
JW Wang
a27deeec92
Bug 1116006 - allow 'ended' set before 'play' event fired. r=cpearce
2015-01-06 01:50:00 +01:00
Alfredo Yang
260db40fc9
Bug 1098166 - remove unnecessary assert in GonkDecoderModule::Shutdown. r=ajones
2015-01-06 02:03:00 +01:00
Ehsan Akhgari
860da94550
Bug 1114999 - Part 2: Apply MOZ_NO_ADDREF_RELEASE_ON_RETURN to all smart pointer arrow operators that can return refcounted objects; r=jrmuizel
2015-01-06 16:30:03 -05:00
JW Wang
3434359fec
Bug 1111787 - Part 3: Clear plugis and storage data associated with the node IDs. r=cpearce
2014-12-29 22:22:00 -05:00
JW Wang
1725e359fe
Bug 1111787 - Part 2: Kill plugins with valid node IDs when clearing storage data for those IDs will be invalid and can't be used anymore. r=cpearce
2014-12-28 22:18:00 -05:00
JW Wang
ea65e9fd34
Bug 1111787 - Part 1: Delete the directory for the origin pair when "forget this site" is invoked. r=cpearce
2015-01-05 19:00:00 -05:00
Jonathan Hao
e56901c3a0
Bug 1080461 - Part 2: Fix RTSP autoplay. r=bechen, r=jwwang
2015-01-06 09:58:04 +08:00
Jonathan Hao
a29a94eff5
Bug 1080461 - Part 1: Add IsRealTime() in MediaDecoderStateMachine. r=bechen, r=jwwang
2015-01-06 09:57:53 +08:00
Brad Lassey
5a36e906b4
bug 1116859 - Tab mirror stream doesn't respect the max size passed in r=jesup
2014-12-31 12:12:10 -05:00
Ryan VanderMeulen
82d57b4850
Merge inbound to m-c. a=merge
2015-01-06 10:52:47 -05:00
Wes Kocher
9fe4f6a264
Merge m-c to b2g-inbound a=merge
2015-01-05 17:20:29 -08:00
Ryan VanderMeulen
3d55a15384
Backed out 4 changesets (bug 1106649, bug 916285, bug 997870) for test_periodicWave.html failures.
...
Backed out changeset 43e2d930ba6f (bug 916285)
Backed out changeset 011c2f2f5899 (bug 916285)
Backed out changeset b7303f56216b (bug 997870)
Backed out changeset a2b0a16b8898 (bug 1106649)
CLOSED TREE
2015-01-05 14:22:29 -05:00
Chris Pearce
2e9cf595cd
Bug 1114867 - Manually inline RtlSecureZeroMemory in GMPLoader, to ensure it doesn't wipe its own stack while running. r=dmajor
2015-01-06 07:36:42 +13:00
Chris Pearce
93923b922e
Bug 1114867 - Revert c29ebd2b4a10. r=dmajor
2015-01-06 07:36:39 +13:00
Paul Adenot
7ef3855197
Bug 916285 - Fix bustage on windows, on a CLOSED TREE.
...
--HG--
extra : rebase_source : 92b14283d4ccabc01e3b6d42f6ea300b84199f5a
2015-01-05 15:30:53 +01:00
Ethan Tseng
78084ec8f9
Bug 1111978 - RTSP error in browser app blocks playing video in other apps. r=bechen
...
--HG--
extra : histedit_source : ff5a78615e6c1251c7dd6a400e68dbfbe83221c4
2014-12-31 14:34:19 +08:00
Christoph Kerschbaumer
b39fa64608
Bug 1116624 - Move CORS into dom/security (r=sicking)
...
--HG--
rename : dom/base/nsCrossSiteListenerProxy.cpp => dom/security/nsCORSListenerProxy.cpp
rename : dom/base/nsCrossSiteListenerProxy.h => dom/security/nsCORSListenerProxy.h
2014-12-30 15:54:59 -08:00
Karl Tomlinson
8632ca3482
Bug 1116384
keep media element alive from attached MediaSource r=roc
...
--HG--
extra : rebase_source : 40c3a6b2af35d2c72eb51b442d36269f2c26ac70
2014-12-29 16:18:41 +13:00
Paul Adenot
9d479b3f5f
Bug 916285 - Make OscillatorNode handle negative frequencies. r=karlt
...
--HG--
extra : rebase_source : 8db864efa7d7fcfc02d6c66b8b0f050180968ac9
2014-12-01 16:10:54 -08:00
Paul Adenot
dc3fa97c86
Bug 997870 - Optimize OscillatorNodeEngine::ComputeCustom a little. r=karlt
...
--HG--
extra : rebase_source : 486499c25c863378d7c6c404f2fe00b99f5b86a9
2014-12-10 15:34:14 +01:00
Paul Adenot
28bfeca6e2
Bug 1106649 - Use band-limited wave tables to implement basic waveforms. r=karlt
...
--HG--
extra : rebase_source : 6ddbabd8d6b5c48659f4f9068cec8b6894f44d9a
2014-12-01 16:09:56 -08:00
Eric Rahm
502eba8af6
Bug 1111135 - Part 2: Check for 3gpp permission. r=roc
2015-01-05 17:54:27 -08:00
Wes Kocher
8bb1b9d23b
Backed out 2 changesets (bug 1111135) for build bustage on a CLOSED TREE
...
Backed out changeset 0c6d384d9d65 (bug 1111135)
Backed out changeset 1ba35d7572b7 (bug 1111135)
2015-01-05 15:32:08 -08:00
Eric Rahm
4f1a16baf2
Bug 1111135 - Part 2: Check for 3gpp permission. r=roc
2015-01-05 15:15:07 -08:00
Nils Ohlmeier [:drno]
eb5de2da98
Bug 1112382
- Remove DataChannelTest wrapper. r=bwc
2014-12-26 13:32:00 -05:00
Phil Ringnalda
9f997b2894
Merge m-i to m-c, a=merge
2015-01-03 20:02:33 -08:00
Ehsan Akhgari
1937a85540
Bug 1117196 - Stop asserting |this| in AudioNodeStream; r=roc
...
recent clang gives the following warning on these:
'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
2015-01-03 12:22:16 -05:00
Brad Lassey
6501df4324
bug 1115802 - Scrolling no longer working when tab mirroring from fennec r=snorp
2014-12-31 14:31:05 -05:00
Robert O'Callahan
d557ac39d0
Bug 1109644. Fix bustage on a CLOSED TREE
2014-12-31 15:44:00 +13:00
Robert O'Callahan
f96b8494a1
Bug 1109644. Part 6: Remove aLastEndTime parameter from NotifyPull. r=jesup
...
--HG--
extra : rebase_source : 47c950d1b1d03a8de279f2ac361b8dcd4ab0f801
2014-12-30 14:54:03 +13:00
Robert O'Callahan
a36e0dd9fe
Bug 1109644. Part 5: Make MediaEngineTabVideoSource use GetEndOfAppendedData instead of aLastEndTime. r=jesup
...
--HG--
extra : rebase_source : ee34171ed4297afa90fb14c7cf655a8d22a30dca
2014-12-30 14:54:02 +13:00
Robert O'Callahan
ec866eb827
Bug 1109644. Part 4: Make MediaEngineGonkVideoSource use GetEndOfAppendedData instead of aLastEndTime. r=jesup
...
--HG--
extra : rebase_source : 0899d9e42cd42b2ab4ef1d0d4cf600ccc7f49a3f
2014-12-30 14:54:02 +13:00
Robert O'Callahan
2d76f54dbb
Bug 1109644. Part 3: Make MediaEngineDefaultVideoSource use GetEndOfAppendedData instead of aLastEndTime. r=jesup
...
--HG--
extra : rebase_source : d2285dad46e5b089b49e5ddce12564d5518c45a3
2014-12-30 14:54:02 +13:00
Robert O'Callahan
5b73829749
Bug 1109644. Part 2: Make MediaEngineWebRTCVideoSource use GetEndOfAppendedData instead of aLastEndTime. r=jesup
...
--HG--
extra : rebase_source : a1b716900bba01b5af1057e03bdc6360e327174b
2014-12-30 14:54:02 +13:00
Robert O'Callahan
85cb99cc25
Bug 1109644. Part 1: Create SourceMediaStream::GetEndOfAppendedData to reliably track how much data has been appended to a SourceMediaStream's track. r=jesup
...
--HG--
extra : rebase_source : 385ad9b704d35df7b70a75afe807e363e0929476
2014-12-30 14:54:01 +13:00
Jeff Gilbert
a76e617dd0
Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp
2014-11-17 17:02:19 -08:00
Bobby Holley
70f5c9f799
Bug 1116355 - Throw when setting SourceBuffer mode to 'sequence'. r=karlt,rs=Ms2ger
2014-12-30 12:22:45 -08:00
Ehsan Akhgari
de3498d101
Bug 1116358 - Directly call Release() on |this| when closing a GMP encoder/decoder proxies; r=cpearce
...
This is needed in order to avoid calling Release() on a smart pointer.
2014-12-30 14:53:12 -05:00
JW Wang
73a373e963
Bug 1116006 - add debugging logs. r=cpearce
2014-12-28 22:33:00 +01:00
Benjamin Chen
935a404340
Bug 1094678 - MediaCodecReader::CreateTaskQueues() runs at main thread. r=cpearce, r=brsun
2014-12-23 14:31:30 +08:00
Carsten "Tomcat" Book
7acda539a7
Backed out changeset d1f3c8d40cdf (bug 1116355) for breaking w-4 tests on a CLOSED TREE
2014-12-30 09:46:51 +01:00
Bobby Holley
def3e6cbb3
Bug 1116355 - Throw when setting SourceBuffer mode to 'sequence'. r=karlt
2014-12-29 23:20:03 -08:00
Bobby Holley
81fc7d1d4b
Bug 1114840 - Don't start playback during prerolling. r=cpearce
2014-12-29 23:16:48 -08:00
Bobby Holley
c3291e8b61
Bug 1114840 - Dynamically compute preroll thresholds. r=cpearce
...
Currently, the preroll threshold ends up higher than the ample threshold in the
audio-only case where we slash the audio thresholds by a factor of 8. The best
way to avoid these sorts of bugs is to compute the values dynamically.
2014-12-29 23:16:48 -08:00
Bobby Holley
01990f4d69
Bug 1114840 - Hoist arms-length conditions and rename StartPlayback() to MaybeStartPlayback(). r=cpearce
2014-12-29 23:16:48 -08:00
Bobby Holley
1eefb9ac1f
Bug 1114840 - Use StartDecoding() rather than SetState in PlayInternal. r=cpearce
...
This makes sure that decode tasks are dispatched and that all the preroll state
is appropriately set up.
2014-12-29 23:16:48 -08:00
Bobby Holley
680cba307f
Bug 1114840 - Make MediaDecoderStateMachine::Play run on the state machine thread. r=cpearce
...
We want to invoke StartDecoding() from Play, but that calls into a bunch of stuff
that asserts that we're on the state machine thread. It's not clear to me whether
that's actually necessary, but this seems like the right thing to do regardless
given that this is all supposed to be async anyway.
2014-12-29 23:16:48 -08:00
Jean-Yves Avenard
b1596dcc70
Bug 1115594: Fix indentation in AppleVDADecoder. r=rillian
...
--HG--
extra : rebase_source : 6f12f00194507d9000f11d48df8350eed968c30d
2014-12-30 12:06:22 +11:00
Bobby Holley
fe6a11e4f9
Bug 1115749 - Hold the demuxer lock while accessing metadata. r=rillian
...
We're invoking a number of methods on mDemuxer here.
2014-12-29 16:10:16 -08:00
Bobby Holley
47687b23ea
Bug 1115749 - Hold the demuxer monitor in MP4Reader::Seek. r=rillian
...
This method invokes Seek* on mDemuxer.
2014-12-29 16:10:16 -08:00
Bobby Holley
e6e1fb5905
Bug 1115749 - Rename mIndexMonitor to mDemuxerMonitor. r=rillian
2014-12-29 16:10:16 -08:00
Karl Tomlinson
98e1dfd45e
bug 975782 bring media resource loads out of background while they delay the load event r=cpearce
...
This will happen after a stalled load doesn't delay the load event but such a
load then delays the load event again when it receives progress.
--HG--
extra : rebase_source : a04dd7416f86306cfc62aabba20fb30415572d98
2014-12-23 14:16:05 +13:00
Ryan VanderMeulen
3d3603fd0c
Bug 1091965 - Skip test_mixingRules.html on Android 2.3 due to high intermittent failure rate.
2014-12-26 12:22:56 -05:00
Ryan VanderMeulen
beb4598a7f
Bug 1115148 - Skip test_WaitingOnMissingData.html on Android 2.3 due to high intermittent failure rate.
2014-12-26 12:18:34 -05:00
JW Wang
7079de5df9
Bug 1110922 - Add logs to debug test_played.html timeouts. r=cpearce
2014-12-22 23:12:00 -05:00
Jean-Yves Avenard
a3c28798a1
Bug 1111319: Reorder video frames with respect to decoding sliding window. r=rillian
2014-12-24 23:11:35 +11:00
Jean-Yves Avenard
cb16fdaa24
Bug 1111328: Retrieve video dimensions from H264 SPS when possible. r=rillian
2014-12-24 23:11:35 +11:00
Blake
bc4de955f9
Bug 1080484 - Support avi/divx, ts/m2ts, and mkv media formats. r=cajbir
2014-12-23 10:20:25 +08:00
Ryan VanderMeulen
539cbb2493
Merge inbound to m-c. a=merge
2014-12-23 13:17:16 -05:00
Carsten "Tomcat" Book
bf58b7f6ca
Backed out changeset aef3ce3b89b9 (bug 1073003)
2014-12-23 13:35:05 +01:00
Carsten "Tomcat" Book
86c35b85c1
Backed out changeset 3d81c5b78567 (bug 1073003)
2014-12-23 13:35:04 +01:00
Carsten "Tomcat" Book
2ab649cfb7
Backed out changeset ad0bb596da2c (bug 1073003)
2014-12-23 13:35:02 +01:00
Carsten "Tomcat" Book
42f8b57b0a
Backed out changeset 4902a8efe178 (bug 1073003)
2014-12-23 13:34:57 +01:00
Bobby Holley
51e382d00c
Bug 1114830 - Only enter buffering mode when the pending request is waiting for data. r=cpearce a=philor
2014-12-22 20:54:01 -08:00
Ryan VanderMeulen
93534bdf01
Merge inbound to m-c. a=merge
2014-12-22 17:55:32 -05:00
Jean-Yves Avenard
1b4e25aac8
Bug 1114802: MP4: Hold demuxer monitor while resetting. r=kentuckyfriedtakahe
2014-12-23 13:39:35 +11:00
JW Wang
7d14ddd10c
Bug 1080685 - add logs to debug vp9cake.webm timeout in test_playback.html. r=cpearce
2014-12-22 19:43:00 +01:00
Chris Pearce
03dbaa0232
Bug 1101308 - Remove code to zero stack after GMP device binding as it's causing crashes. r=edwin
2014-12-22 19:59:00 +01:00
Alastor Wu
b357dcd13a
Bug 1105913 - [b2g] video can't playback after waking up from the dormant state, part 2 : revert changeset. r=roc.
2014-12-23 15:03:15 +08:00
Alastor Wu
35e5ba65a8
Bug 1105913 - [b2g] video can't playback after waking up from the dormant state, part 1 : avoid blocking. r=roc.
2014-12-23 15:04:20 +08:00
Botond Ballo
3beceb6904
Bug 1073003 - Remove a spurious line added to a moz.build file. r=glandium
...
--HG--
extra : rebase_source : 71549941e6b83322803519a0f5c9526e0ad56561
2014-12-23 01:16:36 -05:00
Botond Ballo
1356b6d4a6
Bug 1073003 - More Werror bustage fixes on a CLOSED TREE. r=bustage
...
--HG--
extra : rebase_source : 86466eea48ddfc7b5698d97ca574ed6cdf79326e
extra : amend_source : 9eb590b24276a068bbb078152509b3c743bb40f8
2014-12-23 00:03:15 -05:00
Jean-Yves Avenard
38d4caccab
Bug 1105771: Allow playback of avc3 streams. r=cpearce
2014-12-23 14:42:55 +11:00
Jean-Yves Avenard
d7f0a4602f
Bug 1113403: Make MP4Sample destructor virtual. r=kinetik
2014-12-23 14:40:29 +11:00
Jean-Yves Avenard
514510a632
Bug 1113045: Make AppleVT/VDA/AT/Decoder's destructors virtual. r=rillian
...
These decoders are accessed through a base class.
Additionally, the style guide dictates that we're supposed to add "virtual" keyword even when it's unnecessary, for documentation purposes.
2014-12-23 14:39:22 +11:00
Jean-Yves Avenard
b2f2b09c22
Bug 1110534: Use ref counted pointers to hold references in mac decoder. r=rillian
2014-12-23 14:36:10 +11:00
Jean-Yves Avenard
9cdf6937a4
Bug 1110534: Use AVCC wrapper for EME. Adds AnnexB and AVC3 support. r=cpearce
2014-12-23 14:36:10 +11:00
Jean-Yves Avenard
73cd5036a3
Bug 1110534: Use AVCC wrapper for mac decoder. Adds AnnexB and AVC3 support. r=cpearce
2014-12-23 14:36:10 +11:00
Jean-Yves Avenard
43dc514afc
Bug 1110534: Create AVCC converter wrapper class. r=cpearce
...
This class easily allows an AVCC-only decoder (H264EME and Apple VDA/VideoToolbox) to support
AnnexB and AVC3 content.
This is done by lazily creating the decoder only once we have detected SPS/PPS in the data
stream, and converting all input to AVCC format.
2014-12-23 14:36:10 +11:00
Jean-Yves Avenard
c7723f6179
Bug 1110534: Make PlatformDecoderModule ref counted. r=edwin
2014-12-23 14:36:10 +11:00
Jean-Yves Avenard
037499d91e
Bug 1110534: Add AnnexB support to FFmpeg h264 decoder. r=kentuckyfriedtakahe
2014-12-23 14:36:09 +11:00
Jean-Yves Avenard
7341bcdb6e
Bug 1110534: Use more accurate names in MP4Sample and Annex B utility functions. r=kentuckyfriedtakahe
2014-12-23 14:36:09 +11:00
Jean-Yves Avenard
8f57ec0db8
Bug 1110534: Simplify MP4 extradata handling. r=kentuckyfriedtakahe
2014-12-23 14:36:09 +11:00
Botond Ballo
ac92460241
Bug 1073003 - Additional Werror bustage fixes in newly added webrtc code. r=bustage
...
--HG--
extra : rebase_source : bdf0d3d341a42608366912243c1e1cc9fd398b0c
2014-12-22 22:23:51 -05:00
Chris Pearce
387ccf2fbe
Bug 1114825 - Bustage fix. r=bustage.
2014-12-23 16:10:39 +13:00
Botond Ballo
862614909b
Bug 1073003 - Disable -Wattribute warnings in media/webrtc. r=bustage
...
--HG--
extra : rebase_source : a24a01f05596be3bc6a67e0b238eb3d599cd5eda
2014-12-22 21:45:18 -05:00
Chris Pearce
8a385751f6
Bug 1114825 - Don't try to deref an empty std::vector in gmp-clearkey. r=edwin
2014-12-23 15:23:14 +13:00
Ryan VanderMeulen
63ee28d4b7
Merge inbound to m-c. a=merge
2014-12-22 18:01:06 -05:00
Chris Pearce
c4e3f4a357
Bug 1113477 - Fix logging in GMPParent that incorrectly labels sending nodeId and startPlugin as failed when it actually succeeded. r=edwin
2014-12-23 11:21:54 +13:00
Ehsan Akhgari
c2194dba73
Bug 1114348 - Use mozilla::IsNaN() in Web Audio code; r=padenot
...
--HG--
extra : rebase_source : 0acc0643ed6a8800d02557f6e84312955e34a59e
2014-12-22 08:54:55 -05:00
Sotaro Ikeda
e636229ac6
Bug 1113769 - Handle out of gralloc in MediaEngineGonkVideoSource::RotateImage() r=jesup
2014-12-22 07:05:19 -08:00
Carsten "Tomcat" Book
71dd629331
Merge mozilla-central to b2g-inbound
2014-12-22 14:04:32 +01:00
Bobby Holley
f01bb671ea
Bug 1109437 - Only switch to buffering mode when the reader is waiting for data. r=cpearce
2014-12-22 00:20:31 -08:00
Bobby Holley
49601684ad
Bug 1109437 - Implement non-polling buffering. r=cpearce
2014-12-22 00:20:31 -08:00
Bobby Holley
05e1250b67
Bug 1109437 - Schedule the state machine thread in MediaSourceDecoder::Load. r=cpearce
...
This is necessary to get the state machine moving after it's initialized.
MediaDecoder::Load does this, but it looks like we missed this in the override.
So the current code relies on the ScheduleStateMachine call at the end of
TrackBuffer::AppendData to get things rolling. We're going to be removing that
call, so we need to fix this.
2014-12-22 00:20:31 -08:00
Bobby Holley
17a26db299
Bug 1109437 - Switch m{Audio,Video}RequestPending to a tri-state. r=cpearce
2014-12-22 00:20:31 -08:00
Bobby Holley
663679c83b
Bug 1109437 - Stop using buffering heuristics when they're not requested. r=cpearce
...
Given that we set the buffering wait to 0 in this case already, the only practical
impact on our behavior of this change is that we'll no longer ping-pong between
states.
2014-12-22 00:20:30 -08:00
Bobby Holley
05224076bc
Bug 1109437 - Generalize GetBufferingWait to UseBufferingHeuristics. r=cpearce
2014-12-22 00:20:30 -08:00
Bobby Holley
ffd128ab61
Bug 1109437 - Remove MOZ_COUNT_{C,D}TOR on refcounted promise classes. r=cpearce
...
These were accidental and redundant, because refcounted classes get this behavior
automatically. And this is very lucky, because it turns out that our MOZ_COUNT_*
infrastructure can't handle varying-sized instances identified with the same
string, which is exactly what we can get with these templated types.
The only remaining use of these macros is on the non-templated ThenValueBase,
which is happily not variable-sized. \o/
2014-12-22 00:20:30 -08:00
Boris Chiou
ea4203738e
Bug 1098970 - Part 6: Fix the usage of GonkNativeWindow in Omx. r=sotaro
...
Use new APIs for GonkNativeWindowLL.
2014-12-17 22:31:00 +01:00
Ryan VanderMeulen
facb39a4e0
Backed out 7 changesets (bug 1109437) for suspicious-looking crashes on a CLOSED TREE.
...
Backed out changeset dc45e97d102d (bug 1109437)
Backed out changeset e6350e4fb18b (bug 1109437)
Backed out changeset 4c38dda06880 (bug 1109437)
Backed out changeset 72f171ec04ba (bug 1109437)
Backed out changeset ec275f65c676 (bug 1109437)
Backed out changeset 65d172e7a1cf (bug 1109437)
Backed out changeset 0b8a156dcff0 (bug 1109437)
2014-12-19 17:02:27 -05:00
Nils Ohlmeier [:drno]
f41e9e1786
Bug 1016476: more bundle tests r=bwc
2014-12-17 11:55:00 -08:00
Benjamin Chen
d676e9ef65
Bug 1091992 - fix the flag skipToNextKeyFrame in DecodeVideo can't be raised if the video is slower than audio. r=cpearce, r=jwwang
2014-12-22 11:32:31 +08:00
Bobby Holley
6a0b2751fe
Bug 1092025 - Hold the lock for the entire duration of MediaSourceReader::ReadMetaData. r=karlt
2014-12-21 23:14:59 -08:00
Bobby Holley
3a7dd07a3d
Bug 1114383 - Unlock the demuxer monitor before calling out via MP4Stream. r=k17e
2014-12-21 22:04:36 -08:00
Bobby Holley
6d0ec2b9a3
Bug 1114383 - Assert that access to mMoofs goes through a monitor. r=k17e
2014-12-21 22:04:36 -08:00
Bobby Holley
01bbb5b92f
Bug 1114383 - Acquire the index monitor in MP4Reader::PopSample. r=k17e
2014-12-21 22:04:36 -08:00
Byron Campen [:bwc]
404d84f2d4
Bug 1016476 - Part 2: Test work. r=drno
2014-11-25 17:36:16 -08:00
Bobby Holley
d3178b735c
Bug 1109437 - Only switch to buffering mode when the reader is waiting for data. r=cpearce
2014-12-19 11:39:15 -08:00
Bobby Holley
6b50bfd173
Bug 1109437 - Implement non-polling buffering. r=cpearce
2014-12-19 11:39:15 -08:00
Bobby Holley
1170137ae6
Bug 1109437 - Schedule the state machine thread in MediaSourceDecoder::Load. r=cpearce
...
This is necessary to get the state machine moving after it's initialized.
MediaDecoder::Load does this, but it looks like we missed this in the override.
So the current code relies on the ScheduleStateMachine call at the end of
TrackBuffer::AppendData to get things rolling. We're going to be removing that
call, so we need to fix this.
2014-12-19 11:39:15 -08:00
Bobby Holley
cb28e17a47
Bug 1109437 - Switch m{Audio,Video}RequestPending to a tri-state. r=cpearce
2014-12-19 11:39:15 -08:00
Bobby Holley
8a61e238be
Bug 1109437 - Stop using buffering heuristics when they're not requested. r=cpearce
...
Given that we set the buffering wait to 0 in this case already, the only practical
impact on our behavior of this change is that we'll no longer ping-pong between
states.
2014-12-19 11:39:15 -08:00
Bobby Holley
afa50587e3
Bug 1109437 - Generalize GetBufferingWait to UseBufferingHeuristics. r=cpearce
2014-12-19 11:39:14 -08:00
Bobby Holley
7d0e766c1e
Bug 1109437 - Remove MOZ_COUNT_{C,D}TOR on refcounted promise classes. r=cpearce
...
These were accidental and redundant, because refcounted classes get this behavior
automatically. And this is very lucky, because it turns out that our MOZ_COUNT_*
infrastructure can't handle varying-sized instances identified with the same
string, which is exactly what we can get with these templated types.
The only remaining use of these macros is on the non-templated ThenValueBase,
which is happily not variable-sized. \o/
2014-12-19 11:39:14 -08:00
Daniel Holbert
3229ae5426
Bug 1105065: Remove an #ifdef, to fix a -Wunused-private-field build warning in GMPLoader.cpp for builds with --disable-sandbox. r=cpearce
2014-12-19 10:12:23 -08:00
Ehsan Akhgari
1813ae2d33
Bug 867348 - Part 2: Apply MOZ_NO_ARITHMETIC_EXPR_IN_ARGUMENT to CheckedInt's constructor; r=jrmuizel,cpearce
...
Note that the analysis currently just looks at the AST subtree of the
function call site and is therefore unable to correctly deal with cases
such as the last two hunks of the change to OggCodecState.cpp. Fixing
the analysis to deal with that would be very difficult, so we currently
adjust the code so that it compiles. The first hunk in that file though
is a real bug that this analysis found.
2014-12-18 15:27:05 -05:00
Ryan VanderMeulen
c54bf72326
Backed out changesets 6bd00fa70b00, 4e2f8f3b8f6b, and c89fec9c8b55 (bug 879717) for introducting multiple new intermittent failures.
...
--HG--
extra : rebase_source : 4aad9383081f256484dd06e87f14cc82ecf186b5
2014-12-19 12:07:20 -05:00
Andreas Pehrson
099c1c9b78
Bug 879717 - Part 3 - Test video dimensions set on loadedmetadata event. r=roc
2014-12-19 01:25:00 +01:00