Commit Graph

476 Commits

Author SHA1 Message Date
Alastor Wu
7ab51e23c1 Bug 1228564 - part 2 : check audio capturing when the agent is registered/unregistered. r=baku. 2015-12-24 17:28:45 +08:00
Alastor Wu
fbea0f8cc4 Bug 1228564 - part 1 : revert the changeset of bug 1190040. r=baku. 2015-12-24 17:17:30 +08:00
Sebastian Hengst
80da64a12f Backed out changesets 961f205d340d, 14a4637e9d96 and 14a4637e9d96 (bug 1228564) for failing Android M(4) test_browserElement_inproc_AudioChannel.html. r=backout 2015-12-27 22:28:08 +01:00
Kartikaya Gupta
1a411e0c8a Bug 1228564 - Follow-up to fix static analysis build bustage. r=me 2015-12-27 10:27:15 -05:00
Alastor Wu
b238891922 Bug 1228564 - part 2 : check audio capturing when the agent is registered/unregistered. r=baku. 2015-12-24 17:28:45 +08:00
Alastor Wu
eb69386b37 Bug 1228564 - part 1 : revert the changeset of bug 1190040. r=baku. 2015-12-24 17:17:30 +08:00
Karl Tomlinson
821949e44d bug 1228484 throw instead of capturing a second stream to a different graph r=roc 2015-12-04 01:30:46 +13:00
Francois Marier
5834a16220 Bug 1231557 - Use the URL Classifier in Media elements. r=cpearce,r=gcp 2015-12-16 13:24:40 -08:00
Alastor Wu
fad8e67bbf Bug 1228559 - get MSG by audio channel type. r=roc 2015-12-02 07:36:42 -05:00
Jonas Sicking
dc7114ec7f Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb 2015-12-06 18:33:15 -05:00
Sebastian Hengst
cdf4286868 Backed out changeset 09d64535bcda (bug 1216687), a7f1a289dd78, 4dbf06183e6c, 26318a5e3006, 9ae2af3cf86d (bug 1226909) for M(1,2,5) oranges. r=backout 2015-12-05 16:34:47 +01:00
Jonas Sicking
ed83817753 Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb 2015-12-05 01:46:21 -08:00
Jean-Yves Avenard
4c0a7eb975 Bug 1229256: P2. Use buffered range to determine next frame availability. r=jwwang
To avoid potential regression with some of our tests expecting our old particular behaviour, we only use the buffered range to determine the next frame status if the old method determined that the next frame was unavailable due to the MediaDecodeStateMachine not having decoded the next frame yet.
2015-12-03 12:38:10 +11:00
Robert O'Callahan
a488b0e24b Bug 1223696. Don't destroy VideoFrameContainer when we reach MetadataLoaded without a video track. r=jwwang 2015-11-17 16:34:28 +13:00
Alastor Wu
0e3ab60945 Bug 1224475 - Start agent after seeking. r=baku 2015-11-23 14:52:28 +08:00
sajitk
e7c3cfa4d5 Bug 1219478: Replace PRLogModuleInfo usage with LazyLogModule in dom folders except media.r=amerchesini 2015-11-23 11:09:25 -08:00
Andrea Marchesini
bb0c4688f3 Bug 1213154 - tab-sound-icon should be supported by bfcache, r=roc 2015-11-23 11:35:14 +00:00
Carsten "Tomcat" Book
5dedbe0973 Backed out changeset 162ded2e49c8 (bug 1223696) for failing on own test on a CLOSED TREE 2015-11-23 09:48:56 +01:00
Robert O'Callahan
e5d8063391 Bug 1223696. Don't destroy VideoFrameContainer when we reach MetadataLoaded without a video track. r=jwwang 2015-11-17 16:34:28 +13:00
Wes Kocher
361842c001 Backed out changeset 24c0074052e6 (bug 1224936) for incoming mulet bustage 2015-11-20 17:09:44 -08:00
Andrea Marchesini
537fb2b766 Bug 1224936 - AudioChannelAgent should be informed when HTMLMediaElement dispatches an error, r=roc 2015-11-21 01:04:24 +00:00
Andrea Marchesini
0b608f19b6 Bug 1207546 - Integrate WebRTC with audio channels, r=roc 2015-11-21 01:03:20 +00:00
Boris Zbarsky
11cee47d40 Bug 1224007 part 4. Fix some cases in which ErrorResult instances are destroyed without doing anything useful with exceptions on them. r=peterv 2015-11-20 16:29:41 -05:00
Jean-Yves Avenard
676266e731 Bug 1222387: P1. Properly handle negative seeks when readyState is HAVE_NOTHING. r=jwwang 2015-11-20 19:43:38 +11:00
JW Wang
2da30fff44 Bug 1221881 - HTMLMediaElement::NetworkError() should clear mDecoder. See bug 1221881 comment 2 for the root cause. r=cpearce. 2015-11-11 15:18:11 +08:00
James Cheng
18cabf10a6 Bug 1224991 - Log format string mismatch the number of parameters. r=cpearce. 2015-11-16 19:11:00 +01:00
Phil Ringnalda
3e00b835d0 Back out changeset a9ca2bcc8633 (bug 1224936) for Mulet Gij bustage in Player_test.js
CLOSED TREE
2015-11-16 19:33:26 -08:00
Andrea Marchesini
934a10dd53 Bug 1224936 - AudioChannelAgent should be informed when HTMLMediaElement dispatches an error, r=roc 2015-11-17 01:28:07 +00:00
JW Wang
0b163fff0a Bug 1221009. Part 1 - add a class to forward notifications from MediaResource to MediaDecoder. r=roc. 2015-11-16 07:50:55 +08:00
Chris Pearce
40bfa2072c Bug 1224080 - Ensure attaching MediaKeys before MediaSource doesn't cause load failure. r=gerald 2015-11-14 08:57:52 +13:00
Jean-Yves Avenard
429b2438fb Bug 1188887: P3. Never throw an exception when seeking. r=jwwang
Per spec, no exception can ever be thrown when seeking.
Only leaving cases indicating a failure in one of the component (which other than a second to usec conversion overflow will never happen anyway).
2015-10-28 10:46:01 +11:00
Jean-Yves Avenard
c9c13e4f45 Bug 1188887: P1. Allow seeking when readyState is HAVE_NOTHING. r=jwwang 2015-10-28 10:45:58 +11:00
Kyle Huey
8f8794e1c7 Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Bobby Holley
2fbc62d387 Bug 1216308 - Followup for incomplete fix. r=me 2015-10-26 11:22:29 -07:00
Jean-Yves Avenard
75a403717a Bug 1217304: P2. Do not transition to HAVE_ENOUGH_DATA readyState until we do have data. r=jwwang
We must have at least a decoded frame available to transition to HAVE_ENOUGH_DATA, as otherwise canplay/canplaythrough will always be fired even if the data was invalid so long that it was small.
2015-10-23 23:34:05 +11:00
Jean-Yves Avenard
1256b2036f Bug 1217304: P1. Only fire loadeddata once the first frame has been decoded. r=jwwang
We can't determine otherwise if data is actually playable at the current position
2015-10-23 23:34:05 +11:00
Alastor Wu
45b6ed98fb Bug 1215447 - move flag setting from SeekStarted() to Seek(). r=roc. 2015-10-22 11:37:16 +08:00
Guang-De Lin
c8394561d2 Bug 1150305 - sourcebuffer.buffered returns the same object if not changed. r=roc, r=bz, r=jya 2015-10-19 14:10:47 +08:00
Carsten "Tomcat" Book
b5f2295361 Backed out changeset 780061f96448 (bug 1213154) 2015-10-20 16:08:51 +02:00
Andrea Marchesini
ae953c0b75 Bug 1213154 - tab-sound-icon should be supported by bfcache, r=roc 2015-10-20 01:33:00 +02:00
Bobby Holley
5c965d3bd4 Bug 1216308 - Hoist IsCallerChrome check in HTMLMediaElement::Play to API entry point. r=bz 2015-10-19 17:54:46 -07:00
Nathan Froyd
4e6d8f6705 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Carsten "Tomcat" Book
ce4c6aef12 Backed out changeset 97e9ac5785f5 (bug 1213154) for bc7 test failures 2015-10-16 12:03:40 +02:00
Andrea Marchesini
5ab0ef4951 Bug 1213154 - tab-sound-icon should be supported by bfcache, r=roc 2015-10-15 05:00:00 +02:00
Andrea Marchesini
0ed5d72754 Bug 1214659 - HTMLMediaElement::UpdateAudioChannelPlayingState() should be easy to read, r=roc 2015-10-15 00:59:00 +02:00
JW Wang
6c0d4f97fe Bug 1214989. Part 3 - remove MediaDecoder::Init() and its callers. r=gerald. 2015-10-15 11:39:45 +08:00
JW Wang
7cc96c1d31 Bug 1214989. Part 2 - add MediaDecoderOwner to Clone() and overrides. r=gerald. 2015-10-15 11:37:47 +08:00
JW Wang
582b648a0d Bug 1214065 - Remove unused arguments from MediaDecoder::Load() and its friends. r=kinetik. 2015-10-14 11:46:27 +08:00
Nigel Babu
02084e8ea8 Backed out changeset e184609e1d13 (bug 1207546) for bustage ON A CLOSED TREE 2015-10-14 13:29:03 +05:30
Andrea Marchesini
838597d936 Bug 1207546 - Integrate WebRTC with audio channels, r=roc 2015-10-14 11:32:23 +05:30