Граф коммитов

57 Коммитов

Автор SHA1 Сообщение Дата
Adam Dane 017d8a0b01 Bug 612246 - Store the media cache in the profile directory for single process Gecko and the system temp directory for multi-process. r=cpearce 2012-03-05 14:40:56 -06:00
Matthew Gregan b11d895a75 Bug 730425 - Make range check assertion in stream read fatal, and add the same check to similar code in the cached stream read. r=roc 2012-03-01 12:52:02 +13:00
Matthew Gregan 6077ca190c Bug 730425 - Performa an additional range check in stream read. r=roc 2012-02-28 17:38:46 +13:00
Robert O'Callahan 872bbcb297 Bug 726889. Rename nsMediaStream/nsMediaChannelStream/nsMediaFileStream to mozilla::MediaResource/ChannelMediaResource/FileMediaResource. Also rename nsByteRange to mozilla::MediaByteRange and nsChannelStatistics to mozilla::MediaChannelStatistics. Rename GetStream to GetResource and various other mentions of 'stream' to 'resource'. r=cpearce
--HG--
rename : content/media/nsMediaStream.cpp => content/media/MediaResource.cpp
rename : content/media/nsMediaStream.h => content/media/MediaResource.h
2012-02-15 17:35:01 +13:00
Jeff Walden 16db021217 Bug 711799 - Fix a bunch of unused-variable warnings. r=dholbert
--HG--
extra : rebase_source : 91fc77dca316018652d4d99f6d4cc8d0f7195e6e
2011-12-18 01:00:42 -05:00
Robert O'Callahan 684f03fbb8 Bug 687972. Ignore closed streams when computing whether all streams for the resource are suspended. r=cpearce 2011-12-15 23:26:42 +13:00
Robert O'Callahan 23c74606fc Bug 687972. More logging. 2011-12-09 17:48:40 +13:00
Robert O'Callahan aee2342025 Bug 687972. Set mCacheSuspended/mChannelEnded flags on all streams *before* calling CacheClientSeek/Resume/Suspend on any stream, because nsMediaChannelStream::CacheClientSuspend will call nsBuiltinDecoder::NotifySuspendedStatusChanged which will call nsMediaChannelStream::IsSuspendedByCache which will call nsMediaCacheStream::AreAllStreamsForResourceSuspended which relies on mCacheSuspended/mChannelEnded being set correctly for all streams for that resource. r=doublec 2011-12-02 17:43:42 +13:00
Robert O'Callahan ba3b5ad3e7 Bug 687972. Don't count streams whose channel has ended when looking to see if there's any non-suspended stream for a resource. r=cpearce 2011-12-01 12:09:10 +13:00
Robert O'Callahan 2768e1cac2 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
Robert O'Callahan 44a3728e0e Bug 703379. Fire CacheClientNotifyDataEnded when we clone a decoder which has already reached the end of the download. r=doublec 2011-11-24 12:05:12 +13:00
Robert O'Callahan 627c55ddd7 Bug 703379. Part 3: Ensure that we can extract the data from any partially-read blocks held by any stream for a given resource. r=doublec 2011-11-24 12:01:50 +13:00
Matthew Gregan 8f6aeecfc2 Bug 690603 - Remove PR_TRUE/PR_FALSE from media code. r=doublec 2011-09-30 12:34:37 +13:00
Michael Wu d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ed Morley 3f49fdcb2a Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted 2011-06-25 16:06:02 +02:00
Dominic Fandrey 968bf5196a Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Masayuki Nakano 7b13fbd2d9 Bug 659536 part.2 Replace nsContentUtils::GetIntPref() with Preferences::GetInt() or Preferences::GetUint() r=roc 2011-05-25 15:32:00 +09:00
Chris Jones 31aa2c4e77 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Chris Pearce 73310e4cd6 Bug 641718 - Convert to using microseconds for internal video timestamps. r=kinetik 2011-04-14 10:12:23 +12:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E) 2c92e3ecd5 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 5e2c8c0e56 Bug 641718 - Backout 44d43f095a4f. r=backout 2011-04-01 13:02:20 +13:00
Chris Jones 912845af59 Merge backout 2011-03-31 18:58:11 -05:00
Chris Jones 699024f868 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E) 0ce53bb598 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
Chris Pearce de44f0f3fe Bug 641718 - Convert to using microseconds for internal video timestamps. r=kinetik 2011-04-01 11:10:49 +13:00
Chris Pearce 740652ece1 Bug 639391 - Make nsMediaStream responsible for determining cached media data in a threadsafe manner. r=roc 2011-03-24 11:28:58 +13:00
Doug Turner 87e2b003c4 Bug 631058 - Backing out changesets 0d43e33ce134 and 60d7b8a4c275. r=wes, a=backout-scary-stuff 2011-02-17 08:41:07 -08:00
Wes Johnston 03c1ff1edc Bug 631058 - Part 2 -Only decode Only decode metadata for preload=metadata. This has the fix ups that cpearce requires. r=cpearce, a=blocking-fennec 2011-02-15 20:31:08 -08:00
Doug Turner e2a8a2bcc2 Backed out changeset 0000b936e5c6 2011-02-15 20:31:00 -08:00
Wes Johnston c2d4e3781d Bug 631058 - Part 2 -Only decode Only decode metadata for preload=metadata. r=cpearce, a=blocking-fennec 2011-02-15 16:54:47 -08:00
timeless@mozdev.org ff28064073 Bug 615838 comparison between signed and unsigned integer expressions in nsMediaCache::FlushInternal. r=roc a=roc 2010-12-03 14:08:49 +13:00
Chris Pearce 4f96e20ff5 Bug 572579 - Correct file perms for media cache temp subdir and file. r=roc a=blocking2.0 2010-10-26 14:21:16 +13:00
Chris Pearce 0a91190210 Bug 572579 - Remove stray media cache files after 30s idle time on Windows. r=bsmedberg a=blocking2.0 2010-10-17 08:58:20 +13:00
Chris Pearce 81e227c513 Backed out changeset 22b6b7465458 2010-10-26 17:43:10 +13:00
Chris Pearce 8397897ffc Bug 572579 - Remove stray media cache files after 30s idle time on Windows. r=bsmedberg a=blocking2.0 2010-10-17 08:58:20 +13:00
Chris Pearce 44d36f4e88 Bug 572579 - Backed out changeset 34c006122b71 a=backout 2010-10-17 09:55:35 +13:00
Chris Pearce 616617b992 Bug 572579 - Remove stray media cache files after 30s idle time on Windows. r=bsmedberg a=blocking2.0 2010-10-17 08:58:20 +13:00
Ehsan Akhgari 60ab044952 Bug 572243 - Media cache should be cleared when leaving private browsing mode; r=bzbarsky a=blocking-betaN+ 2010-09-28 20:02:08 -04:00
Robert O'Callahan fdc6d11174 Bug 584238 - Add an API to clear the media cache; r=kinetik a=blocking-betaN+ 2010-10-13 10:14:08 -04:00
Matthew Gregan 63780960ec Bug 585864 - Increase media cache block size from 4kB to 32kB. r=roc a=roc 2010-08-13 12:41:47 +12:00
Robert O'Callahan 8f97f27917 Bug 567805. Call UpdatePlaybackRate whenever duration is set. r=doublec 2010-07-20 13:29:27 +12:00
Matthew Gregan d8b66c3580 Bug 572515 - Crash in [@ nsMediaCacheStream::~nsMediaCacheStream()] if nsMediaCache fails to init. r=roc 2010-06-17 21:46:28 +02:00
Matthew Gregan 83f5a5dbae Bug 572235 - Increase default media cache size from 50MB to 500MB. r=roc 2010-06-16 11:12:38 +12:00
Robert O'Callahan 904b1ef2fb Bug 529105. Don't mess with closed streams when data arrives for a resource that the closed stream is using. r=doublec 2009-11-18 13:38:16 +13:00
Robert O'Callahan 1c3cbe05c8 Bug 518659. When deciding whether a previous stream is going to load the data we need, we need to check against the data we'll be loading next, not the data we're currently loading. r=doublec 2009-11-18 13:38:16 +13:00
Robert O'Callahan 021d1f80aa Bug 521178. Don't open a connection when we're only trying to read at the end of the resource (even if the seek-vs-read optimization decides we should just read from the start of the resource). r=doublec 2009-10-10 00:48:30 +13:00
Robert O'Callahan b786c847ff 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 2a59a5ea72 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
Matthew Gregan 75b780ece6 Bug 523814 - Refresh entry pointer after hashtable mutation in NotifyBlockSwapped. r=roc
--HG--
extra : rebase_source : 38287a4c930df4e55a5cf5fa334d48b26f7105fa
2009-10-23 15:18:54 +13:00
Robert O'Callahan 1689490893 Bug 522114. Fix stupid bug so we don't treat 0 pin count as pinned. r=doublec 2009-10-15 15:20:49 +13:00