summaryrefslogtreecommitdiffstats
path: root/stream/cache2.c
Commit message (Expand)AuthorAgeFilesLines
* build: remove OS/2 supportUoti Urpala2012-04-061-7/+1
* cleanup: Silence compilation warnings on MinGW-w64wm42012-03-011-0/+2
* cache: don't modify argument when stream control failsreimar2011-07-061-2/+3
* cache: allow STREAM_CTRL_GET_CURRENT_TIME with cachereimar2011-07-061-3/+12
* cosmetics: cache2.c: Fix commentreimar2011-07-061-2/+2
* cache2.c: Avoid warnings about discarding volatilereimar2011-06-291-4/+10
* cache: call stream read with at least sector size spacereimar2011-05-011-2/+18
* terminal output: show cache fill changes in "PAUSED" messagereimar2011-02-151-3/+8
* cache: suggest increasing cache size in the "not filling!" messagereimar2011-01-311-1/+1
* cache: read up to 64 KiB at once from stream_filereimar2010-11-141-1/+5
* cache, stream: avoid extra memcpy when using cachereimar2010-11-071-2/+2
* cosmetics: cache2.c: Remove some irrelevant commented-out codereimar2010-11-071-8/+1
* Add a simple capture feature (-capture)Uoti Urpala2010-11-021-0/+2
* cache: Remove unused cache_stats functiondiego2010-11-021-10/+0
* cache: add sanity-check for sector sizereimar2010-11-021-1/+7
* cache: Don't mess up current position if time-based seek failsreimar2010-11-021-1/+2
* cache: Use sigaction() instead of signal()reimar2010-11-021-3/+6
* cache: Respect -cache-seek-min also for on-disk filesreimar2010-11-021-3/+5
* Merge svn changes up to r31256Uoti Urpala2010-05-301-4/+31
|\
| * Fix typo in message.reimar2010-05-281-1/+1
| * 100l, stream_check_for_interrupt argument is not in usec,reimar2010-05-281-3/+3
| * Improve handling of cache process/thread hanging/being killed.reimar2010-05-281-3/+23
| * Fix cache process accidentally being killed by SIGUSR1.reimar2010-05-281-0/+7
* | Merge svn changes up to r31244Uoti Urpala2010-05-301-6/+6
|\|
| * Fix a bunch of typos in the stream cache code.diego2010-05-271-6/+6
* | Merge svn changes up to r31226Uoti Urpala2010-05-301-3/+11
|\|
| * Retry reading even if we hit eof before.reimar2010-05-261-2/+2
| * Re-enable wakeup-on-signal for cache process.reimar2010-05-261-5/+10
| * Disable waking the cache process up via a signal, itreimar2010-05-261-1/+4
* | Merge svn changes up to r31211Uoti Urpala2010-05-301-45/+78
|\|
| * Slightly reduce number of #ifsreimar2010-05-231-22/+20
| * Use an extra define to simplify ifdefsreimar2010-05-231-14/+20
| * Try reducing the #ifdef mess for the different cache variants.reimar2010-05-231-15/+13
| * Extract the cache main loop into a separate function.reimar2010-05-231-14/+19
| * Optimize cache behaviour for the many-consecutive-seeks case.reimar2010-05-231-1/+13
| * Add code to wake up cache process when e.g. a seek is needed.reimar2010-05-231-0/+14
* | cosmetics: "struct vf_instance* vf" -> "struct vf_instance *vf"Uoti Urpala2010-05-291-3/+6
* | Delete things related to old translation systemUoti Urpala2010-03-101-1/+0
* | Merge svn changes up to r30798Uoti Urpala2010-03-101-11/+9
|\|
| * Threaded cache fixes: do not free the stream_t struct twice on windowsreimar2010-02-271-8/+6
| * Restructure #ifs to be clearer, also ensures that we return from the threadreimar2010-02-271-3/+3
| * Remove declarations of functions now already declared in stream.hreimar2010-02-251-3/+0
| * stream: Mark functions not used outside of their files as static.diego2010-02-161-3/+6
* | Merge svn changes up to r30475Uoti Urpala2010-03-091-0/+18
|\|
| * Add license header to all files missing it in the stream subdirectory.diego2010-01-301-0/+18
* | Restore collapsed whitespace in output messagesUoti Urpala2010-03-071-1/+1
* | Merge svn changes up to r30419Uoti Urpala2010-01-251-7/+32
|\|
| * Always call cache_uninit to immediately free everything cache-related if wereimar2010-01-231-3/+10
| * Change code to allow playing a stream even if enabling the cache failedreimar2010-01-231-2/+5
| * Make cache_init static, it is not used outside this filereimar2010-01-231-1/+1
| * Add an exit() to silence a gcc warning and ensure forked code will neverreimar2010-01-231-0/+2
| * 100l, shouldn't write to memory after freeing it.reimar2010-01-231-1/+2
| * Reindent.reimar2010-01-231-3/+3
| * Zero freed pointers.reimar2010-01-231-0/+3
| * Check for fork failing and make sure cache_uninit always frees the cache datareimar2010-01-231-1/+10
* | Merge svn changes up to r29962Uoti Urpala2009-11-231-2/+1
|\|
| * Deobfuscate the special hack to disable cache for live555.reimar2009-11-171-2/+1
| * whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-23/+23
* | Remove the internal GUIAnton Khirnov2009-07-071-4/+0
* | Remove trailing whitespace from most filesUoti Urpala2009-07-071-23/+23
* | Translation system changes part 2: replace macros by stringsAmar Takhar2009-07-071-1/+1
* | Translation system changes part 1: wrap translated stringsAmar Takhar2009-07-071-1/+1
* | Merge svn changes up to r28065Uoti Urpala2008-12-021-4/+0
|\|
| * Move PTHREAD_CACHE define logic to configure.reimar2008-11-281-4/+0
* | Merge svn changes up to r27949Uoti Urpala2008-11-171-12/+32
|\|
| * 100l, stream->cache_pid can not be used directly in pthread_create,reimar2008-11-151-1/+5
| * Use pthreads for the cache on Cygwin, since _beginthread is not availablereimar2008-11-151-11/+27
| * Include cache2.h in cache2.c, fixes an implicit declaration warning for cache...reimar2008-11-141-0/+1
* | Merge svn changes up to 27824Uoti Urpala2008-10-251-31/+28
|\|
| * Avoid CreateThread and especially TerminateThread since they cause a memleak.reimar2008-10-191-21/+18
| * Remove useless casts.reimar2008-10-191-2/+2
| * Revert declaring ThreadProc as void, it breaks the WINAPI.diego2008-10-161-2/+6
| * Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__.diego2008-10-131-10/+10
| * Declare ThreadProc as void, it does not return anything, fixes the warning:diego2008-10-131-6/+2
| * Unconditionally #include osdep/shem.h, fixes the warnings on Cygwin:diego2008-10-131-1/+1
* | Include corresponding .h in some .c filesUoti Urpala2008-08-121-0/+1
* | stream.h: Add 2 prototypes instead of declaring them in cache2.cUoti Urpala2008-08-121-3/+0
* | Merge svn changes up to r27399Uoti Urpala2008-08-021-1/+1
|\|
| * Rename two GUI-related preprocessor directives:diego2008-07-301-1/+1
* | Merge svn changes up to r26979Uoti Urpala2008-06-041-0/+98
|\|
| * 100l, fix wrong order of cases in cache_do_controlreimar2008-06-011-3/+3
| * Handle NULL control function in cache_execute_control, fixes crash with http ...reimar2008-05-301-0/+7
| * Emulate STREAM_CTRL_GET_TIME_LENGTH if cache is used.reimar2008-05-261-2/+13
| * Add basic support for stream controls with cache enabled.reimar2008-05-241-0/+80
* | Mark some functions staticUoti Urpala2008-04-231-4/+4
|/
* Remove the need for code using stream to export an mp_input_check_interrupt()albeu2008-04-091-2/+1
* cache support for OS/2diego2008-02-281-17/+34
* Fix stream_cache to use sector_size set in stream_t.ulion2007-12-201-1/+1
* Make sure forked code does not try to display a GTK message box (and thus cra...reimar2007-10-071-0/+4
* Fix a few gcc warnings, approved by Diego and Reimar.rathann2007-02-051-2/+1
* introduce new 'stream' directory for all stream layer related components and ...ben2006-07-311-0/+367