content/media/nsMediaCache.cpp
cad26d2fb5af799dfe030fd2a8948d617eac2f52
created 2011-10-05 18:37 -0700
pushed 2012-09-11 17:34 +0000
David Anderson David Anderson - Backout merge.
2a61f9104d6324fd3b89b8ea53d5453bfd63f88b
created 2011-10-05 17:49 -0700
pushed 2012-09-11 17:34 +0000
David Anderson David Anderson - Merge from mozilla-central.
a16372ce30b5f6b747246b01fcd215a4bf3b6342
created 2012-08-22 11:56 -0400
pushed 2012-08-22 16:03 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
b5c4b792f3f2a047e3517472d72842a76afb77cd
created 2012-07-30 17:20 +0300
pushed 2012-07-30 14:21 +0000
Aryeh Gregor Aryeh Gregor - Bug 777292 part 2 - Change all nsnull to nullptr
6ea80e3155b6f86a7867580776415d3d0e41e420
created 2012-06-18 22:30 -0400
pushed 2012-06-20 08:54 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (content parts); r=bzbarsky
a15d75939cd5d820507656f64edae9a18e10918e
created 2012-06-06 14:08 +1200
pushed 2012-06-06 02:10 +0000
Geoff Lankow Geoff Lankow - Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
f4157e8c410708d76703f19e4dfb61859bfe32d8
created 2012-05-21 12:12 +0100
pushed 2012-05-21 11:54 +0000
Gervase Markham Gervase Markham - Bug 716478 - update licence to MPL 2.
5f6acbc53709de1b86fb2cd7b27a4755efcf54c8
created 2012-04-30 15:12 +1200
pushed 2012-04-30 14:58 +0000
Robert O'Callahan Robert O'Callahan - Bug 664918. Part 8: Add mozCaptureStream()/mozCaptureStreamUntilEnded() APIs to HTML media elements, returning a MediaStream representing the contents of the media element. r=cpearce,jesup
796ffed4b92c95167072fdd1fb0a733942fe56f3
created 2012-04-30 15:11 +1200
pushed 2012-04-30 14:58 +0000
Robert O'Callahan Robert O'Callahan - Bug 664918. Part 0: Refactor nsMediaCache's handling of principals into a helper method in nsContentUtils. r=bzbarsky
0e1a36682e9ef4254291d4713b836fbe1ae02b1b
created 2012-04-16 23:16 -0400
pushed 2012-04-25 00:54 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 722981 - Flush the media cache when the last private browsing window is closed; r=roc
0dde67a8f4ea8f02a29e39892a9c677e476e4f50
created 2012-04-02 10:34 +1200
pushed 2012-04-02 17:52 +0000
Chris Pearce Chris Pearce - Bug 741052 - Null check nsMediaCache::mFileCache in nsMediaCache destructor. r=roc
b604d4e1916d87373f06b4209d7f0cb672c4fa17
created 2012-03-28 13:04 +1300
pushed 2012-03-29 15:38 +0000
Chris Pearce Chris Pearce - Bug 736342 - Defer media cache writes and block moves to a non-main thread. r=roc
b0e3b2c66abedc4525f5984b10a70d3aa4a72c6e
created 2012-03-20 20:55 +1300
pushed 2012-03-20 16:08 +0000
Robert O'Callahan Robert O'Callahan - Bug 712836. Make MediaResources which have ended abnormally ineligible for cloning. r=cpearce
50527c658f6016d97c2a68355609757b665bedfc
created 2012-03-05 14:40 -0600
pushed 2012-03-07 09:33 +0000
Adam Dane Adam Dane - Bug 612246 - Store the media cache in the profile directory for single process Gecko and the system temp directory for multi-process. r=cpearce
eb9b3853f6c1bb3ca69499ed100ae4514dd05de9
created 2012-03-01 12:52 +1300
pushed 2012-03-01 13:28 +0000
Matthew Gregan Matthew Gregan - 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
9b7d19dbb281aa8d6ebde4ee0e7ee1af2b8adbf0
created 2012-02-28 17:38 +1300
pushed 2012-02-29 18:48 +0000
Matthew Gregan Matthew Gregan - Bug 730425 - Performa an additional range check in stream read. r=roc
eff64129a6f2e81b94f9806ab97d008f838c0000
created 2012-02-15 17:35 +1300
pushed 2012-02-15 16:38 +0000
Robert O'Callahan Robert O'Callahan - 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
55e953f4050b2070babe694df52a66ade01f3893
created 2011-12-18 01:00 -0500
pushed 2011-12-19 11:48 +0000
Jeff Walden Jeff Walden - Bug 711799 - Fix a bunch of unused-variable warnings. r=dholbert
b4a7eba05092ed359961ee721734f4b51650b6b3
created 2011-12-15 23:26 +1300
pushed 2011-12-15 18:25 +0000
Robert O'Callahan Robert O'Callahan - Bug 687972. Ignore closed streams when computing whether all streams for the resource are suspended. r=cpearce
947f145ec0e7aaebe94149404e20f1f41cd8f3fb
created 2011-12-09 17:48 +1300
pushed 2011-12-11 04:01 +0000
Robert O'Callahan Robert O'Callahan - Bug 687972. More logging.
ffa6204d08892eeb0e84725ba7b520bffd3b9af1
created 2011-12-02 17:43 +1300
pushed 2011-12-02 11:12 +0000
Robert O'Callahan Robert O'Callahan - 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
4679da64ba71aae08b6578c075d3452b0eddfa43
created 2011-12-01 12:09 +1300
pushed 2011-12-01 11:17 +0000
Robert O'Callahan Robert O'Callahan - 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
6f2038883189f658ca286b9f6c9d602a4c2b74e4
created 2011-11-30 18:05 +1300
pushed 2011-12-01 11:17 +0000
Robert O'Callahan Robert O'Callahan - 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
3ea9c865650099135c5af99107c5994bf48eae94
created 2011-11-24 12:05 +1300
pushed 2011-11-24 15:52 +0000
Robert O'Callahan Robert O'Callahan - Bug 703379. Fire CacheClientNotifyDataEnded when we clone a decoder which has already reached the end of the download. r=doublec
0e96c5b621152d9c0f1f662ffc42f01e0bdeeb77
created 2011-11-24 12:01 +1300
pushed 2011-11-24 15:52 +0000
Robert O'Callahan Robert O'Callahan - 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
079071eed1d16582ef9fea3ef13077107b501b64
created 2011-09-30 12:34 +1300
pushed 2011-09-30 14:13 +0000
Matthew Gregan Matthew Gregan - Bug 690603 - Remove PR_TRUE/PR_FALSE from media code. r=doublec
e7854b4d29ba905ae3994f821b160c989bac4260
created 2011-09-28 23:19 -0700
pushed 2011-09-29 08:20 +0000
Michael Wu Michael Wu - Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
fc776fa4afb78d940418997eab4a958c6a5a4d48
created 2011-06-25 16:06 +0200
pushed 2011-06-27 09:03 +0000
Ed Morley Ed Morley - Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted
e3f863f8bf4afab968896fb1a835097779f124a7
created 2011-06-02 14:56 +0200
pushed 2011-06-02 13:07 +0000
Dominic Fandrey Dominic Fandrey - Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
836aa96583413dcf034bd536232241d9e70f45e8
created 2011-05-25 15:32 +0900
pushed 2011-05-25 06:37 +0000
Masayuki Nakano Masayuki Nakano - Bug 659536 part.2 Replace nsContentUtils::GetIntPref() with Preferences::GetInt() or Preferences::GetUint() r=roc
0912e048403117c91f5be660c54a810aa7232835
created 2011-04-29 14:21 -0500
pushed 2011-04-29 19:22 +0000
Chris Jones Chris Jones - Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
f548e43998be6a1bfb24245b8dc03c559150c0d3
created 2011-04-14 10:12 +1200
pushed 2011-04-13 23:10 +0000
Chris Pearce Chris Pearce - Bug 641718 - Convert to using microseconds for internal video timestamps. r=kinetik
1a89509e25e4256577f2fb729a8b922be533a9fb
created 2011-03-31 23:29 -0500
pushed 2011-04-01 04:29 +0000
Chris Jones Chris Jones - Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
c1553501c4966df32d22dcd117532d62bdfe9731
created 2011-04-01 13:02 +1300
pushed 2011-04-01 00:21 +0000
Chris Pearce Chris Pearce - Bug 641718 - Backout 44d43f095a4f. r=backout
9d3277cdd833297b2fb7833b9bae39b81f6af366
created 2011-03-31 18:58 -0500
pushed 2011-03-31 23:58 +0000
Chris Jones Chris Jones - Merge backout
e03c3a6df3cb8adc9d2f2c82c319c7127a8f6ace
created 2011-03-31 18:57 -0500
pushed 2011-03-31 23:58 +0000
Chris Jones Chris Jones - Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052
44d43f095a4f34ae8c4cb85bdb29baf9f6c9717d
created 2011-04-01 11:10 +1300
pushed 2011-03-31 22:30 +0000
Chris Pearce Chris Pearce - Bug 641718 - Convert to using microseconds for internal video timestamps. r=kinetik
4beec31b9ea9ca3006ba1ed3daa46c7daca4200a
created 2011-03-31 14:51 -0500
pushed 2011-03-31 19:51 +0000
Chris Jones Chris Jones - Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
40bc6bd8ceb2ec402a745db54844eacf04ca13f1
created 2011-03-24 11:28 +1300
pushed 2011-03-23 22:39 +0000
Chris Pearce Chris Pearce - Bug 639391 - Make nsMediaStream responsible for determining cached media data in a threadsafe manner. r=roc
1c61363cc39ff56bc72b7f59286291ea7b1d45ee
created 2011-02-17 08:41 -0800
pushed 2011-02-17 16:41 +0000
Doug Turner Doug Turner - Bug 631058 - Backing out changesets 0d43e33ce134 and 60d7b8a4c275. r=wes, a=backout-scary-stuff
0d43e33ce1343e713bf7d1ddd31b6a1707bf4667
created 2011-02-15 20:31 -0800
pushed 2011-02-16 04:33 +0000
Wes Johnston Wes Johnston - 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
c0ad0b165d84cde7e4616eda263ca09e257a2a14
created 2011-02-15 20:31 -0800
pushed 2011-02-16 04:33 +0000
Doug Turner Doug Turner - Backed out changeset 0000b936e5c6
0000b936e5c67d1fa428c263633bcb27325a195b
created 2011-02-15 16:54 -0800
pushed 2011-02-16 04:18 +0000
Wes Johnston Wes Johnston - Bug 631058 - Part 2 -Only decode Only decode metadata for preload=metadata. r=cpearce, a=blocking-fennec
95af6190017f0f997409fc07aae5c69d06d92086
created 2010-12-03 14:08 +1300
pushed 2010-12-03 01:21 +0000
timeless timeless - Bug 615838 comparison between signed and unsigned integer expressions in nsMediaCache::FlushInternal. r=roc a=roc
8f0a6a230d480fb0d2f10383e097f98aaaa5fb36
created 2010-10-26 14:21 +1300
pushed 2010-11-08 07:01 +0000
Chris Pearce Chris Pearce - Bug 572579 - Correct file perms for media cache temp subdir and file. r=roc a=blocking2.0
a20460fb08ddf33ff4b2bc971c3965270358e1b8
created 2010-10-17 08:58 +1300
pushed 2010-11-08 07:01 +0000
Chris Pearce Chris Pearce - Bug 572579 - Remove stray media cache files after 30s idle time on Windows. r=bsmedberg a=blocking2.0
c9074c25fd5a86f02cb671fb68ec24692feeb419
created 2010-10-26 17:44 +1300
pushed 2010-10-26 04:45 +0000
Chris Pearce Chris Pearce - Bug 572579 - Commit backout/merge a=backout.
dbb756a35d6fec37e03d0f27cd2fe0c56155f086
created 2010-10-26 17:43 +1300
pushed 2010-10-26 04:45 +0000
Chris Pearce Chris Pearce - Backed out changeset 22b6b7465458
70f12cfa19d9735af64be7bebec582b64ccd5f73
created 2010-10-26 17:42 +1300
pushed 2010-10-26 04:45 +0000
Chris Pearce Chris Pearce - Backed out changeset 191cad517e7c
191cad517e7ccd912f618b68745b067eb7f93d92
created 2010-10-26 14:21 +1300
pushed 2010-10-26 01:30 +0000
Chris Pearce Chris Pearce - Bug 572579 - Correct file perms for media cache temp subdir and file. r=roc a=blocking2.0
22b6b74654580706059aa1b4fd2481c472ffce53
created 2010-10-17 08:58 +1300
pushed 2010-10-26 01:30 +0000
Chris Pearce Chris Pearce - Bug 572579 - Remove stray media cache files after 30s idle time on Windows. r=bsmedberg a=blocking2.0
f99a1506d50a7f4859abe7f35683146ebb3a67c2
created 2010-10-17 09:55 +1300
pushed 2010-10-16 21:06 +0000
Chris Pearce Chris Pearce - Bug 572579 - Backed out changeset 34c006122b71 a=backout
34c006122b7117204a1c6bbd2a600f366b675e51
created 2010-10-17 08:58 +1300
pushed 2010-10-16 20:02 +0000
Chris Pearce Chris Pearce - Bug 572579 - Remove stray media cache files after 30s idle time on Windows. r=bsmedberg a=blocking2.0
a01b645e00374e89b1f6f3f68276c918b5e3af00
created 2010-09-28 20:02 -0400
pushed 2010-10-13 14:34 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 572243 - Media cache should be cleared when leaving private browsing mode; r=bzbarsky a=blocking-betaN+
a4ac5ee6d3d155a45913c7bd9cd3fa038125bf8f
created 2010-10-13 10:14 -0400
pushed 2010-10-13 14:34 +0000
Robert O'Callahan Robert O'Callahan - Bug 584238 - Add an API to clear the media cache; r=kinetik a=blocking-betaN+
edbc3ebfd63c5ffaafbd5f39099d8ce54451ec7f
created 2010-08-13 12:41 +1200
pushed 2010-08-13 03:42 +0000
Matthew Gregan Matthew Gregan - Bug 585864 - Increase media cache block size from 4kB to 32kB. r=roc a=roc
e176352bdcd0262f08ac4923bdfe471a1d6e865d
created 2010-07-20 13:29 +1200
pushed 2010-07-20 01:29 +0000
Robert O'Callahan Robert O'Callahan - Bug 567805. Call UpdatePlaybackRate whenever duration is set. r=doublec
690bfc577872ad1ea9268c75de3948110853a85d
created 2010-06-17 21:46 +0200
pushed 2010-06-17 19:48 +0000
Matthew Gregan Matthew Gregan - Bug 572515 - Crash in [@ nsMediaCacheStream::~nsMediaCacheStream()] if nsMediaCache fails to init. r=roc
5c557d4dd0c738f2f1e7933f12355eced0db78a1
created 2010-06-16 11:12 +1200
pushed 2010-06-16 22:32 +0000
Matthew Gregan Matthew Gregan - Bug 572235 - Increase default media cache size from 50MB to 500MB. r=roc
8456ce23a1ece2718110ef0de4dbb48088fe515b
created 2009-11-18 13:38 +1300
pushed 2009-11-18 00:40 +0000
Robert O'Callahan Robert O'Callahan - Bug 529105. Don't mess with closed streams when data arrives for a resource that the closed stream is using. r=doublec
less more (0) -60 tip