log stream/cache2.c @ 35429:3a9048421524

age author description
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
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