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

263 Commits

Author SHA1 Message Date
Klaus Schmidinger
50b14be807 Fixed handling error status in cDvbTuner::GetFrontendStatus() 2007-02-24 11:20:42 +01: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
e68171626e Fixed setting additional audio PIDs in CAMs 2006-08-14 09:56:28 +02:00
Klaus Schmidinger
d324b2de88 Reduced logging for the SVDRP GRAB command 2006-06-11 09:14:22 +02:00
Klaus Schmidinger
9847c7571d Removed all the compatibility '#if APIVERSNUM...' stuff and instead increased the API version number 2006-05-28 15:10:08 +02:00
Klaus Schmidinger
a512b9a9fa Fixed handling Transfer Mode when replaying Dolby Digital audio and the option '-a' was given 2006-05-20 10:17:44 +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
bcacfad057 Fixed cDvbDevice::SetAudioBypass() in case setTransferModeForDolbyDigital is false 2006-03-19 12:37:03 +01:00
Klaus Schmidinger
8409c68e44 Fixed handling DPID when deciding whether to switch to 'Transfer Mode' 2006-02-19 13:53:30 +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
e93ff79da8 Changed DVBS_TUNE_TIMEOUT and DVBC_TUNE_TIMEOUT to 9000ms to avoid problems with channels that have low symbol rates 2006-01-28 15:39:23 +01:00
Klaus Schmidinger
dea4bf298a Made the log messages regarding lost lock of devices "info" instead of "error" 2006-01-14 16:04:36 +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
526c94f017 Improved tuner timeout handling (cont'd) 2006-01-05 15:30:06 +01:00
Klaus Schmidinger
fa0af7065e Now using FE_READ_STATUS to read the current frontend status 2006-01-04 11:48:38 +01:00
Klaus Schmidinger
fb641c9149 Improved tuner timeout handling 2006-01-03 10:42:47 +01:00
Klaus Schmidinger
06b2245bcd The DVB devices now retune (and, if applicable, resend the DiSEqC data) if the lock is lost 2006-01-01 12:22:18 +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
aa64d64d90 Converting a grabbed image to JPEG is now done with the new function RgbToJpeg() 2005-12-29 11:24:02 +01:00
Klaus Schmidinger
bf4655197d Revoked the check for low symbol rates on FF cards (some actually can do this) 2005-12-28 12:28:37 +01:00
Klaus Schmidinger
48902e885f Now checking the channel's symbol rate in order to avoid problems on full featured DVB cards with symbol rates below 10000 2005-12-03 13:50:19 +01:00
Klaus Schmidinger
e3dd163461 Fixed handling second audio and Dolby Digital PIDs for encrypted channels (was broken in version 1.3.37) 2005-12-03 11:51:05 +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
2cae2ed28c Modified switching to Dolby Digital audio in live mode 2005-11-11 16:13:19 +01:00
Klaus Schmidinger
7533b69e9b Fixed cDvbTuner to avoid lockups on NPTL systems 2005-08-21 09:25:51 +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
2fbc114c62 Removed the VIDEO_STILLPICTURE_WORKS_WITH_VDR_FRAMES stuff from cDvbDevice::StillPicture(), since apparently the VIDEO_STILLPICTURE call works 2005-08-15 14:06:44 +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
bef18ac382 Removed a superfluous return statement 2005-06-19 11:00:43 +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
a8b3516607 Using cSource::IsSat() 2005-05-16 15:23:43 +02:00
Klaus Schmidinger
faf7d4b743 Added a check for Setup.DiSEqC in cDvbDevice::ProvidesTransponder() 2005-05-14 10:04:04 +02:00
Klaus Schmidinger
e760b14f64 Some fixes to avoid compiler warnings in gcc 4.0 2005-03-20 10:10:38 +01:00
Klaus Schmidinger
3c0ea98ab3 Fixed cDvbDevice::SetVideoDisplayFormat() in case of 16:9 2005-03-13 12:34:45 +01:00
Klaus Schmidinger
dc20f0f8cf Dropped CA support for the old '-icam' firmware 2005-03-05 16:13:26 +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
f038aaefc8 Fixed the call to SetVideoFormat() in cDvbDevice::cDvbDevice() (parameter is _bool_) 2005-02-20 11:06:51 +01:00
Klaus Schmidinger
f226c84583 Avoiding unnecessary calls to SetPid() in cDvbDevice::SetAudioTrackDevice() 2005-02-19 12:18:18 +01:00
Klaus Schmidinger
84d57ed54d Implemented cDvbDevice::SetTransferModeForDolbyDigital() 2005-02-13 14:26:37 +01:00
Klaus Schmidinger
7f244d5c9c Fixed handling Transfer Mode for radio channels 2005-02-08 14:18:18 +01:00
Klaus Schmidinger
34d51f5f83 Fixed cDvbDevice::SetAudioTrackDevice() to avoid a blank screen after switching back to live mode if a recording is currently active on the primary device 2005-02-08 11:27:42 +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
c522225344 Recording and Transfer Mode now handle more than 2 audio PIDs 2005-01-16 14:40:47 +01:00
Klaus Schmidinger
9423c636a2 Fixed playing files with PES packets longer than 2048 byte through the full featured DVB card 2005-01-16 12:02:39 +01: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
0975bfc440 Added support for circular polarization 2005-01-09 13:18:15 +01:00
Klaus Schmidinger
4162bff1e7 Fixed the default quality value when grabbing a JPEG image 2005-01-07 15:56:11 +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
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
Klaus Schmidinger
c77989ee70 Added support for AC3 replay over the DVB device 2004-12-17 14:55:49 +01:00
Klaus Schmidinger
69ecb6a4d8 Fixed a possible race condition in generating the DVB device names 2004-11-27 10:28:51 +01:00
Klaus Schmidinger
edc1440ed8 Now setting the VPID before the APID in live mode to avoid unnecessary overhead in the firmware 2004-11-20 12:26:01 +01:00
Klaus Schmidinger
2ef5ba5710 Fixed a short glitch when starting a recording on the primary device while in replay or transfer mode 2004-11-07 10:31:59 +01:00
Klaus Schmidinger
f8475a1d20 Fixed handling of pmAudioOnlyBlack 2004-11-06 13:17:35 +01:00
Klaus Schmidinger
664df0902e No longer explicitly waiting for a tuner lock when switching channels 2004-10-30 15:10:50 +02:00
Klaus Schmidinger
d5018de4fe Added more checks and polling when getting frontend events 2004-10-30 14:21:13 +02:00
Klaus Schmidinger
9f51fcad22 Added cCondWait::Sleep() and using it to replace all usleep() calls 2004-10-24 11:12:05 +02:00
Klaus Schmidinger
d507645323 Not waiting for transponder lock for EITScanner 2004-10-24 08:50:15 +02:00
Klaus Schmidinger
e73912d2e7 Fixed detecting transponder lock; removed WAIT_FOR_LOCK_AFTER_TUNING; added some missing 'const' to cChannel 2004-10-23 10:04:01 +02:00
Klaus Schmidinger
1f726846f5 Refined formula for making volume control more linear 2004-10-17 09:12:16 +02:00
Klaus Schmidinger
fe86d58ed8 Made volume control more linear 2004-10-16 14:39:45 +02:00
Klaus Schmidinger
eff00653c5 Moved the initialization of aPid1 and aPid2 to the beginning of cDvbDevice::cDvbDevice() 2004-10-16 12:57:51 +02:00
Klaus Schmidinger
6415cc900d Improved buffer handling 2004-10-16 09:36:28 +02:00
Klaus Schmidinger
70ea2cbbd1 Fixed switching channels while an encrypted channel is being recorded (cont'd) 2004-06-19 13:48:25 +02:00
Klaus Schmidinger
b1737a8bcb Added cDevice::Flush() 2004-06-19 08:58:14 +02:00
Klaus Schmidinger
1369239b53 Fixed switching channels while an encrypted channel is being recorded 2004-06-12 15:07:29 +02:00
Klaus Schmidinger
9b0070a420 Revisited the "Fixed missing audio after replaying a DVD" change 2004-06-12 14:42:55 +02:00
Klaus Schmidinger
f882ddf588 Fixed missing audio after replaying a DVD 2004-06-06 11:31:33 +02:00
Klaus Schmidinger
51b02cade3 Fixed a typo 2004-06-05 16:33:35 +02:00
Klaus Schmidinger
41c96300f1 No longer setting lnb voltage if the frontend is not DVB-S 2004-06-05 14:37:26 +02:00
Klaus Schmidinger
e912e48282 Added play mode pmVideoOnly 2004-05-23 10:12:44 +02:00
Klaus Schmidinger
927a54403d Fixed freezing picture when a recording starts on a system that always uses 'Transfer Mode' 2004-05-22 15:36:09 +02:00
Klaus Schmidinger
5d99df7b77 Implemented 'skins' and 'themes' 2004-05-16 10:35:36 +02:00
Klaus Schmidinger
faea9fed91 Now explicitly turning on the LNB power at startup 2004-03-14 14:47:46 +01:00
Klaus Schmidinger
e3171acd59 Disabled 'preliminary fix for UPT error' 2004-02-24 10:15:46 +01:00
Klaus Schmidinger
64683c2438 Enabled switching to a channel even if it has no Vpid or Apid set 2004-02-08 14:08:03 +01:00
Klaus Schmidinger
8f5deb8327 Preliminary fix for the "Unknown picture type error" 2004-02-08 11:13:36 +01:00
Klaus Schmidinger
3e3abc65f1 Fixed frequency handling when setting the CA descriptors in cDvbTuner::Action() 2004-01-25 14:04:03 +01:00
Klaus Schmidinger
0a62be0274 Added %m to error message 2004-01-10 12:21:41 +01:00
Klaus Schmidinger
0901afcf6d Fixed a crash in case there is no DVB hardware present 2004-01-05 12:29:26 +01:00
Klaus Schmidinger
8976ebcec5 Implemented automatic PID switching and channel detection 2004-01-04 12:30:00 +01:00
Klaus Schmidinger
6c4e6cc666 Now the CA descriptors are sent to the CAM in the 'program' or 'ES level' sections 2003-12-24 10:30:35 +01:00
Klaus Schmidinger
1d32f7c059 Added 'StreamType' setting to CAM communication 2003-12-23 10:34:51 +01:00
Klaus Schmidinger
7ff59171e3 Changed section handling; replaced 'libdtv' with 'libsi' 2003-12-22 13:29:24 +01:00
Klaus Schmidinger
8e4a745ada Fixed handling Priority -1 in cDvbDevice::ProvidesChannel() 2003-11-09 11:21:06 +01:00
Klaus Schmidinger
85767a5405 Added cDevice::GetSTC() 2003-11-07 14:16:25 +01:00
Klaus Schmidinger
2ab8af3dd5 Improved cDvbDevice::StillPicture() (cont'd) 2003-10-24 15:46:33 +02:00
Klaus Schmidinger
2b29a5ce36 Improved cDvbDevice::StillPicture() 2003-10-19 12:59:16 +02:00
Klaus Schmidinger
e53e43d2b8 The cThread class now accepts a 'Description' parameter 2003-10-18 12:29:08 +02:00
Klaus Schmidinger
d5c46a4ad5 Fixed a typo 2003-10-17 15:36:13 +02:00
Klaus Schmidinger
d800cf56f5 Fixed extracting the ES data and added MPEG1 handling to cDvbDevice::StillPicture() 2003-10-17 13:47:03 +02:00
Klaus Schmidinger
3f12ebbccb Fixed detecting the /dev/videoN devices for GRAB in case there are others before the DVB devices 2003-10-04 12:42:58 +02:00
Klaus Schmidinger
ee10028dc6 The DVB devices no longer send CA descriptors to the CAM while the EPG scanner is active 2003-09-06 13:22:24 +02:00
Klaus Schmidinger
7a64aeec74 Fixed displaying still pictures, now using the driver's VIDEO_STILLPICTURE call directly 2003-08-30 11:48:45 +02:00
Klaus Schmidinger
00170e8275 Avoiding an unnecessary stop of an ongoing Transfer Mode when starting a recording on the primary device 2003-08-24 14:49:53 +02:00
Klaus Schmidinger
26ffdd1c83 Fixed scaling SPU bitmaps in Letterbox mode when playing NTSC material 2003-08-15 13:05:50 +02:00
Klaus Schmidinger
e26e6b2e5a Fixed channel switching in the EPG scanner on single device systems 2003-05-24 13:38:28 +02:00
Klaus Schmidinger
2cd7928fc6 Removed the (no longer necessary) 'panic' stuff from cThread 2003-05-03 14:08:28 +02:00
Klaus Schmidinger
a6c1babf9a Now turning off live PIDs when replaying 2003-05-02 14:30:03 +02:00
Klaus Schmidinger
240529710d Fixed setting the PCR-PID in case it is equal to one of the other PIDs 2003-05-02 09:24:31 +02:00
Klaus Schmidinger
65b9d4a97f Removed the Mute() call from cDvbDevice::StillPicture() 2003-04-27 09:45:51 +02:00
Klaus Schmidinger
fd0774c811 The PCR PID can now be set separately from the video PID 2003-04-26 11:58:54 +02:00
Klaus Schmidinger
3c9a408d43 Simultaneous recording and replay of encrypted channels with a single DVB card 2003-04-19 14:46:58 +02:00
Klaus Schmidinger
2c4da57287 Re-enabled CAM communication during replay and on non-Ca channels 2003-04-19 10:59:53 +02:00
Klaus Schmidinger
78d85cee06 Now only those Ca descriptors are sent to a CAM that are actually understood by that CAM 2003-04-18 12:48:49 +02:00
Klaus Schmidinger
a22a2b7218 Fixed handling of Ca parameters with values <= MAXDEVICES 2003-04-12 15:10:06 +02:00
Klaus Schmidinger
00166dac5f If no device with an MPEG decoder can be found at startup, the first device is now used as primary device 2003-04-12 12:20:07 +02:00
Klaus Schmidinger
c52b219131 Added some missing cAudio handling calls 2003-03-30 12:42:23 +02:00
Klaus Schmidinger
f79a442f44 Modified LOF handling to allow for C-band reception 2003-03-30 11:44:40 +02:00
Klaus Schmidinger
be06e04d55 CAM access only for CA channels and no longer during replay 2003-03-23 15:20:00 +01:00
Klaus Schmidinger
16ce936996 Speeded up initial CAM connection after channel change 2003-02-16 15:10:39 +01:00
Klaus Schmidinger
9c04942eaa Broken CAM connections are now restored automatically 2003-02-16 11:20:55 +01:00
Klaus Schmidinger
a6a25e48bf Turning SI filtering off and on when switching channels 2003-02-09 12:43:39 +01:00
Klaus Schmidinger
777f330c77 Improved CAM support 2003-02-09 11:54:22 +01:00
Klaus Schmidinger
b7777e230c Improved CAM handling 2003-02-02 15:49:52 +01:00
Klaus Schmidinger
4e15f6d658 Implemented 'Link Layer' based CAM support 2003-01-06 14:44:27 +01:00
Klaus Schmidinger
f3fdca49b9 No longer stopping/restarting the DMX when switching audio channels 2002-12-14 10:59:34 +01:00
Klaus Schmidinger
f784d52a39 Fixed recording overlapping timers on the same channel 2002-12-13 15:35:00 +01:00
Klaus Schmidinger
b9422baff2 The actual tuning is now done in a separate thread 2002-12-08 09:55:26 +01:00
Klaus Schmidinger
f8950822dd Fixed disabling multiple recordings on a single DVB card 2002-11-16 12:36:50 +01:00
Klaus Schmidinger
2f49224c9c Fixed closing unused PID handles 2002-11-15 14:04:11 +01:00
Klaus Schmidinger
9fee2b67ab First step towards a 'unique channel ID' 2002-11-10 15:50:21 +01:00
Klaus Schmidinger
35a69ee743 Now checking the driver's DVB_API_VERSION 2002-11-03 12:31:51 +01:00
Klaus Schmidinger
0a517afdf8 Implemented audio plugin interface 2002-11-03 11:53:58 +01:00
Klaus Schmidinger
413c2446be Fixed handling audio tracks in cDvbDevice 2002-11-01 11:26:28 +01:00
Klaus Schmidinger
0598e41418 Completely switched to the HEAD driver version 2002-11-01 10:26:45 +01:00
Klaus Schmidinger
41320eca4d Fixed blocking replaying in case an encrypted channel is being recorded on the primary device 2002-10-26 11:51:37 +02:00
Klaus Schmidinger
ffb6153326 Fixed switching audio tracks in 'Transfer Mode' on the primary DVB device (cont'd) 2002-10-26 11:11:42 +02:00
Klaus Schmidinger
2f89413ca4 Fixed handling 'Transfer Mode' on single device systems when recording an encrypted channel 2002-10-26 11:08:12 +02:00
Klaus Schmidinger
a51f4e83f0 Fixed switching audio tracks in 'Transfer Mode' on the primary DVB device 2002-10-26 10:12:34 +02:00
Klaus Schmidinger
bff56bb850 Frequency for DVB-C and DVB-T is now in MHz, kHz or Hz 2002-10-20 14:15:40 +02:00
Klaus Schmidinger
5e9d7e3c93 Fixed a small glitch when switching channels 2002-10-19 10:17:11 +02: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
6439d37806 Adapted type names to the new HEAD version of the driver 2002-10-11 13:23:44 +02:00
Klaus Schmidinger
962596f4ab Modified channel handling; full DiSEqC support 2002-10-06 10:25:42 +02:00
Klaus Schmidinger
2c8aa42043 Avoiding restarts due to 'panic level' when switching channels on the primary device during EPG scan 2002-09-29 13:57:10 +02:00
Klaus Schmidinger
fc66860847 Made remote controls plugin aware 2002-09-29 13:40:45 +02:00
Klaus Schmidinger
441258c7ea Fixed opening /dev/video in cDvbDevice::GrabImage() in case of NEWSTRUCT driver 2002-09-15 13:14:42 +02:00
Klaus Schmidinger
327c2a7dd2 Fixed attaching a Transfer Mode to a recording on a non-primary card Ca channel 2002-09-15 11:24:18 +02:00
Klaus Schmidinger
6ef11b70be Starting Transfer Mode when recording current channel 2002-09-15 10:51:44 +02:00
Klaus Schmidinger
fd3cc6f997 Fixed clearing PIDs 2002-09-14 13:26:16 +02:00
Klaus Schmidinger
d9bf48ec5a Fixed setting PIDs for CA channels 2002-09-14 12:14:38 +02:00
Klaus Schmidinger
db20f08a58 Fixed starting a recording of the current channel with only one DVB card 2002-09-14 11:51:51 +02:00