Commit Graph

45 Commits

Author SHA1 Message Date
Klaus Schmidinger e757f10e44 If TS packets are not accepted by the output device in Transfer Mode, this is now reported only once per minute in the log file 2017-12-07 15:05:48 +01:00
Klaus Schmidinger 50d268538e Added a missing 'const' to cReceiver::Receive(), to protect the given Data from being modified 2015-09-05 11:49:56 +02:00
Klaus Schmidinger d377c778a7 Increased the value of MAXRETRIES to 20 to reduce the probability of disturbances in transfer mode 2013-08-22 12:35:10 +02:00
Klaus Schmidinger df4e5a1072 Now calling DeviceClear() in cTransfer::Receive() if the output device blocks, instead of not retrying for 10 seconds 2013-03-01 10:02:01 +01:00
Klaus Schmidinger 1ba20fa20f Reduced the number of retries in cTransfer::Receive() to avoid blocking recordings in case the primary device can't handle the current live signal 2013-01-20 13:40:30 +01:00
Klaus Schmidinger 28bc34b245 Revised priority handling to allow receivers with a priority that is lower than that of live viewing 2012-03-02 10:19:00 +01:00
Klaus Schmidinger 0889960232 The PCR pid is now recorded for channels where this is different from the video PID 2010-01-30 11:10:25 +01:00
Klaus Schmidinger 15961bb34a Removed debug output of '-' from cTransfer::Receive() 2009-12-06 14:23:02 +01:00
Klaus Schmidinger 2b174b07bd Changed cPatPmtGenerator to make sure the PMT pid doesn't collide with any of the actual pids of the channel 2009-01-23 16:44:46 +01:00
Klaus Schmidinger 70ec0dfa1b Added a missing Detach() in cTransfer::Activate() 2009-01-16 15:16:08 +01:00
Klaus Schmidinger d9e56db9fc First step towards switching to TS (Transport Stream) as recording format 2008-08-15 14:49:34 +02:00
Klaus Schmidinger 87dd5139ff CAM handling refactored; multiple recordings with one CAM; automatic CAM selection 2007-01-07 14:46:14 +01:00
Klaus Schmidinger e34ddc507d Removed leftover 'needsBufferReserve' variable from cTransfer 2006-01-29 17:26:38 +01:00
Klaus Schmidinger 5e623525e9 Removed the "buffer reserve" in Transfer Mode - it's no longer necessary with recent driver/firmware versions 2006-01-28 14:25:06 +01:00
Klaus Schmidinger ac9f4bb48f Disabled the "buffer reserve" in Transfer Mode 2006-01-21 14:24:52 +01:00
Klaus Schmidinger af54ce4842 Changed cThread Active() vs. Running() 2005-08-14 11:24:57 +02:00
Klaus Schmidinger ccb0add798 Centralized 'thread active' handling 2005-08-13 13:17:24 +02:00
Klaus Schmidinger c6aa52c204 Increased POLLTIMEOUTS_BEFORE_DEVICECLEAR in transfer.c to 6 to avoid problems with the larger buffer reserve 2005-02-19 14:40:36 +01:00
Klaus Schmidinger 3b871f8bb6 Now using twice the buffer reserve in cTransfer if the primary DVB card is an unmodified version with only 2MB of SDRAM 2005-02-12 15:54:06 +01:00
Klaus Schmidinger 7e0ffb0499 Removed the "Cleared/PlayPes(NULL, 0)" handling from cTransfer::Action(); Making sure the buffer reserve in cTransfer::Action() is re-established after clearing the buffer 2005-02-12 13:52:35 +01:00
Klaus Schmidinger 039cdaecb5 Added PlayPes(NULL, 0) to cTransfer::Action() when clearing the transfer buffer 2005-01-23 14:29:35 +01:00
Klaus Schmidinger 7276c54baf Extended some buffer sizes to allow handling HDTV streams 2005-01-16 15:30:43 +01:00
Klaus Schmidinger c522225344 Recording and Transfer Mode now handle more than 2 audio PIDs 2005-01-16 14:40:47 +01:00
Klaus Schmidinger 7326f697b6 Changed a variable name 2005-01-07 15:44:32 +01:00
Klaus Schmidinger cb696731e6 Only waiting for data if there actually is a DPid 2005-01-06 16:23:11 +01:00
Klaus Schmidinger 0b3a801ab4 Implemented audio track menu 2005-01-02 15:11:44 +01:00
Klaus Schmidinger c77989ee70 Added support for AC3 replay over the DVB device 2004-12-17 14:55:49 +01:00
Klaus Schmidinger f0a7e75d8e Taking the complete size of available data into account when deciding whether to clear the transfer buffer to avoid overflows 2004-10-23 13:40:56 +02:00
Klaus Schmidinger 6415cc900d Improved buffer handling 2004-10-16 09:36:28 +02:00
Klaus Schmidinger 9c1f56ec71 Avoiding too many consecutive "ring buffer overflow" messages 2004-03-07 14:41:45 +01:00
Klaus Schmidinger e53e43d2b8 The cThread class now accepts a 'Description' parameter 2003-10-18 12:29:08 +02:00
Klaus Schmidinger ab622153ed Now clearing the player device if there are too many poll timeouts in 'Transfer Mode' 2003-08-31 12:41:19 +02:00
Klaus Schmidinger c6f6e881f8 Changed comment since 'buffer empty' was removed from the driver 2003-05-18 15:15:00 +02:00
Klaus Schmidinger 7a0054abbd Implemented cDevice::ActualDevice() 2003-05-11 09:01:51 +02:00
Klaus Schmidinger 4200055fe5 Replaced the 'for' loops in StripAudioPackets() with memset() calls 2003-03-30 12:56:30 +02:00
Klaus Schmidinger f721c85b46 Now polling the output device in 'Transfer Mode' and retrying to put packets into the ring buffer 2003-02-15 14:12:41 +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 0f01d92106 Fixed high CPU load in 'Transfer Mode' 2002-12-14 13:37:01 +01:00
Klaus Schmidinger 0a517afdf8 Implemented audio plugin interface 2002-11-03 11:53:58 +01:00
Klaus Schmidinger 4247bf58cf Fixed channel switching in case of an active 'Transfer Mode' on the primary device 2002-10-26 10:24:42 +02:00
Klaus Schmidinger 15a2d36aca Fixed some faulty default parameter initializations 2002-10-13 16:12:55 +02:00
Klaus Schmidinger ec5795bda2 Reactivated full handling of second audio PID (even in 'Transfer Mode') 2002-10-12 14:29:46 +02:00
Klaus Schmidinger f3af8e065a Fixed a race condition when starting 'Transfer Mode' 2002-09-22 09:52:38 +02:00
Klaus Schmidinger 26981fd7b1 Switched handling 'Transfer Mode' to the new cPlayer/cControl structures 2002-06-23 12:59:58 +02:00
Klaus Schmidinger 359e90b8a7 Activated transfer mode 2002-06-22 13:45:53 +02:00