mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Version 1.3.26
- Updated the Estonian OSD texts (thanks to Arthur Konovalov). - Updated the Finnish OSD texts (thanks to Rolf Ahrenberg). - Fixed handling 'summary.vdr' files with more than two empty lines (thanks to Christian Jacobsen for reporting this one). - Improved resetting CAM connections (thanks to Marco Schlüßler). - Implemented cVideoRepacker in remux.c to make sure every PES packet contains only data from one frame (thanks to Reinhard Nissl). NOTE: currently this doesn't work with MPEG1, so if you use MPEG1 you may want to change line 1158 in remux.c to ts2pes[numTracks++] = new cTS2PES(VPid, resultBuffer, IPACKS); as it was before. - EPG events without a title now display "No title" instead of "(null)" (thanks to Rolf Ahrenberg). - A device can now detach all receivers for a given PID, as is necessary, e.g., for the bitstreamout plugin (thanks to Werner Fink). - Added the year (two digits) to recording dates in LSTR, and thus also in menus (suggested by Jan Ekholm). - Fixed the call to Channels.Unlock() in cEITScanner::Process() (thanks to Reinhard Nissl). - Fixed handling timers with a day given as MTWTF--@6, i.e. a repeating timer with first day not as full date, but just day of month (thanks to Henrik Niehaus for reporting this one). - Removed an unnecessary #include from osd.c (thanks to Wolfgang Rohdewald). - Fixed dropping EPG events that have a zero start time or duration, in case it's an NVOD event (thanks to Chris Warren). - Fixed handling page up/down in menu lists in case there are several non selectable items in a row (thanks to Udo Richter for reporting this one). - Added cOsdMenu::SetCols() to allow adjusting the menu columns. - 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.
This commit is contained in:
		
							
								
								
									
										11
									
								
								dvbdevice.c
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								dvbdevice.c
									
									
									
									
									
								
							@@ -4,7 +4,7 @@
 | 
			
		||||
 * See the main source file 'vdr.c' for copyright information and
 | 
			
		||||
 * how to reach the author.
 | 
			
		||||
 *
 | 
			
		||||
 * $Id: dvbdevice.c 1.129 2005/05/16 15:23:43 kls Exp $
 | 
			
		||||
 * $Id: dvbdevice.c 1.130 2005/06/05 13:05:55 kls Exp $
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include "dvbdevice.h"
 | 
			
		||||
@@ -654,8 +654,10 @@ bool cDvbDevice::SetPid(cPidHandle *Handle, int Type, bool On)
 | 
			
		||||
     if (On) {
 | 
			
		||||
        if (Handle->handle < 0) {
 | 
			
		||||
           Handle->handle = DvbOpen(DEV_DVB_DEMUX, CardIndex(), O_RDWR | O_NONBLOCK, true);
 | 
			
		||||
           if (Handle->handle < 0)
 | 
			
		||||
           if (Handle->handle < 0) {
 | 
			
		||||
              LOG_ERROR;
 | 
			
		||||
              return false;
 | 
			
		||||
              }
 | 
			
		||||
           }
 | 
			
		||||
        pesFilterParams.pid     = Handle->pid;
 | 
			
		||||
        pesFilterParams.input   = DMX_IN_FRONTEND;
 | 
			
		||||
@@ -722,6 +724,10 @@ void cDvbDevice::TurnOffLiveMode(bool LiveView)
 | 
			
		||||
 | 
			
		||||
  // Turn off live PIDs:
 | 
			
		||||
 | 
			
		||||
  DetachAll(pidHandles[ptAudio].pid);
 | 
			
		||||
  DetachAll(pidHandles[ptVideo].pid);
 | 
			
		||||
  DetachAll(pidHandles[ptPcr].pid);
 | 
			
		||||
  DetachAll(pidHandles[ptTeletext].pid);
 | 
			
		||||
  DelPid(pidHandles[ptAudio].pid);
 | 
			
		||||
  DelPid(pidHandles[ptVideo].pid);
 | 
			
		||||
  DelPid(pidHandles[ptPcr].pid, ptPcr);
 | 
			
		||||
@@ -891,6 +897,7 @@ void cDvbDevice::SetAudioTrackDevice(eTrackType Type)
 | 
			
		||||
  if (TrackId && TrackId->id) {
 | 
			
		||||
     if (IS_AUDIO_TRACK(Type)) {
 | 
			
		||||
        if (pidHandles[ptAudio].pid && pidHandles[ptAudio].pid != TrackId->id) {
 | 
			
		||||
           DetachAll(pidHandles[ptAudio].pid);
 | 
			
		||||
           pidHandles[ptAudio].pid = TrackId->id;
 | 
			
		||||
           SetPid(&pidHandles[ptAudio], ptAudio, true);
 | 
			
		||||
           }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user