log stream/cache2.c @ 32958:80087dd00035

age author description
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:
Wed, 30 Jul 2008 13:44:59 +0000 diego Rename two GUI-related preprocessor directives:
Sun, 01 Jun 2008 18:14:56 +0000 reimar 100l, fix wrong order of cases in cache_do_control
Fri, 30 May 2008 15:20:42 +0000 reimar Handle NULL control function in cache_execute_control, fixes crash with http urls.
Mon, 26 May 2008 18:46:13 +0000 reimar Emulate STREAM_CTRL_GET_TIME_LENGTH if cache is used.
Sat, 24 May 2008 07:48:35 +0000 reimar Add basic support for stream controls with cache enabled.
Wed, 09 Apr 2008 00:36:28 +0000 albeu Remove the need for code using stream to export an mp_input_check_interrupt()
Thu, 28 Feb 2008 16:35:47 +0000 diego cache support for OS/2
Thu, 20 Dec 2007 11:36:53 +0000 ulion Fix stream_cache to use sector_size set in stream_t.