Commit Graph

47 Commits

Author SHA1 Message Date
Klaus Schmidinger 4d5cbaf57d If an error occurs while recording, the respective entry in the list of recordings is now updated immediately 2021-06-19 14:21:16 +02:00
Klaus Schmidinger e1f04cd6fa Added missing initialization of cRecorder::lastErrors 2021-05-25 20:14:06 +02:00
Klaus Schmidinger 8f52603665 cRecordingInfo::Errors() now returns -1 for old recordings; added a missing 'const' 2021-05-23 15:03:17 +02:00
Klaus Schmidinger 31b87544f1 Recordings are now checked for errors 2021-05-19 11:22:20 +02:00
Klaus Schmidinger e6068912a4 Made the aff array 'static const' 2015-09-12 14:56:15 +02:00
Klaus Schmidinger e59b5bf1af Empty adaptation field TS packets are now skipped when recording 2015-09-11 11:18:40 +02: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 3cd5294d8a Implemented strict locking of global lists 2015-09-01 11:14:27 +02:00
Klaus Schmidinger 6d59e2866b Fixed detecting broken video data streams when recording 2014-02-21 09:20:36 +01:00
Klaus Schmidinger 4da70bbab1 The script given to VDR with the '-r' option is now also called after the recording process has actually started 2014-01-01 12:53:40 +01:00
Klaus Schmidinger 446c3b4cfd Changed cRecorder::Action() to use cTimeMs instead of time() 2013-10-12 12:08:37 +02:00
Klaus Schmidinger 7cdfca45f4 Increased the size of the TS buffer to 5MB and that of the Recorder buffer to 20MB to better handle HD recordings 2012-09-22 11:55:26 +02: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 96061c5b40 Revoked the changes to cFrameDetector that have been introduced in version 1.7.19 2011-09-04 10:13:14 +02:00
Klaus Schmidinger 5e2f8e7613 Made frame type buffer size a multiple of TS_SIZE 2011-08-13 14:56:36 +02:00
Klaus Schmidinger d2e0898d64 Reduced frame type buffer to 1KB 2011-08-12 14:14:57 +02:00
Klaus Schmidinger 2c2ed53adf Fixed distortions that happened when splitting recording into several files 2011-08-07 13:49:32 +02:00
Klaus Schmidinger b0fd7ed933 Fixed overwriting the fps value in a recording's info file 2011-06-12 14:24:09 +02:00
Klaus Schmidinger 72d342ce02 Fixed detecting frames in case the Picture Start Code or Access Unit Delimiter extends over TS packet boundaries (cont'd) 2011-06-12 14:06:11 +02:00
Klaus Schmidinger 9f60bd2fc4 Now updating the 'frames per second' data in the list of recordings when a new recording is started that has a frame rate other than the default 2010-12-27 12:25:19 +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 6a208294be Several code modifications to avoid compiler warnings 2009-12-06 12:57:45 +01: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 2db303d6f5 Fixed starting a recording at an I-frame 2009-11-15 15:33:55 +01:00
Klaus Schmidinger e51e38bc33 Fixed generating PAT/PMT version numbers in case the PIDs change during recording 2009-05-24 15:11:28 +02:00
Klaus Schmidinger 323969e58d Adapted cFrameDetector::Analyze() to HD NTSC broadcasts that split frames over several payload units 2009-03-27 13:38:59 +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 7de7ede26f The recording format is now Transport Stream 2009-01-06 14:41:11 +01:00
Klaus Schmidinger ddb7f33567 Rewrite of shutdown handling; implemented cPlugin::WakeupTime(); SIGHUP forces reload; cThread::EmergencyExit() replaced by ShutdownHandler.RequestEmergencyExit() 2007-02-25 10:56:29 +01: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 4016a630be Added a SleepMs() in cRecorder::Action() to avoid a busy loop 2006-01-08 11:03:44 +01:00
Klaus Schmidinger 697261c981 The new class cUnbufferedFile is used for the recording files to avoid thrashing the file system cache 2005-10-31 13:14:26 +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 c522225344 Recording and Transfer Mode now handle more than 2 audio PIDs 2005-01-16 14:40:47 +01:00
Klaus Schmidinger e60ba0311b Changed 'Recording/Record Dobly Digital' to 'DVB/Use Dolby Digital' and using it for available audio tracks 2005-01-09 12:36:48 +01:00
Klaus Schmidinger 6415cc900d Improved buffer handling 2004-10-16 09:36:28 +02:00
Klaus Schmidinger 458f9bba13 Fixed handling Setup.RecordDolbyDigital, which was broken since version 1.1.6 2004-03-20 10:38:34 +01: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 746b232299 Fixed a possible crash in case a VFAT file system is used without compiling VDR with VFAT=1 2003-08-02 13:23:58 +02:00
Klaus Schmidinger e944312b65 Moved the detection of a broken video data stream from the cDevice into the cRecorder 2003-05-16 13:36:06 +02: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 bbf14ae47a Fixed a typo 2002-12-22 11:33:08 +01: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 c792c55297 Implemented cTSBuffer 2002-09-08 09:03:10 +02:00
Klaus Schmidinger a4bfddd2f9 Totally rearranged device/player/recorder structures 2002-06-16 12:57:31 +02:00