log stream/cache2.c @ 33794:141c2ca733e7

age author description
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
Sat, 23 Jan 2010 12:13:28 +0000 reimar Change code to allow playing a stream even if enabling the cache failed
Sat, 23 Jan 2010 11:51:13 +0000 reimar Make cache_init static, it is not used outside this file
Sat, 23 Jan 2010 11:03:10 +0000 reimar Add an exit() to silence a gcc warning and ensure forked code will never
Sat, 23 Jan 2010 11:00:13 +0000 reimar 100l, shouldn't write to memory after freeing it.
Sat, 23 Jan 2010 10:54:03 +0000 reimar Reindent.
Sat, 23 Jan 2010 10:53:28 +0000 reimar Zero freed pointers.
Sat, 23 Jan 2010 10:50:50 +0000 reimar Check for fork failing and make sure cache_uninit always frees the cache data
Tue, 17 Nov 2009 19:23:55 +0000 reimar Deobfuscate the special hack to disable cache for live555.
Wed, 13 May 2009 02:58:57 +0000 diego whitespace cosmetics: Remove all trailing whitespace.
Fri, 28 Nov 2008 17:04:36 +0000 reimar Move PTHREAD_CACHE define logic to configure.
Sat, 15 Nov 2008 19:43:39 +0000 reimar 100l, stream->cache_pid can not be used directly in pthread_create,
Sat, 15 Nov 2008 19:08:50 +0000 reimar Use pthreads for the cache on Cygwin, since _beginthread is not available
Fri, 14 Nov 2008 19:29:04 +0000 reimar Include cache2.h in cache2.c, fixes an implicit declaration warning for cache_do_control
Sun, 19 Oct 2008 18:05:45 +0000 reimar Avoid CreateThread and especially TerminateThread since they cause a memleak.
Sun, 19 Oct 2008 17:28:23 +0000 reimar Remove useless casts.
Thu, 16 Oct 2008 19:24:21 +0000 diego Revert declaring ThreadProc as void, it breaks the WINAPI.
Mon, 13 Oct 2008 16:23:55 +0000 diego Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__.
Mon, 13 Oct 2008 15:51:29 +0000 diego Declare ThreadProc as void, it does not return anything, fixes the warning:
Mon, 13 Oct 2008 15:13:40 +0000 diego Unconditionally #include osdep/shem.h, fixes the warnings on Cygwin: