mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Fixed handling transparent areas in cDvbSpuBitmap
This commit is contained in:
		| @@ -1160,6 +1160,7 @@ Marco Schl | ||||
|  for increasing POLLTIMEOUTS_BEFORE_DEVICECLEAR in transfer.c to 6 to avoid problems | ||||
|  with the larger buffer reserve | ||||
|  for adding support for setting the video display mode | ||||
|  for fixing handling transparent areas in cDvbSpuBitmap | ||||
|  | ||||
| J<EFBFBD>rgen Schmitz <j.schmitz@web.de> | ||||
|  for reporting a bug in displaying the current channel when switching via the SVDRP | ||||
|   | ||||
							
								
								
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							| @@ -3484,3 +3484,4 @@ Video Disk Recorder Revision History | ||||
| - Added missing text internationalization for "Starting EPG scan" (thanks to | ||||
|   Matthias L<>tzke). | ||||
| - Updated the Finnish OSD texts (thanks to Rolf Ahrenberg). | ||||
| - Fixed handling transparent areas in cDvbSpuBitmap (thanks to Marco Schl<68><6C>ler). | ||||
|   | ||||
							
								
								
									
										4
									
								
								dvbspu.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								dvbspu.c
									
									
									
									
									
								
							| @@ -8,7 +8,7 @@ | ||||
|  * | ||||
|  * parts of this file are derived from the OMS program. | ||||
|  * | ||||
|  * $Id: dvbspu.c 1.12 2005/02/06 09:54:51 kls Exp $ | ||||
|  * $Id: dvbspu.c 1.13 2005/05/05 13:19:03 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #include <assert.h> | ||||
| @@ -143,6 +143,8 @@ bool cDvbSpuBitmap::getMinSize(const aDvbSpuPalDescr paldescr, | ||||
|     if (ret) | ||||
|         DEBUG("MinSize: (%d, %d) x (%d, %d)\n", | ||||
|               size.x1, size.y1, size.x2, size.y2); | ||||
|     if (size.x1 > size.x2 || size.y1 > size.y2) | ||||
|        return false; | ||||
|  | ||||
|     return ret; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user