1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00
Commit Graph

68 Commits

Author SHA1 Message Date
Klaus Schmidinger
2517b2ee8d Improved handling frames at the beginning and end of a recording in cDvbPlayer for devices with large buffers 2010-02-06 12:43:16 +01:00
Klaus Schmidinger
d3684149ca Fixed a busy loop when moving editing marks 2009-12-13 13:50:56 +01:00
Klaus Schmidinger
6a208294be Several code modifications to avoid compiler warnings 2009-12-06 12:57:45 +01:00
Klaus Schmidinger
e92739086e Moved buffer handling into cNonBlockingFileReader 2009-05-31 14:12:42 +02:00
Klaus Schmidinger
3de4811a42 Fixed a memory leak when reaching the end of a recording during replay 2009-05-31 10:02:20 +02:00
Klaus Schmidinger
e7c18af94c Only storing non-zero Pts values in ptsIndex 2009-04-19 15:19:10 +02:00
Klaus Schmidinger
85645317ae cDvbPlayer::Empty() subtracts 1 from readIndex, because Action() will first increment it 2009-04-19 15:17:17 +02:00
Klaus Schmidinger
efd7427bbe Fixed distortions when switching to the next file during replay 2009-04-18 14:28:15 +02:00
Klaus Schmidinger
27c061e449 Made MAXFRAMESIZE a multiple of TS_SIZE to avoid breaking up TS packets 2009-04-13 11:12:54 +02:00
Klaus Schmidinger
5a42f6b29f Fixed replay of TS recordings in case the index file is missing 2009-04-05 13:04:33 +02:00
Klaus Schmidinger
371a9a9025 cDevice::PlayTs() now plays as many TS packets as possible in one call 2009-04-05 12:29:27 +02:00
Klaus Schmidinger
43d25f07de Fixed the 'VideoOnly' condition in the PlayPes() and PlayTs() calls in cDvbPlayer::Action() 2009-04-05 11:01:21 +02:00
Klaus Schmidinger
d666dca6a4 Fixed switching to Play mode when hitting the end of a timeshifted recording 2009-04-05 10:11:26 +02:00
Klaus Schmidinger
c886e69bc6 Improved replay at the begin and end of a recording; cDvbPlayer::Action() no longer calls DeviceFlush() 2009-04-05 09:08:02 +02:00
Klaus Schmidinger
1b02cc9c94 Using the result of DeviceFlush() when hitting end of recording 2009-03-28 21:56:56 +01:00
Klaus Schmidinger
d0a42e9c81 Fixed cDvbPlayer::NextFile() to handle files larger than 2GB 2009-03-28 17:14:53 +01:00
Klaus Schmidinger
e7ea3b3c70 Replaced cBackTrace with cPtsIndex 2009-03-13 14:45:12 +01:00
Klaus Schmidinger
f9c1974f2d Improved fast-forward/-rewind for audio recordings 2009-01-25 11:39:43 +01:00
Klaus Schmidinger
fa848a6f2e Added an 'int' typecast to calculations involving FramesPerSecond() to avoid compiler warnings 2009-01-24 11:42:24 +01:00
Klaus Schmidinger
7de7ede26f The recording format is now Transport Stream 2009-01-06 14:41:11 +01:00
Klaus Schmidinger
7ad17726d8 Improved sending all frames to devices that can handle them in fast forward trick speeds, including subtitles 2008-02-09 15:12:55 +01:00
Klaus Schmidinger
78ecc96e17 Implemented sending all frames to devices that can handle them in fast forward trick speeds 2007-10-13 12:28:35 +02:00
Klaus Schmidinger
27c7603276 Fixed a busy loop in fast forward if the next video data file is missing 2007-04-28 15:18:02 +02:00
Klaus Schmidinger
915af4efff Some comment cleanups 2006-04-17 11:00:00 +02:00
Klaus Schmidinger
a452010760 Changed the behaviour when hitting the end of a recording in fast forward mode 2006-04-09 13:57:39 +02:00
Klaus Schmidinger
8186544e10 Fixed replaying recordings of radio channels with many audio tracks 2006-02-19 14:23:17 +01:00
Klaus Schmidinger
2d863532cc Cleaned up some trailing white space 2006-01-08 11:44:37 +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
3f73166049 Fixed cDvbPlayer::SkipFrames() to properly handle radio recordings 2005-08-29 15:45:38 +02:00
Klaus Schmidinger
1f4f85a82e Fixed appending sequence end code cDvbPlayer::Goto() 2005-08-28 21:20:58 +02: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
856f22dbf1 cDvbPlayer::Goto() now appends a Sequence End Code to get the image shown immediately with softdevices 2005-07-30 10:04:18 +02:00
Klaus Schmidinger
af78bac2bb Added a sleep in cDvbPlayer::Action() in case there is no data to send to the device 2005-07-30 09:23:29 +02:00
Klaus Schmidinger
a05590796a Fixed a possible hangup when ending a replay session while cIndexFile::CatchUp() is waiting 2005-05-22 11:29:19 +02:00
Klaus Schmidinger
f429e2eab0 Moved the sleep in cDvbPlayer::Action() outside the locked area to avoid problems on NPTL systems 2005-05-08 14:07:00 +02:00
Klaus Schmidinger
7f5f26020b Some rearrangements in cDvbPlayer::Action() to avoid lockups on NPTL systems 2005-05-08 14:06:21 +02:00
Klaus Schmidinger
ff0a48d3be Fixed a memory leak in cDvbPlayer 2005-05-05 12:53:43 +02:00
Klaus Schmidinger
0ad4b2a713 Made cCondWait::SleepMs() sleep at least 3ms to avoid a possible busy wait 2005-01-14 14:08:47 +01:00
Klaus Schmidinger
286af66cfb Made several functions threadsafe (cont'd) 2004-12-26 12:45:22 +01:00
Klaus Schmidinger
c77989ee70 Added support for AC3 replay over the DVB device 2004-12-17 14:55:49 +01:00
Klaus Schmidinger
a05ed03631 Re-introduced a sleep to cDvbPlayer::Action() to avoid high CPU load in still picture mode 2004-11-27 10:12:20 +01:00
Klaus Schmidinger
af6b8ff533 Removed the usleep() call from cDvbPlayer::Action() to make VDR run on NPTL systems; also removed the NPTL check at startup 2004-10-23 12:43:23 +02:00
Klaus Schmidinger
6415cc900d Improved buffer handling 2004-10-16 09:36:28 +02:00
Klaus Schmidinger
b1737a8bcb Added cDevice::Flush() 2004-06-19 08:58:14 +02:00
Klaus Schmidinger
e53e43d2b8 The cThread class now accepts a 'Description' parameter 2003-10-18 12:29:08 +02:00
Klaus Schmidinger
987c2f34e7 Fixed a memory leak in cNonBlockingFileReader 2003-05-24 09:10:07 +02:00
Klaus Schmidinger
24bbaa277c Modified handling of audio packets in cDvbPlayer for better sync with external AC3 replay 2003-05-24 08:48:49 +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
4200055fe5 Replaced the 'for' loops in StripAudioPackets() with memset() calls 2003-03-30 12:56:30 +02:00