log stream/cache2.c @ 31146:78d11e186bfc

age author description
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.
Sun, 07 Oct 2007 08:41:31 +0000 reimar Make sure forked code does not try to display a GTK message box (and thus crashes)
Mon, 05 Feb 2007 23:46:08 +0000 rathann Fix a few gcc warnings, approved by Diego and Reimar.
Mon, 31 Jul 2006 17:39:17 +0000 ben introduce new 'stream' directory for all stream layer related components and split them from libmpdemux base libmpdemux/cache2.c@e6c1105a7464