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

Commit Graph

  • 7326f697b6 Changed a variable name Klaus Schmidinger 2005-01-07 15:44:32 +0100
  • bbe24e4e62 Fixed a possible race condition in cDevice::Action() Klaus Schmidinger 2005-01-06 16:46:18 +0100
  • cb696731e6 Only waiting for data if there actually is a DPid Klaus Schmidinger 2005-01-06 16:23:11 +0100
  • 05bd062f79 Fixed handling preferred audio language when switching via Channels menu to the same channel Klaus Schmidinger 2005-01-06 14:56:08 +0100
  • 723537ccc8 kAudio closes temporary OSD displays Klaus Schmidinger 2005-01-06 14:36:40 +0100
  • b387538887 Implemented left/right/stereo selection Klaus Schmidinger 2005-01-06 13:50:17 +0100
  • 42ab8c8797 Implemented preferred audio languages Klaus Schmidinger 2005-01-05 10:48:22 +0100
  • da59a45f61 Added special handling if no audio is available Klaus Schmidinger 2005-01-04 13:40:38 +0100
  • b62328b8ae Moved setting available tracks to cDevice Klaus Schmidinger 2005-01-04 13:19:22 +0100
  • 5274b4c8b3 Explicitly switch to the selected audio track with kOk Klaus Schmidinger 2005-01-04 12:52:17 +0100
  • f37f5ee6be Using '*itoa()' for compatibility with gcc 2.95 Klaus Schmidinger 2005-01-04 11:11:16 +0100
  • aa1738921b Changed objalloc.h to stddef.h for compatibility with gcc 2.95 Klaus Schmidinger 2005-01-04 11:09:51 +0100
  • f894ce7e00 Made cTimeMs::Now() static Klaus Schmidinger 2005-01-04 11:06:45 +0100
  • ab177a1579 Fixed reusing OSD in cDvbSpuDecoder Klaus Schmidinger 2005-01-02 15:29:49 +0100
  • 0b3a801ab4 Implemented audio track menu Klaus Schmidinger 2005-01-02 15:11:44 +0100
  • 286af66cfb Made several functions threadsafe (cont'd) Klaus Schmidinger 2004-12-26 12:45:22 +0100
  • f97b1069c6 Added cDevice::mutexReceiver to avoid a race condition when attaching/detaching receivers from different threads Klaus Schmidinger 2004-12-24 15:37:11 +0100
  • c49253824a Replaced time_ms() with a threadsafe and non-overflowing cTimeMs Klaus Schmidinger 2004-12-19 18:08:09 +0100
  • ce8369251c Removed delay_ms(), using cCondWait::SleepMs() instead Klaus Schmidinger 2004-12-19 17:22:13 +0100
  • 1d3495a0f0 Made several functions threadsafe Klaus Schmidinger 2004-12-19 16:33:34 +0100
  • 9a8ef2b6c2 Fixed a race condition in starting a thread Klaus Schmidinger 2004-12-19 10:58:20 +0100
  • f5b1a74056 Added 'channels.conf.terr' entries for Lübeck Klaus Schmidinger 2004-12-19 09:58:38 +0100
  • b2e7a4daed Fixed some typos Klaus Schmidinger 2004-12-19 09:36:25 +0100
  • f8c17d95f1 Switched the character set to iso8859-15 for English, German and Finnish Klaus Schmidinger 2004-12-18 16:46:49 +0100
  • 8db2fc2d24 Fixed the character width and shifted the codes; Renamed font???.c to font???-iso8859-1.c Klaus Schmidinger 2004-12-18 16:42:46 +0100
  • f5fc989ac7 Fixed genfontfile.c (wrong width, shifted values) Klaus Schmidinger 2004-12-18 13:30:19 +0100
  • 9bbcf23a86 Removed the LOCK_THREAD from the LIRC thread Klaus Schmidinger 2004-12-18 13:26:07 +0100
  • c1b39c523d Fixed setting 'synced' in cRemux when recording radio channels Klaus Schmidinger 2004-12-18 13:17:10 +0100
  • 0411cd6127 Completed the Italian OSD texts Klaus Schmidinger 2004-12-18 13:07:10 +0100
  • 49b822a14d Escaped the '-' and 'ö' characters in the man pages Klaus Schmidinger 2004-12-18 12:42:41 +0100
  • c77989ee70 Added support for AC3 replay over the DVB device Klaus Schmidinger 2004-12-17 14:55:49 +0100
  • 69ecb6a4d8 Fixed a possible race condition in generating the DVB device names Klaus Schmidinger 2004-11-27 10:28:51 +0100
  • a05ed03631 Re-introduced a sleep to cDvbPlayer::Action() to avoid high CPU load in still picture mode Klaus Schmidinger 2004-11-27 10:12:20 +0100
  • 5c6ed74aff Fixed the spelling of 'canceling' Klaus Schmidinger 2004-11-26 14:18:22 +0100
  • eb8405695b Some more changes to the 'childTid' handling in cThread Klaus Schmidinger 2004-11-26 14:05:36 +0100
  • 4146ac1928 Removed an unused variable from cTimer::GetWDayFromMDay() Klaus Schmidinger 2004-11-22 16:51:19 +0100
  • 630ba21dc1 Version 1.3.17 - Fixed cRemux::ScanVideoPacket() to make sure it doesn't access memory beyond the end of the given buffer, which has caused some unjustified "unknown picture type errors" (thanks to Marco Schlüßler). - Fixed a possible crash when pausing live video and the recording was unable to start, maybe because there was no lock on the device (thanks to Andreas Brugger for reporting this one). - Fixed some characters in the iso8859-2 font file (thanks to Dino Ravnic). - Fixed some errors in the Croatian language texts (thanks to Dino Ravnic). - Fixed a possible recursion in cControl::Shutdown() (thanks to Sascha Volkenandt). - Now setting the VPID before the APID in live mode to avoid unnecessary overhead in the firmware (thanks to Werner Fink). - Now checking available OSD memory at runtime (thanks to Oliver Endriss). - Fixed some typos in the Makefile's 'font' target (thanks to Olaf Titz). - Fixed handling childTid in cThread to avoid possible race conditions (thanks to Stefan Huelswitt for pointing this out). - Fixed toggling the "Day" item in the "Timers" menu, so that it selects the right day of week for timers in the future. - Some improvements to cPoller (thanks to Marco Schlüßler). Klaus Schmidinger 2004-11-21 18:00:00 +0100
  • 4f65416bd1 Some improvements to cPoller 1.3.17 Klaus Schmidinger 2004-11-21 14:37:36 +0100
  • 0d63ccef21 channels.conf Klaus Schmidinger 2004-11-21 14:30:00 +0100
  • c2daf37ed1 Fixed toggling the 'Day' item in the 'Timers' menu, so that it selects the right day of week for timers in the future Klaus Schmidinger 2004-11-21 13:28:05 +0100
  • 969864aacb Back to the old DVB driver due to tuning failures with dvb-kernel Klaus Schmidinger 2004-11-21 11:30:41 +0100
  • c33dccf9ba Fixed handling childTid in cThread to avoid possible race conditions Klaus Schmidinger 2004-11-20 16:27:18 +0100
  • ba85b34c62 Fixed some typos in the Makefile's 'font' target Klaus Schmidinger 2004-11-20 14:39:44 +0100
  • 20f6194d4f Now checking available OSD memory at runtime Klaus Schmidinger 2004-11-20 14:31:13 +0100
  • edc1440ed8 Now setting the VPID before the APID in live mode to avoid unnecessary overhead in the firmware Klaus Schmidinger 2004-11-20 12:26:01 +0100
  • c07a3a371e Fixed a possible recursion in cControl::Shutdown() Klaus Schmidinger 2004-11-20 11:34:04 +0100
  • 6533efdf67 Fixed some errors in the Croatian language texts Klaus Schmidinger 2004-11-20 11:24:27 +0100
  • 4045acdd51 Fixed some characters in the iso8859-2 font file Klaus Schmidinger 2004-11-20 11:10:32 +0100
  • b04f71562d Fixed a possible crash when pausing live video and the recording was unable to start Klaus Schmidinger 2004-11-20 11:00:26 +0100
  • 2eda0c4113 Switched to 'dvb-kernel' driver (build-2.4) Klaus Schmidinger 2004-11-19 15:59:14 +0100
  • 1d8676e85f Fixed cRemux::ScanVideoPacket() to make sure it doesn't access memory beyond the end of the given buffer Klaus Schmidinger 2004-11-16 16:57:43 +0100
  • 23ed5a5ed3 Version 1.3.16 - Fixed cChannel::SetName() in case only the ShortName or Provider has changed (thanks to Sascha Volkenandt for reporting this one). - Added Danish language texts (thanks to Mogens Elneff). - Reactivated the NPTL check at startup because there appear to be still unsolved problems when running on NPTL systems. - Added missing calls to cStatus::MsgOsdClear() in cSkins::Message() (thanks to Joachim Wilke for reporting this one, and Andreas Regel for additional input). - Fixed the cDvbSpuDecoder (thanks to Marco Schlüßler). - Fixed handling of pmAudioOnlyBlack (thanks to Stefan Huelswitt). - Fixed a short glitch when starting a recording on the primary device while in replay or transfer mode (thanks to Marco Schlüßler). - Added missing initialization of cEvent::seen. - Checking PID language codes for ISO 639 compliance to avoid problems with funny characters. Invalid language codes will be stored as "???". - The '0' key now toggles the "Day" item in the "Timers" menu between "single shot" and "repeating". The keys '1'...'7' can be used to toggle the individual days ('1' is Monday). Thanks to Sascha Klek for reporting a problem with the '0' key in the "Day" item of the "Timers" menu. Klaus Schmidinger 2004-11-14 18:00:00 +0100
  • ac8e03a89c Implemented handling of number keys in the 'Timers' menu for toggling days 1.3.16 Klaus Schmidinger 2004-11-14 16:27:27 +0100
  • 1ed36b04bc channels.conf Klaus Schmidinger 2004-11-14 15:00:00 +0100
  • c834d84db0 Checking PID language codes for ISO 639 compliance Klaus Schmidinger 2004-11-14 14:28:29 +0100
  • e656c86153 Added missing initialization of cEvent::seen Klaus Schmidinger 2004-11-07 10:43:52 +0100
  • 2ef5ba5710 Fixed a short glitch when starting a recording on the primary device while in replay or transfer mode Klaus Schmidinger 2004-11-07 10:31:59 +0100
  • f2d44b3d60 Added a missing call to cStatus::MsgOsdStatusMessage(NULL) in cSkins::Message() Klaus Schmidinger 2004-11-07 09:52:21 +0100
  • f8475a1d20 Fixed handling of pmAudioOnlyBlack Klaus Schmidinger 2004-11-06 13:17:35 +0100
  • c3e52f8da9 Fixed the cDvbSpuDecoder Klaus Schmidinger 2004-11-06 11:59:19 +0100
  • 0e79c2d76e Added missing calls to cStatus::MsgOsdClear() in cSkins::Message() Klaus Schmidinger 2004-11-06 11:27:06 +0100
  • 263c3c01a2 Reactivated the NPTL check at startup Klaus Schmidinger 2004-11-06 10:32:00 +0100
  • 042523bf2b Added Danish language texts Klaus Schmidinger 2004-11-06 10:26:52 +0100
  • 7fbd1c5675 Changed channel number of 'itv2' Klaus Schmidinger 2004-11-05 15:55:55 +0100
  • 2a7f8325d1 Fixed cChannel::SetName() in case only the ShortName or Provider has changed Klaus Schmidinger 2004-11-02 18:07:05 +0100
  • 3038be2a6a Version 1.3.15 - Fixed some typos in the Makefile's 'font' target (thanks to Uwe Hanke). - Added more checks and polling when getting frontend events (based on a patch from Werner Fink). - No longer explicitly waiting for a tuner lock when switching channels (apparently setting "live" PIDs before the tuner is locked doesn't hurt). Moved the wait into cDevice::AttachReceiver() instead. - Immediately displaying the new channel info when switching channel groups. - Moved the main program loop variables further up to allow compilation with older compiler versions (thanks to Marco Schlüßler for reporting this one). - Now calling pthread_cond_broadcast() in the destructor of cCondWait and cCondVar to make sure any sleepers will wake up (suggested by Werner Fink). Also using pthread_cond_broadcast() instead of pthread_cond_signal() in cCondWait, in case there is more than one sleeper. - Making sure that timers and channels are only saved together, in a consistent manner (thanks to Mirko Dölle for reporting a problem with inconsistent channel and timer lists). - Now handling the channel name, short name and provider separately. cChannel therefore has two new functions, ShortName() and Provider(). ShortName() can be used to display a short version of the name (in case such a version is available). The optional boolean parameter of ShortName() can be set to true to make it return the name, if no short name is available. The sequence of 'name' and 'short name' in the channels.conf file has been swapped (see man vdr(5)). - Added the 'portal name' to cChannels (thanks to Marco Schlüßler). - Fixed handling key codes that start with 0x1B in the KBD remote control code. - Now using qsort() to sort cListBase lists. For this, the virtual function cListObject::operator<() has been replaced with cListObject::Compare(). Plugins that implement derived cListObject classes may need to adjust their code. - The "Channels" menu can now be sorted "by number" (default), "by name" and "by provider". While in the "Channels" menu, pressing the '0' key switches through these modes. - Fixed the buffer size in cRecording::SortName(). - Now displaying the name of the remote control for which the keys are being learned inside the menu to avoid overwriting the date/time in the 'classic' skin (thanks to Oliver Endriss for reporting this one). Klaus Schmidinger 2004-11-01 18:00:00 +0100
  • 6304820a0e Now displaying the name of the remote control for which the keys are being learned inside the menu 1.3.15 Klaus Schmidinger 2004-11-01 14:27:43 +0100
  • 5abadbf1a8 channels.conf Klaus Schmidinger 2004-11-01 14:15:00 +0100
  • 6a70d31734 Fixed the buffer size in cRecording::SortName() Klaus Schmidinger 2004-11-01 14:05:16 +0100
  • c054f39620 Implemented sort modes for the 'Channels' menu Klaus Schmidinger 2004-11-01 13:59:58 +0100
  • 0b62aff0e3 Now using qsort() to sort cListBase lists Klaus Schmidinger 2004-11-01 10:40:38 +0100
  • c88e65b638 Fixed handling key codes that start with 0x1B in the KBD remote control code Klaus Schmidinger 2004-10-31 14:05:55 +0100
  • bd62ca6abc Added the 'portal name' to cChannels Klaus Schmidinger 2004-10-31 13:01:35 +0100
  • fd9c2d298c Now handling the channel name, short name and provider separately Klaus Schmidinger 2004-10-31 12:53:00 +0100
  • 5e731865a6 Making sure that timers and channels are only saved together Klaus Schmidinger 2004-10-31 10:22:32 +0100
  • 4f67ade2dc Now calling pthread_cond_broadcast() in the desctructor of cCondWait and cCondVar; using pthread_cond_broadcast() instead of pthread_cond_signal() in cCondWait Klaus Schmidinger 2004-10-31 09:54:50 +0100
  • 3e3f30d88d Moved the main program loop variables further up to allow compilation with older compiler versions Klaus Schmidinger 2004-10-31 09:37:56 +0100
  • fc0596d859 Immediately displaying the new channel info when switching channel groups Klaus Schmidinger 2004-10-30 15:37:16 +0200
  • 664df0902e No longer explicitly waiting for a tuner lock when switching channels Klaus Schmidinger 2004-10-30 15:10:50 +0200
  • d5018de4fe Added more checks and polling when getting frontend events Klaus Schmidinger 2004-10-30 14:21:13 +0200
  • 72bdd01b43 Fixed some typos in the Makefile's 'font' target Klaus Schmidinger 2004-10-30 11:52:41 +0200
  • 6f93a5f781 Version 1.3.14 - Fixed detecting transponder lock in cDvbTuner (based on a patch from Stefan Meyknecht). - What was previously marked with WAIT_FOR_LOCK_AFTER_TUNING is now permanently active and uses a cCondVar to signal when a transponder is locked. - Added some missing 'const' to cChannel. - Added a sample setup for 'DisiCon-4 Single Cable Network' to 'diseqc.conf' (thanks to Oliver Endriss). - Fixed attaching a cPlayer to a cDevice, so that 'Operation not permitted' errors don't occur any more (thanks to Marco Schlüßler). - Fixed a case where the resultBuffer in cRemux ran full before getting a sync. - Removed the usleep() call from cDvbPlayer::Action() to make VDR run on NPTL systems (thanks to Alfred Zastrow). The NPTL check at startup has also been removed. - Taking the complete size of available data into account when deciding whether to clear the transfer buffer to avoid overflows (thanks to Reinhard Nissl). - Updated Romanian language texts and the iso8859-2 fonts (thanks to Lucian Muresan). - Now actually using the iso8859-15 fonts (thanks to Lucian Muresan). - Some minor code cleanups (thanks to Prakash K. Cheemplavam). - Fixed missing cleanup at program exit in case there is a problem with a plugin (thanks to Mattias Grönlund for pointing this out). - Increased the required free buffer space in the resultBuffer of cRemux to 2 * IPACKS to avoid a buffer overflow in case a cTS2PES writes one complete packet and then (within processing the same TS packet) wants to write another small packet. - Removed the signal handler and WakeUp() call from cThread (it is no longer needed). - Added some checks when canceling a thread and removed the usleep() in cThread::Start() (suggested by Ludwig Nussel). Also removed 'running' from cThread and using only childTid to indicate whether a thread is actually running. - Added cCondWait::Sleep() and using it to replace all usleep() calls (based on a suggestion by Werner Fink). - Only assigning events to timers if the related schedule has actually been modified. - When searching for the present event, the running status is now only taken into account if the event has been "seen" within the past 30 seconds. This avoids shortly seeing the wrong events in the channel display when switching to a channel that hasn't been tuned to in a while. Klaus Schmidinger 2004-10-24 18:00:00 +0200
  • 313448ad0c Implemented 'modified' and 'seen' for EPG schedules/events 1.3.14 Klaus Schmidinger 2004-10-24 15:01:50 +0200
  • e41261ae46 channels.conf Klaus Schmidinger 2004-10-24 13:00:00 +0200
  • 9f51fcad22 Added cCondWait::Sleep() and using it to replace all usleep() calls Klaus Schmidinger 2004-10-24 11:12:05 +0200
  • 70e6038056 Added some checks when cancelling a thread and removed the usleep() in cThread::Start(); removed 'running' from cThread Klaus Schmidinger 2004-10-24 10:34:20 +0200
  • 73fde7480a Removed the signal handler and WakeUp() call from cThread Klaus Schmidinger 2004-10-24 09:53:12 +0200
  • 343df6266e Increased the required free buffer space in the resultBuffer of cRemux Klaus Schmidinger 2004-10-24 09:26:23 +0200
  • d507645323 Not waiting for transponder lock for EITScanner Klaus Schmidinger 2004-10-24 08:50:15 +0200
  • f7dd342f52 Fixed missing cleanup at program exit in case there is a problem with a plugin Klaus Schmidinger 2004-10-23 15:17:03 +0200
  • 5105187701 Some minor code cleanups Klaus Schmidinger 2004-10-23 14:24:17 +0200
  • 8ce0247091 Now actually using the iso8859-15 fonts Klaus Schmidinger 2004-10-23 14:07:41 +0200
  • 1cac277daa Updated Romanian language texts and the iso8859-2 fonts Klaus Schmidinger 2004-10-23 14:01:57 +0200
  • f0a7e75d8e Taking the complete size of available data into account when deciding whether to clear the transfer buffer to avoid overflows Klaus Schmidinger 2004-10-23 13:40:56 +0200
  • af6b8ff533 Removed the usleep() call from cDvbPlayer::Action() to make VDR run on NPTL systems; also removed the NPTL check at startup Klaus Schmidinger 2004-10-23 12:43:23 +0200
  • 5b2784cc4f Fixed a case where the resultBuffer in cRemux ran full before getting a sync Klaus Schmidinger 2004-10-23 12:06:13 +0200
  • 8ed9becabc Fixed attaching a cPlayer to a cDevice Klaus Schmidinger 2004-10-23 10:18:01 +0200
  • 41669352b7 Added a sample setup for 'DisiCon-4 Single Cable Network' Klaus Schmidinger 2004-10-23 10:07:38 +0200
  • e73912d2e7 Fixed detecting transponder lock; removed WAIT_FOR_LOCK_AFTER_TUNING; added some missing 'const' to cChannel Klaus Schmidinger 2004-10-23 10:04:01 +0200
  • af483c11ae Version 1.3.13 - Fixed checking for the presence of NPTL (thanks to Jouni Karvo). - Making sure section filters are only set if the device actually has a lock (thanks to Andreas Share for pointing this out). - Fixed a possible NULL pointer assignment in cMenuText::SetText() (thanks to Marco Schlüssler). - Fixed a crash in case the last line in channels.conf is a group separator and that group is selected in the channel display (thanks to Dick Streefland). - Added cRingBufferLinear::Read() to read directly from a file handle into the ring buffer. - Using timeouts in ring buffers to avoid 'usleep()'. - Clearing the 'Transfer Mode' ring buffer after clearing the device to avoid an "almost full" ring buffer. - Removed locking from cRingBufferLinear for better performance under high load. - Using a cRingBufferLinear in cRemux to avoid unnecessary copying of data. - Using a cRingBufferLinear in cTSBuffer and filling it in a separate thread to avoid buffer overflows. Plugins using cTSBuffer will need to remove the call to the now obsolete Read() function (see cDvbDevice::GetTSPacket() for the new usage of cTSBuffer). - cRemux::Process() has been split into Put(), Get() and Del() to allow for a better decoupling of the remuxing and disk writing process. Plugins using cRemux will need to be modified accordingly. - The actual disk writing in recordings is now done in a separate thread to improve the overall throughput. - Changed cRemux so that it returns the maximum available amount of data with each call, not just 2048 byte. - Added a visual display of all cRingBufferLinear buffers for debugging. To activate it, define DEBUGRINGBUFFERS in ringbuffer.h. - Instead of cCondVar now using the new cCondWait (which also avoids a possible "near miss" condition; thanks to Sascha Volkenandt for pointing out this one). cCondVar is still present for plugins that use it (and VDR itself also still uses it in cRemote). - The cRingBuffer now does EnableGet()/EnablePut() only if the buffer is more than one third full or empty, respectively. This dramatically improves recording performance and reduces system load (thanks to Marco Schlüßler for doing some testing regarding buffer performance and giving me some hints that finally led to finding out that this was the basic problem causing buffer overflows). - Improved Transfer Mode (thanks to Marco Schlüßler for suggestions and testing). - Fixed a possible crash with inconsistent SI data (thanks to Marcel Wiesweg). - Fixed showing the replay mode if the OSD is currently in use (thanks to Kimmo Tykkala for pointing out this problem). - cOsdProvider::NewOsd() now always returns a valid pointer, even if the OSD is currently in use (it will then return a dummy cOsd object and write a message to the log file). - Added Estonian language texts (thanks to Arthur Konovalov). - Fixed 'newplugin' and libsi/Makefile to use the compiler defined in $(CXX) for generating file dependencies (thanks to Andreas Brachold). - Moved the initialization of aPid1 and aPid2 to the beginning of cDvbDevice::cDvbDevice() to have them set in case a patch references them (thanks to Wayne Keer for pointing this out). - Completed the Russian OSD texts (thanks to Vyacheslav Dikonov). - Avoiding unnecessary section filter start/stops (thanks to Marco Schlüßler). - Made the "Channel not available!" message and mtInfo instead of mtError (suggested by Wayne Keer). - Made volume control more linear (thanks to Emil Naepflein and Udo Richter). - Now skipping code table info in SI data (suggested by Milos Kapoun). - Added missing Czech characters to fontosd-iso8859-2.c (thanks to Milos Kapoun). - Fixed a crash in the time search mechanism (reported by Reinhard Nissl). - If one PID can't be added, the whole cDevice::AttachReceiver() will now fail and all PIDs added so far will be deleted (thanks to Marco Schlüßler for pointing out this one). - Now only saving channels.conf after a modification made by the user (avoids lots of disk access due to automatic channel updates). Automatic channel modifications will be saved every 10 minutes if no recording is currently active. - Removed the 'Log' parameter from the cChannel::Set... functions. Instead checking if the channel has a non-zero number. - Updated 'channels.conf.terr' for Hannover (thanks to Sven Kreiensen). Klaus Schmidinger 2004-10-17 18:00:00 +0200