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

281 Commits

Author SHA1 Message Date
Klaus Schmidinger
60c5248a36 Removed the '#define FE_CAN_2ND_GEN_MODULATION' 2009-01-06 16:56:27 +01:00
Klaus Schmidinger
d1ea5ca06d cDvbDevice now uses the FE_CAN_2G_MODULATION flag 2009-01-06 14:52:54 +01:00
Klaus Schmidinger
7de7ede26f The recording format is now Transport Stream 2009-01-06 14:41:11 +01:00
Klaus Schmidinger
7470253c60 Added a poll to cDvbDevice::PlayVideo() and cDvbDevice::PlayAudio() to avoid excessive CPU load 2008-12-28 11:03:00 +01:00
Klaus Schmidinger
7b2085b575 Changed cDvbDevice::GrabImage() to use V4L2 2008-12-22 10:26:16 +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
3c7d1a16ac Switched to the new S2API driver API; cDvbTuner::IsTunedTo()now also checks the symbol rate in case of DVB-S and DVB-C 2008-12-13 12:22:36 +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
17354c3cf5 Adapted the tuning code to the new DVBFE_SET_DELSYS API 2008-04-19 09:23:59 +02:00
Klaus Schmidinger
4ea6edc5a8 Fixed formatting 2008-04-13 13:31:00 +02:00
Klaus Schmidinger
e59c6ac433 Re-implemented handling of DVB-S2 2008-04-12 13:39:12 +02: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
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
67df515c06 Added cDevice::CloseFilter(); some fixes to PLUGINS.html 2007-10-14 13:11:23 +02:00
Klaus Schmidinger
a20bd2a42f Only creating a new cDvbOsdProvider in cDvbDevice::MakePrimaryDevice() if 'On' is true 2007-10-13 11:17:56 +02:00
Klaus Schmidinger
1f3dbe585b Some optimizations in cDvbDevice::SetChannelDevice() 2007-08-17 13:41:06 +02:00
Klaus Schmidinger
1a4456d981 Simplified the error handling in cDvbTuner::GetFrontendStatus() 2007-02-25 11:52:09 +01:00
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