Commit Graph

32 Commits

Author SHA1 Message Date
Klaus Schmidinger 367557039a The function cRingBufferLinear::Clear() can now be called safely from the reading thread, without additional locking 2017-03-19 13:11:39 +01:00
Klaus Schmidinger be4cdcf170 Improved handling frame numbers to have a smoother progress display during replay of recordings with B-frames 2016-12-22 11:33:12 +01:00
Klaus Schmidinger 72c03260d7 The new class cIoThrottle is used to allow I/O intense threads to temporarily suspend their activities in case buffers run full 2012-09-22 11:52:33 +02:00
Klaus Schmidinger 8423b5ea4c Decreased the ring buffer put/get trigger sizes from 1/3 to 1/10 2012-09-17 08:48:20 +02:00
Klaus Schmidinger 8ffbea3788 Fixed generating the index for recordings from channels that put a whole GOP into one payload unit; regenerating index file 2009-11-22 11:30:27 +01:00
Klaus Schmidinger d41461ad40 Added a note about the meaning of PERCENTAGEDELTA in cRingBuffer::UpdatePercentage() 2009-05-17 10:07:17 +02:00
Klaus Schmidinger e7ea3b3c70 Replaced cBackTrace with cPtsIndex 2009-03-13 14:45:12 +01:00
Klaus Schmidinger e47d73715b Fixed handling small PES packets that caused subtitles to be displayed late in live mode 2007-11-17 13:59:08 +01:00
Klaus Schmidinger 182224b65f Added a missing variable initialization in cRingBufferLinear::cRingBufferLinear() 2006-06-16 09:33:30 +02:00
Klaus Schmidinger c65133979f Changed all "illegal" to "invalid" in error messages 2005-12-30 15:43:21 +01:00
Klaus Schmidinger 72759ed131 Now using the gettid() syscall to get a thread's pid, so that we get a useful value on NPTL systems 2005-12-11 12:10:28 +01:00
Klaus Schmidinger 6415cc900d Improved buffer handling 2004-10-16 09:36:28 +02:00
Klaus Schmidinger a20f952f70 Fixed cRingBufferLinear::Get() in case the buffer wraps around 2004-06-19 12:33:03 +02:00
Klaus Schmidinger 9c1f56ec71 Avoiding too many consecutive "ring buffer overflow" messages 2004-03-07 14:41:45 +01:00
Klaus Schmidinger 15816ee8e4 Changed thread handling to make it work with NPTL 2003-10-18 11:14:33 +02:00
Klaus Schmidinger 1c1fdc5a3f Re-implemented the WaitForPut/WaitForGet stuff in cRingBuffer, since some plugins actually need this 2003-05-12 17:46:34 +02:00
Klaus Schmidinger e3e21837d0 Removed the WaitForPut/WaitForGet stuff from cRingBuffer 2003-05-11 10:30:27 +02:00
Klaus Schmidinger 9c3ff6e8da Setting the 'broken link' flag for GOPs during replay when necessary 2003-04-27 09:55:53 +02:00
Klaus Schmidinger 05e2966b35 Fixed margin handling in cRingBufferLinear 2003-02-15 13:21:50 +01:00
Klaus Schmidinger 5693873b9b Fixed a new/delete malloc/free mismatch 2003-01-26 19:50:19 +01:00
Klaus Schmidinger 28d1affa31 Modified cRingBufferLinear to avoid excessive memmove() calls in 'Transfer Mode' and during recordings 2003-01-26 09:59:35 +01:00
Klaus Schmidinger cdcf28b051 Implemented non blocking file reader for cDvbPlayer 2003-01-19 15:43:58 +01:00
Klaus Schmidinger 6ac15dd3fc Added a missing #include 2002-07-28 12:48:44 +02:00
Klaus Schmidinger a4bfddd2f9 Totally rearranged device/player/recorder structures 2002-06-16 12:57:31 +02:00
Klaus Schmidinger 7da1dc6e1d Fixed some function headers to make them compile with gcc 3.x 2002-05-18 08:57:42 +02:00
Klaus Schmidinger d4893ad1fe Improved the [eid]syslog() macros 2002-05-13 16:35:49 +02:00
Klaus Schmidinger 8ec5c0d926 Improved thread locking in the ring buffer to avoid possible race conditions under heavy load 2002-04-19 12:40:04 +02:00
Klaus Schmidinger d78d555b27 Added PTS to the converted PCM audio when replaying a DVD 2001-11-03 11:05:15 +01:00
Klaus Schmidinger c2ed9b5daf New ringbuffer for frames 2001-08-05 12:23:24 +02:00
Klaus Schmidinger bff17fb1d0 Added support for replaying DVDs 2001-08-03 14:18:08 +02:00
Klaus Schmidinger c40e4eb96e Converted to the new API plus several small enhancements 2001-06-02 10:47:40 +02:00
Klaus Schmidinger 5c68fc100c Redesigned the ring buffer; prepared for remultiplexing 2001-03-31 08:42:27 +02:00