log stream/cache2.c @ 36421:0d7459fc4354

age author description
Mon, 21 Jan 2013 18:21:51 +0000 diego Add a number of missing libavutil header #includes.
Tue, 06 Nov 2012 17:31:23 +0000 reimar Change STREAM_CTRL_GET_SIZE argument type from off_t to
Sun, 21 Oct 2012 14:56:50 +0000 ib Add new stream control command STREAM_CTRL_GET_CURRENT_TITLE for DVDs.
Sun, 21 Oct 2012 11:14:13 +0000 ib Allow STREAM_CTRL_GET_NUM_TITLES with cache enabled.
Sun, 26 Aug 2012 15:12:34 +0000 reimar Avoid sleeping 0 ms, this can cause sleep to be not called at all.
Sat, 18 Aug 2012 19:51:58 +0000 reimar Update endpos each time libavformat asks for it.
Sun, 04 Mar 2012 15:11:50 +0000 reimar Remove casts that are no longer necessary.
Sun, 04 Mar 2012 14:49:29 +0000 reimar Replace off_t by int64_t in cache code.
Sun, 04 Mar 2012 14:47:37 +0000 reimar Allow using a cache size of up to 4 TB.
Sun, 04 Mar 2012 14:37:31 +0000 reimar Remove variable that is only assigned but never used.
Sun, 19 Feb 2012 13:15:41 +0000 reimar Code cleanup: Use a stream_control instead of global functions to
Sun, 15 Jan 2012 12:38:38 +0000 reimar Print an error when streams behave in a way that the cache cannot handle.
Sun, 15 Jan 2012 12:23:40 +0000 reimar Fix seeking with e.g. flv files.
Fri, 23 Dec 2011 21:50:32 +0000 reimar Flush cache and sync stream position/eof after seeking STREAM_CTRLs.
Thu, 01 Dec 2011 19:10:15 +0000 reimar Make cache process detect when the main process disappeared and
Tue, 09 Aug 2011 18:53:43 +0000 reimar Another attempt to make message easier to understand.
Tue, 09 Aug 2011 17:36:49 +0000 reimar Mark two warnings that usually only indicate a performance issue as such.
Mon, 25 Jul 2011 23:16:28 +0000 diego cache2: merge struct declaration and member assignment
Sun, 24 Jul 2011 23:51:51 +0000 diego cache2: add missing braces to silence compiler warning
Sun, 03 Jul 2011 09:46:18 +0000 reimar Remove condition that is now always true.
Sun, 03 Jul 2011 09:45:29 +0000 reimar Do not assign anything when a stream control returns an error.
Wed, 22 Jun 2011 13:48:25 +0000 diego cache2: Surround conditionally used functions by appropriate #ifdefs.
Sun, 12 Jun 2011 11:26:22 +0000 reimar Change code to allow STREAM_CTRL_GET_CURRENT_TIME with cache enabled.
Sun, 12 Jun 2011 10:41:49 +0000 reimar Fix comment and placement of out-commented code.
Sun, 08 May 2011 18:44:43 +0000 reimar 100l, fix seek cache controls with cache enabled,
Sat, 07 May 2011 21:28:56 +0000 reimar Avoid warnings about discarding volatile.
Sat, 26 Mar 2011 20:04:47 +0000 reimar Ensure we always pass a buffer of at least sector size to the read function.
Wed, 26 Jan 2011 21:48:15 +0000 reimar Convert cache_fill_status into a function so we always get the latest state,
Tue, 25 Jan 2011 20:12:42 +0000 reimar Change "cache not filling" warning to include a hint to increase the cache size.
Wed, 10 Nov 2010 17:21:28 +0000 reimar Make the file protocol read up to 64 kB at once when the cache is used,
Wed, 27 Oct 2010 19:04:04 +0000 reimar Add internal read and seek function to avoid a useless memcpy when using
Wed, 27 Oct 2010 17:52:45 +0000 reimar Remove som irrelevant commented-out code.
Thu, 21 Oct 2010 18:19:30 +0000 diego Implement a basic capture feature, available through -capture.
Thu, 09 Sep 2010 16:57:05 +0000 diego Remove unused cache_stats function.
Thu, 26 Aug 2010 21:06:24 +0000 cehoyos Fix compilation with gcc 2.95.3 with some help by Reimar.
Tue, 03 Aug 2010 16:01:40 +0000 reimar Add sanity-check for sector size to avoid strange crashes if it is
Tue, 03 Aug 2010 05:18:28 +0000 reimar Avoid STREAM_CTRL_SEEK_TO_TIME messing up the current position for stream
Thu, 15 Jul 2010 18:09:14 +0000 reimar Use sigaction() instead of signal(), the latter has a unavoidable
Sun, 13 Jun 2010 11:17:26 +0000 reimar Remove mp_msg related GUI hacks.
Sat, 12 Jun 2010 07:05:22 +0000 reimar Respect -cache-seek-min also for on-disk files to reduce issues with mov.
Fri, 28 May 2010 20:59:53 +0000 reimar Fix typo in message.
Fri, 28 May 2010 18:47:03 +0000 reimar 100l, stream_check_for_interrupt argument is not in usec,
Fri, 28 May 2010 17:26:31 +0000 reimar Improve handling of cache process/thread hanging/being killed.
Fri, 28 May 2010 16:57:16 +0000 reimar Fix cache process accidentally being killed by SIGUSR1.
Thu, 27 May 2010 22:18:10 +0000 diego Fix a bunch of typos in the stream cache code.
Wed, 26 May 2010 18:23:43 +0000 reimar Retry reading even if we hit eof before.
Wed, 26 May 2010 17:56:11 +0000 reimar Re-enable wakeup-on-signal for cache process.
Wed, 26 May 2010 17:27:38 +0000 reimar Disable waking the cache process up via a signal, it
Sun, 23 May 2010 22:26:10 +0000 reimar Slightly reduce number of #ifs
Sun, 23 May 2010 22:09:40 +0000 reimar Use an extra define to simplify ifdefs
Sun, 23 May 2010 22:04:01 +0000 reimar Try reducing the #ifdef mess for the different cache variants.
Sun, 23 May 2010 21:58:50 +0000 reimar Extract the cache main loop into a separate function.
Sun, 23 May 2010 21:53:48 +0000 reimar Optimize cache behaviour for the many-consecutive-seeks case.
Sun, 23 May 2010 19:49:28 +0000 reimar Add code to wake up cache process when e.g. a seek is needed.
Sat, 27 Feb 2010 21:02:44 +0000 reimar Threaded cache fixes: do not free the stream_t struct twice on windows
Sat, 27 Feb 2010 06:17:14 +0000 reimar Restructure #ifs to be clearer, also ensures that we return from the thread
Thu, 25 Feb 2010 22:19:32 +0000 reimar Remove declarations of functions now already declared in stream.h
Tue, 16 Feb 2010 16:32:38 +0000 diego stream: Mark functions not used outside of their files as static.
Sat, 30 Jan 2010 22:26:47 +0000 diego Add license header to all files missing it in the stream subdirectory.
Sat, 23 Jan 2010 12:27:13 +0000 reimar Always call cache_uninit to immediately free everything cache-related if we