Commit Graph

214 Commits

Author SHA1 Message Date
Klaus Schmidinger 1789a813f7 Added checking mutexCurrentAudioTrack to cDevice::PlayTs() 2009-01-18 11:45:28 +01:00
Klaus Schmidinger d500f17d50 Added clearing the TS buffers in cDevice::Detach() 2009-01-16 15:20:29 +01:00
Klaus Schmidinger 7de7ede26f The recording format is now Transport Stream 2009-01-06 14:41:11 +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 9d17559caf Fixed handling the counter in detection of pre 1.3.19 PS data 2008-04-12 14:14:07 +02:00
Klaus Schmidinger e59c6ac433 Re-implemented handling of DVB-S2 2008-04-12 13:39:12 +02:00
Klaus Schmidinger 25eb5fd2e1 Fixed a typo 2008-03-09 10:03:34 +01:00
Klaus Schmidinger 8bfee7a1b4 Fixed automatically selecting the preferred subtitle language 2008-03-07 15:44:52 +01:00
Klaus Schmidinger edfe582941 Attempting to stay on the current channel in case of an upcoming recording 2008-02-23 13:19:10 +01:00
Klaus Schmidinger 0b481b18e2 Fixed setting the current subtitle track in Transfer-Mode 2008-02-17 16:04:52 +01:00
Klaus Schmidinger 6b35173789 Implemented the cStatus, cDevice and cPlayer functions for setting subtitle tracks in plugins 2008-02-16 13:59:09 +01:00
Klaus Schmidinger df0e2f0dc8 The section handler is now stopped before the device is destroyed 2008-02-09 16:28:15 +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 f54c810bcd Revoked the switch to the "multiproto" driver in order to make a new stable version 2008-02-08 13:48:31 +01:00
Klaus Schmidinger d0af2f90e7 Implemented handling of DVB-S2 2008-01-27 14:35:54 +01:00
Klaus Schmidinger db4c8c3c76 Fixed stopping live subtitles when a player is attached to the device 2007-11-17 15:58:55 +01:00
Klaus Schmidinger 06f813d2a8 Added a workaround for recovering from wrongfully interpreted "pre 1.3.19 PS1 packets" 2007-11-03 14:32:03 +01:00
Klaus Schmidinger dd26d8873f Fixed checking compatibility mode for old subtitles plugin 2007-10-17 18:34:17 +02:00
Klaus Schmidinger 67df515c06 Added cDevice::CloseFilter(); some fixes to PLUGINS.html 2007-10-14 13:11:23 +02:00
Klaus Schmidinger f99b293de4 Added a missing SetVolumeDevice() call in cDevice::SetPrimaryDevice() 2007-10-13 10:34:30 +02:00
Klaus Schmidinger 0c8cda9bd0 Implemented handling DVB subtitles 2007-10-12 14:52:30 +02:00
Klaus Schmidinger ad1e138e5b Fixed checking for ttDolbyLast in cDevice::SetCurrentAudioTrack() 2007-08-26 11:13:10 +02:00
Klaus Schmidinger b532dc8229 Replaced strncpy() and strn0cpy() with Utf8Strn0Cpy() where necessary 2007-06-16 10:41:21 +02:00
Klaus Schmidinger fcbb206fdf Non-primary devices in Transfer mode are now also used for recording 2007-04-30 09:40:34 +02:00
Klaus Schmidinger 7751b6abb0 Added cDevice::HasCi() so that devices with Common Interface can be avoided when tuning to an FTA channel 2007-01-13 12:14:51 +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 5ff1d35711 Fixed handling relative volume settings that unmute the audio in the call to cStatus::MsgSetVolume() 2006-09-03 11:49:32 +02:00
Klaus Schmidinger c2e2673629 Revoked the change to cDevice::GetDevice() that was introduced in version 1.4.1-2 2006-08-27 08:42:31 +02:00
Klaus Schmidinger 713093670f Changed the way a device is selected for receiving in order to keep devices with CAMs better available 2006-08-12 11:33:34 +02:00
Klaus Schmidinger cdad4a6b4e Fixed cDevice::ToggleMute() 2006-07-29 10:17:35 +02:00
Klaus Schmidinger 92e4e131d0 cDevice::GetDevice() now prefers any device that's already receiving and doesn't require detatching receivers 2006-07-22 14:11:02 +02:00
Klaus Schmidinger 8f3ae72e9d Fixed handling relative volume settings in the call to cStatus::MsgSetVolume() 2006-07-22 13:26:44 +02:00
Klaus Schmidinger 3644347545 Added some comment to cDevice::GetDevice() 2006-06-15 10:00:40 +02:00
Klaus Schmidinger ba0a06bf0d Fixed a typo 2006-05-27 11:14:42 +02:00
Klaus Schmidinger d1617c84ca Modifed the device selection to better handle timer conflicts 2006-05-27 09:43:37 +02:00
Klaus Schmidinger 08fb5e2dbd The preferred audio language is now automatically selected when starting replay 2006-04-14 14:47:01 +02:00
Klaus Schmidinger a6d5d36043 Now avoiding the 'actual' device when starting a recording, so that a Transfer Mode for live tv isn't interrupted 2006-04-09 10:47:53 +02:00
Klaus Schmidinger bfce2b3dba Fixed VPS recording in case there is more than one timer in the VPS margin 2006-04-09 09:12:47 +02:00
Klaus Schmidinger 22b60d9610 The new function cDevice::ForceTransferMode() can be used to force the primary device into transfer mode 2006-03-26 09:46:58 +02:00
Klaus Schmidinger f40a6e9b85 Fixed setting the audio language codes in 'Transfer-Mode' 2006-02-24 14:14:41 +01:00
Klaus Schmidinger d5c739790b Implemented cDevice::Transferring() 2006-02-04 14:58:24 +01:00
Klaus Schmidinger 5fdc421a10 Added an 'Id' parameter to cDevice::PlayAudio() to allow plugins to easier process the audio data 2006-02-04 10:24:43 +01:00
Klaus Schmidinger 2d863532cc Cleaned up some trailing white space 2006-01-08 11:44:37 +01:00
Klaus Schmidinger b464dc407d Added a mutex to synchronize cDevice::PlayPesPacket() and SetCurrentAudioTrack() 2006-01-08 10:13:38 +01:00
Klaus Schmidinger e8ee9a1c4b Adapted c(Dvb)Device::ProvidesCa() to the dynamic CA handling 2006-01-07 15:16:09 +01:00
Klaus Schmidinger e0d5ebf8fd The file 'ca.conf' is obsolete and has been removed; revised all descriptions regarding CICAM 2006-01-07 14:10:17 +01:00
Klaus Schmidinger 16f037e3c2 Any cReceivers still attached to a cDevice when that device switches to a different transponder are now automatically detached 2006-01-06 13:55:57 +01:00
Klaus Schmidinger e87e649991 Fixed a typo 2006-01-06 12:56:44 +01:00
Klaus Schmidinger c65133979f Changed all "illegal" to "invalid" in error messages 2005-12-30 15:43:21 +01:00
Klaus Schmidinger 3f21bf20c5 New option '-g'; fixed security hole CAN-2005-0071 when grabbing to file 2005-12-30 15:11:16 +01:00
Klaus Schmidinger cb428520e6 cDevice::GrabImage() now returns a pointer to the image in memory; cDevice::GrabImageFile() grabs the image to a file 2005-12-29 14:51:59 +01:00
Klaus Schmidinger 3a97be4fe9 Implemented handling of the "CA PMT Reply" for CAMs; some preparations for being able to record several encrypted channels from the same transponder 2005-11-26 13:39:47 +01:00
Klaus Schmidinger 27ab07e80d The EPG scan no longer disturbs players that have also set live PIDs 2005-11-05 15:48:05 +01:00
Klaus Schmidinger e7d98d2ee6 Removed obsolete 'shift' code in device.[hc] 2005-09-17 14:30:18 +02:00
Klaus Schmidinger 1bc5ba817c Changed the audio PID language codes to hold up to two 3 letter codes; automatic audio channel setting for two channel audio 2005-09-04 14:48:39 +02:00
Klaus Schmidinger 2ffcc66af2 Re-introduced the code that waits for a tuner lock in VDR/device.c 2005-09-02 13:55:37 +02:00
Klaus Schmidinger 0c27583ba9 Removed the TUNER_LOCK_TIMEOUT in cDevice::AttachReceiver() since it caused more trouble than it fixed 2005-08-27 09:02:09 +02:00
Klaus Schmidinger 6de23d7d96 Now waiting at startup until all DVB devices are ready 2005-08-21 08:56:49 +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 f41e3f327b Modified cEITScanner::Process() so that it works on systems with only budget cards or a mix of DVB-S, DVB-C or DVB-T cards 2005-06-12 14:09:45 +02:00
Klaus Schmidinger f4c63964a8 A device can now detach all receivers for a given PID 2005-06-05 13:37:37 +02:00
Klaus Schmidinger f2bb5b3474 Now preferring budget cards when selecting a DVB device for recording 2005-05-07 15:12:09 +02:00
Klaus Schmidinger 1c62f19c8c Fixed handling fragments of less than 3 byte in cPesAssembler 2005-05-05 14:59:46 +02:00
Klaus Schmidinger 87209df391 Keeping the track language codes and descriptions in Transfer Mode 2005-02-27 13:58:22 +01:00
Klaus Schmidinger 940d605f2e Revisited 'Fixed calling cStatus::MsgChannelSwitch() in cDevice::SetChannel()' to allow keeping language codes in Trandfer Mode 2005-02-27 13:40:33 +01:00
Klaus Schmidinger 43576a394f Improved automatic audio track selection 2005-02-27 10:36:19 +01:00
Klaus Schmidinger 6ef9ec9ac0 Fixed ensuring there is a current audio track in case there is only one track 2005-02-26 11:46:37 +01:00
Klaus Schmidinger e8bd7c2369 Implemented setup option "DVB/Video display format" 2005-02-20 13:39:49 +01:00
Klaus Schmidinger 51f41252cf Added support for setting the video display mode 2005-02-20 12:01:05 +01:00
Klaus Schmidinger 605cd54280 Fixed calling cStatus::MsgChannelSwitch() in cDevice::SetChannel() 2005-02-19 12:20:53 +01:00
Klaus Schmidinger e972c0464a cAudio::Play() now also gets the 0xC0...0xDF audio 2005-02-13 09:54:51 +01:00
Klaus Schmidinger 78598e1a0a Making sure the first audio packet is not dropped when switching to "pre 1.3.19 Dolby Digital compatibility mode" 2005-02-12 16:32:54 +01:00
Klaus Schmidinger 25c942c0e3 Added 'uchar Id' to cAudio::Play()' 2005-02-12 13:01:24 +01:00
Klaus Schmidinger 74accfb1dc Restricted the "setting audio track" log message to automatic changes during replay 2005-02-08 13:21:34 +01:00
Klaus Schmidinger 8cdd705fb4 Fixed a possible freeze in pause mode in case a device's PlayPesPacket() function permanently returns 0 2005-02-08 11:47:15 +01:00
Klaus Schmidinger d3bd62a5fb Added MPEG1 replay capability to cPesAssembler 2005-02-06 14:22:08 +01:00
Klaus Schmidinger d824e95704 Calling pesAssembler->Reset() in cDevice::AttachPlayer() to avoid problems with residual data in replay and Transfer Mode 2005-02-06 13:49:13 +01:00
Klaus Schmidinger e57611dfd3 Fixed the "pre 1.3.19" compatibility mode for old Dolby Digital recordings 2005-02-06 13:19:19 +01:00
Klaus Schmidinger 20b213201a Making sure the "Mute" and "Volume+/-" keys don't interfere with digital audio 2005-02-06 12:31:36 +01:00
Klaus Schmidinger 506eb479a5 Removed 'flags' from tTrackId 2005-02-06 11:44:56 +01:00
Klaus Schmidinger 1f677366c4 Making sure the current audio track is actually one of the ones available in a recording 2005-02-06 11:33:13 +01:00
Klaus Schmidinger d3181d3d99 Moved the call to SetAudioChannel(0) into cDevice::ClrAvailableTracks() 2005-01-30 14:42:51 +01:00
Klaus Schmidinger a430f64252 Fixed masking SubStreamType in cDevice::PlayPesPacket() 2005-01-30 13:38:06 +01:00
Klaus Schmidinger ac60bd7141 Now setting primaryDevice = NULL before deleting the devices in cDevice::Shutdown() 2005-01-25 18:22:46 +01:00
Klaus Schmidinger 3f7f4ffb89 Fixed DTS detection 2005-01-23 14:15:00 +01:00
Klaus Schmidinger 1743213a1d Recording and Transfer Mode can now handle up to 8 Dolby Digital tracks 2005-01-23 14:10:15 +01:00
Klaus Schmidinger bde66cd4f5 Falling back to 'stereo' when switching channels 2005-01-16 16:10:44 +01:00
Klaus Schmidinger 8c0981583f Fixed a possible race condition in cDevice::Action() and cTSBuffer::Action() 2005-01-16 14:50:33 +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 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 f79f81dfd4 Implemented Setup.CurrentDolby 2005-01-08 13:53:30 +01:00
Klaus Schmidinger ec27c329cf Displaying audio track description in channel display 2005-01-08 10:15:30 +01:00
Klaus Schmidinger bbe24e4e62 Fixed a possible race condition in cDevice::Action() 2005-01-06 16:46:18 +01:00
Klaus Schmidinger 05bd062f79 Fixed handling preferred audio language when switching via Channels menu to the same channel 2005-01-06 14:56:08 +01:00
Klaus Schmidinger b387538887 Implemented left/right/stereo selection 2005-01-06 13:50:17 +01:00
Klaus Schmidinger 42ab8c8797 Implemented preferred audio languages 2005-01-05 10:48:22 +01:00
Klaus Schmidinger b62328b8ae Moved setting available tracks to cDevice 2005-01-04 13:19:22 +01:00
Klaus Schmidinger 0b3a801ab4 Implemented audio track menu 2005-01-02 15:11:44 +01:00