Commit Graph

52 Commits

Author SHA1 Message Date
Robert O'Callahan
1b72909a1b Bug 687972. Even more logging... 2011-12-02 10:19:43 +13:00
Robert O'Callahan
e5aa0a8410 Bug 687952. Fix bustage 2011-12-01 23:32:11 +13:00
Robert O'Callahan
b76379f9b9 Bug 687972. More logging... 2011-12-01 23:16:26 +13:00
Robert O'Callahan
6bca92a0ef Bug 687972. Try 2: Run autoplay for an element after reaching loadedmetadata if all download streams for its resource are suspended by the media cache. r=cpearce 2011-11-30 18:05:49 +13:00
Matthew Gregan
8cc7c52480 Bug 690603 - Remove PR_TRUE/PR_FALSE from media code. r=doublec 2011-09-30 12:34:37 +13:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Martin Richard
475bfe0350 Bug 646333 - Make video constants consistently const T. r=cpearce 2011-09-15 07:39:50 +12:00
Ms2ger
a700090ecc Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Paul ADENOT
2b0ac0724c Bug 619752 part 1 - Duration should be +Inf on infinite length video streams. Core changes and corresponding test fixes. r=cpearce 2011-08-01 14:11:20 -04:00
Ed Morley
44aa9dd98d Bug 665546 - Fix unused variable warning in nsMediaStream.cpp; r=roc 2011-06-21 17:37:45 +02:00
Dominic Fandrey
532ec73933 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Ms2ger
2dbeb5a474 Bug 589894 - Fix a number of build warnings in content/; r=smaug 2011-04-14 14:04:12 +02:00
Chris Pearce
52bae6a140 Bug 641718 - Convert to using microseconds for internal video timestamps. r=kinetik 2011-04-14 10:12:23 +12:00
Chris Double
32bf8858f8 Bug 647178 - Don't call Suspend on channel if the channel has completed downloading - r=roc 2011-04-01 22:43:29 +13:00
Chris Jones
9ae6458637 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Pearce
0b0a559f09 Bug 641718 - Backout 44d43f095a4f. r=backout 2011-04-01 13:02:20 +13:00
Chris Jones
375ed04d1d Merge backout 2011-03-31 18:58:11 -05:00
Chris Jones
ecb9597975 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones
5dece3352a Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Jonas Sicking
c4b04edf61 Bug 644476: Rename classes/functions/variables to use "CORS" rather than "Access Control" or "Cross site" where appropriate. r=smaug 2011-03-28 13:18:45 -07:00
Chris Pearce
c23ff371d8 Bug 641718 - Convert to using microseconds for internal video timestamps. r=kinetik 2011-04-01 11:10:49 +13:00
Mounir Lamouri
3a6705f107 Bug 636750 (2/4) - Use ToDouble instead of ToFloat when appropriate. r=bsmedmerg 2011-03-25 12:14:19 +01:00
Chris Pearce
e5c9aaaea5 Bug 639391 - Make nsMediaStream responsible for determining cached media data in a threadsafe manner. r=roc 2011-03-24 11:28:58 +13:00
Chris Pearce
3b5d64cf61 Bug 628665 - Resurrect nsBuiltinDecoderStateMachine::HasLowDecodedData(). r=roc 2011-03-24 11:28:57 +13:00
Matthew Gregan
2f8ee5fd73 Bug 546700 - Recover gracefully from servers that send Accept-Ranges but don't. r=roc a=roc 2011-02-21 16:38:29 +13:00
Matthew Gregan
4dafa64b8e Bug 633051 - Remove LOAD_BACKGROUND flag from media channel when load completes. r=roc a=roc 2011-02-15 12:21:32 +13:00
Matthew Gregan
d87175c7ff Bug 626273 - Correct boundary seek logic. Change media element IDL floats to doubles per the spec. Invalidate updated frame after seeking. Optimize small forward seeks in WebM. r=cpearce a=roc 2011-01-17 16:03:00 +13:00
Chris Pearce
43d23cb4b8 Bug 623637 - Initiate media buffering when decode hits end of downloaded data, rather than when they're close. r=roc a=roc 2011-01-18 13:53:18 +13:00
Jonas Sicking
c4159e01b8 Bug 597301: Update CORS to latest spec. r=jst a=blocker 2010-10-04 17:41:07 -07:00
Chris Double
e34ae05158 Bug 584480 - Send Referer header with media requests - r=roc a=blocking2.0 2010-09-17 05:36:23 +12:00
Matthew Gregan
49f38129c4 Bug 570904 - Implement buffered support for WebM. r=roc 2010-09-13 20:45:50 +12:00
Dan Witte
30593559ea Back out Bug 536324 part 3. 2010-08-30 13:20:39 -07:00
Dan Witte
282953ea05 Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 3: contentLength consumers. r=jduell, a=beta5+ 2010-08-21 00:31:35 -07:00
Matthew Gregan
b11467def4 Bug 585864 - Increase media cache block size from 4kB to 32kB. r=roc a=roc 2010-08-13 12:41:47 +12:00
Chris Pearce
32bc682d64 Bug 462957 - Ogg support for HTMLMediaElement.buffered. r=doublec a=blocking2.0 2010-08-05 19:40:35 +12:00
Bjarne
dd2e00ab6b Bug 546606 - Make redirect API async - part 2; r=honzab.moz,cbiesinger,bjarne,jst sr=jst 2010-08-04 22:15:55 -04:00
Chris Double
2d1446e305 Bug 489071 - Send correct Accept header when requesting <video> and <audio> resources - r=roc 2010-07-29 16:58:07 +12:00
Ben Newman
b4d3ccac07 Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:35 -07:00
Ben Newman
328df6fdfa Eliminate duplicate code by combining nsNonOwningRunnableMethod with nsRunnableMethod (part 1/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 10:22:04 -07:00
Ralph Giles
65c886fd01 Bug 539620 - Deprecate X-Content-Duration for Content-Duration. r=chris.double 2010-01-27 13:29:26 +01:00
Robert O'Callahan
e9a72743d0 Bug 526323. nsCrossSiteListenerProxy for media loads should not treat 416 'range not satisfiable' as an error. r=doublec 2009-12-16 09:08:59 +13:00
Mike Kristoffersen
1dfc81dd02 Bug 525951 - White spaces at EOL in nsMediaStream.cpp. r=chris.double 2009-11-05 14:55:35 +01:00
Robert O'Callahan
04859385af Bug 521176. Don't unnecessarily start an HTTP transaction when cloning a media resource. r=doublec 2009-10-10 00:48:30 +13:00
Robert O'Callahan
52bde8e8c7 Bug 518659. Make nsMediaCache call out to nsMediaCacheStream::ClientSeek/Suspend/Resume without holding its lock. r=doublec 2009-10-10 00:46:23 +13:00
Robert O'Callahan
b0eefc17a6 Bug 522114. While we're suspending the download, a Web server might close our connection, thinking we're dead. This might look just like a normal connection close. So whenever the connection closes after we resumed, try to reopen it, if we're seekable. r=kinetik 2009-10-15 15:20:49 +13:00
Robert O'Callahan
e141614319 Bug 517818. Treat HTTP errors (other than 416 'Requested Range Not Available') as network errors. And do not allow an error page to be treated as media data. r=kinetik 2009-09-30 07:32:30 +10:00
Robert O'Callahan
578996bd49 Bug 517818. Suppress seeking to the end of the stream on Resume, there is no data to read there. r=kinetik 2009-09-21 15:47:47 +12:00
Robert O'Callahan
714c7aa471 Bug 513144. Allow streams that are related by mozLoadFrom to share data loaded after the initial clone. r=doublec 2009-09-15 14:30:45 +12:00
Robert O'Callahan
bad7376a1e Bug 513144. Make nsMediaChannelStream::CloneData clone the underlying cache stream, which adds the new stream as co-owner of all the nsMediaCache blocks currently cached for the original stream. Also, use NS_NEW_RUNNABLE_METHOD instead of the SuspendedStatusChanged class. r=doublec 2009-09-15 14:30:44 +12:00
Robert O'Callahan
f54a8d778c Bug 513144. Basic implementation of mozLoadFrom API. r=doublec 2009-09-15 14:30:44 +12:00