mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Fixed handling Transfer Mode for radio channels
This commit is contained in:
		| @@ -1044,6 +1044,7 @@ Andreas Regel <andreas.regel@gmx.de> | ||||
|  video directory is empty | ||||
|  for pointing out a missing call to cStatus::MsgOsdtatusMessage(NULL) in | ||||
|  cSkins::Message() | ||||
|  for reporting a problem in handling Transfer Mode for radio channels | ||||
|  | ||||
| Thomas Bergwinkl <Thomas.Bergwinkl@t-online.de> | ||||
|  for fixing the validity check for channel IDs, because some providers use TIDs | ||||
|   | ||||
							
								
								
									
										2
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								HISTORY
									
									
									
									
									
								
							| @@ -3382,3 +3382,5 @@ Video Disk Recorder Revision History | ||||
|   permanently returns 0 (thanks to Reinhard Nissl and Olaf Titz). | ||||
| - Completed the Finnish OSD texts (thanks to Rolf Ahrenberg). | ||||
| - Restricted the "setting audio track" log message to automatic changes during replay. | ||||
| - Fixed handling Transfer Mode for radio channels (thanks to Andreas Regel for | ||||
|   reporting this one). | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * See the main source file 'vdr.c' for copyright information and | ||||
|  * how to reach the author. | ||||
|  * | ||||
|  * $Id: dvbdevice.c 1.118 2005/02/08 11:20:30 kls Exp $ | ||||
|  * $Id: dvbdevice.c 1.119 2005/02/08 14:07:16 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #include "dvbdevice.h" | ||||
| @@ -768,8 +768,8 @@ bool cDvbDevice::SetChannelDevice(const cChannel *Channel, bool LiveView) | ||||
|                             ); | ||||
|  | ||||
|   bool StartTransferMode = IsPrimaryDevice() && !IsEncrypted && !DoTune | ||||
|                            && (LiveView && HasPid(Channel->Vpid()) && pidHandles[ptVideo].pid != Channel->Vpid() // the PID is already set as DMX_PES_OTHER | ||||
|                               || !LiveView && pidHandles[ptVideo].pid == Channel->Vpid() // a recording is going to shift the PIDs from DMX_PES_AUDIO/VIDEO to DMX_PES_OTHER | ||||
|                            && (LiveView && HasPid(Channel->Vpid() ? Channel->Vpid() : Channel->Apid(0)) && (pidHandles[ptVideo].pid != Channel->Vpid() || pidHandles[ptAudio].pid != Channel->Apid(0))// the PID is already set as DMX_PES_OTHER | ||||
|                               || !LiveView && (pidHandles[ptVideo].pid == Channel->Vpid() || pidHandles[ptAudio].pid == Channel->Apid(0)) // a recording is going to shift the PIDs from DMX_PES_AUDIO/VIDEO to DMX_PES_OTHER | ||||
|                               ); | ||||
|  | ||||
|   bool TurnOnLivePIDs = HasDecoder() && !StartTransferMode | ||||
|   | ||||
		Reference in New Issue
	
	Block a user