Commit Graph

104 Commits

Author SHA1 Message Date
Klaus Schmidinger a9543347af Fixed determining the frame duration on channels where the PTS deltas jitter by +/-1 around 3600 2010-01-24 16:14:13 +01:00
Klaus Schmidinger 9ff0e7ef27 The PCR pid in generated PMTs is now set to the channel's PCR pid again 2010-01-24 15:20:49 +01:00
Klaus Schmidinger 96ce981713 Fixed determining the frame duration on channels where the PTS deltas jitter by +/-1 around 1800 2010-01-23 15:39:15 +01:00
Klaus Schmidinger 3d7338de5a cPatPmtParser now also stores the audio stream types 2009-12-31 15:35:37 +01:00
Klaus Schmidinger 6a4d4607e4 Fixed zero-terminating the pid lists 2009-12-29 15:46:12 +01:00
Klaus Schmidinger 07d50dc8c4 cParsePatPmt now has functions to retrieve the audio, dolby and subtitle pids 2009-12-24 12:28:01 +01:00
Klaus Schmidinger 25148b7b05 Fixed handling STREAMTYPE_11172_AUDIO in cPatPmtParser::ParsePmt() 2009-12-24 11:56:50 +01:00
Klaus Schmidinger 5c2a51a7cf Added stream type 11172 AUDIO to cPatPmtParser::ParsePmt() 2009-12-06 14:05:36 +01:00
Klaus Schmidinger 6a208294be Several code modifications to avoid compiler warnings 2009-12-06 12:57:45 +01:00
Klaus Schmidinger 8335ba0a7e The PCR pid in generated PMTs is now set to 0x1FFF ("no PCR pid") in cPatPmtGenerator::GeneratePmt(), because VDR doesn't record the PCR pid 2009-12-05 13:16:34 +01:00
Klaus Schmidinger 62901748b3 The new function cDevice::PatPmtParser() can be used in derived devices to access the PAT/PMT of the currently replayed material 2009-12-05 11:32:31 +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 999df31b8d Fixed writing the PCR pid into the PMT in cPatPmtGenerator::GeneratePmt() 2009-11-01 15:35:34 +01:00
Klaus Schmidinger 95c9d3cf51 Fixed cFrameDetector::Analyze() to handle video streams where the frame type is not detectable from the first TS packet of a frame 2009-11-01 15:02:49 +01:00
Klaus Schmidinger 9b61b20f9a Implemented full handling of subtitling descriptors 2009-08-16 15:32:39 +02:00
Klaus Schmidinger e33ba08af4 Fixed cDevice::PlayTsVideo() and cDevice::PlayTsAudio() in case only part of the buffer has been accepted by the device 2009-06-21 13:34:40 +02:00
Klaus Schmidinger 96d25c3be1 Fixed unwanted track modifications when parsing PAT/PMT for recording 2009-06-06 13:26:23 +02: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 b250709407 Removed unused 'synced' member from cTsToPes 2009-05-17 09:48:14 +02:00
Klaus Schmidinger aae1aa5271 Added MPEG 1 handling to remux.c 2009-05-10 14:32:03 +02:00
Klaus Schmidinger b0d380ba06 cFrameDetector::Analyze() now syncs on the TS packet sync bytes 2009-05-03 14:45:53 +02:00
Klaus Schmidinger 3f492c4f57 Implemented TsSetTeiOnBrokenPackets() 2009-04-19 11:07:07 +02:00
Klaus Schmidinger ce4c062e0d Fixed detecting the frame rate for streams with PTS distances of 1800 2009-04-18 14:59:55 +02:00
Klaus Schmidinger 0a2de94d07 Fixed detecting the frame rate for radio recordings 2009-04-05 14:15:25 +02:00
Klaus Schmidinger e3de25dd11 Modified cFrameDetector::Analyze() to minimize file I/O overhead during recording 2009-03-27 14:11:43 +01: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 e7ea3b3c70 Replaced cBackTrace with cPtsIndex 2009-03-13 14:45:12 +01:00
Klaus Schmidinger 85e34776ff The PAT/PMT is now only processed if its version changes 2009-01-24 13:47:46 +01:00
Klaus Schmidinger a02868c90c Fixed detecting frames for pure audio recordings 2009-01-24 12:30:18 +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 1ca753003b Checking the pointer field in cPatPmtParser::ParsePmt() only in 'payload start' packets 2009-01-23 16:43:23 +01:00
Klaus Schmidinger 4895d6b9e2 Checking the remaining packet length after processing the pointer field 2009-01-23 14:34:05 +01:00
Klaus Schmidinger a1e7922938 Fixed handling the pointer field in cPatPmtParser::ParsePmt() 2009-01-23 14:19:58 +01:00
Klaus Schmidinger 036c292460 Fixed incrementing the continuity counter in cPatPmtGenerator::GetPmt() 2009-01-16 15:28:18 +01:00
Klaus Schmidinger 71dc09e788 Fixed returning complete PES packets in cTsToPes::GetPes() 2009-01-16 14:44:55 +01:00
Klaus Schmidinger f9a2758205 Fixed cPatPmtParser::ParsePmt() to reset vpid and vtype when switching from a video to an audio channel 2009-01-06 14:47:53 +01:00
Klaus Schmidinger 7de7ede26f The recording format is now Transport Stream 2009-01-06 14:41:11 +01:00
Klaus Schmidinger 5cbc33d897 Fixed handling the 'pointer field' in generating and parsing PAT/PMT 2008-12-20 10:46:53 +01:00
Klaus Schmidinger 22feb7bf1c Improved handling PES video packets with zero length when converting from TS to PES 2008-12-13 14:43:22 +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 ade33990f5 Implemented setup option "Miscellaneous/Emergency exit" 2007-11-25 14:20:03 +01:00
Klaus Schmidinger 4227b6f082 Fixed suddenly stopping subtitles in live mode 2007-11-18 15:21:51 +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 5793a99d3d Fixed assembling PS1 packets in cTS2PES::instant_repack() 2007-11-10 13:40:51 +01:00
Klaus Schmidinger db3e2a122d Fixed a possible blocking in replay when subtitles are active; fixed displaying subtitles in live mode 2007-11-03 14:39:25 +01:00
Klaus Schmidinger 0c8cda9bd0 Implemented handling DVB subtitles 2007-10-12 14:52:30 +02: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 78b78ffd64 Fixed a possible crash in remux.c on 64-bit machines 2006-12-01 14:53:11 +01:00
Klaus Schmidinger 915af4efff Some comment cleanups 2006-04-17 11:00:00 +02:00
Klaus Schmidinger daaab1dfc8 Speeded up cRemux::ScanVideoPacket() 2006-03-25 12:29:04 +01:00