mirror of
				https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
				synced 2023-10-10 17:16:51 +00:00 
			
		
		
		
	Add workaround for zero width+height and ffmpeg >= 1.2.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | ||||
| User johns | ||||
| Date: | ||||
|  | ||||
|     Add workaround for zero width+height and ffmpeg >= 1.2. | ||||
|  | ||||
| User johns | ||||
| Date: Sun Mar 17 15:52:42 CET 2013 | ||||
|  | ||||
|   | ||||
							
								
								
									
										1
									
								
								Todo
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								Todo
									
									
									
									
									
								
							| @@ -45,6 +45,7 @@ vdpau: | ||||
|     software deinterlace path not working. | ||||
|     OSD looses transparency, during channel switch. | ||||
|     OSD looses transparency, while moving cut marks. | ||||
|     ffmpeg >=1.2 supports same API like VA-API. | ||||
|  | ||||
| libva: | ||||
|     yaepghd (VaapiSetOutputPosition) support | ||||
|   | ||||
							
								
								
									
										3
									
								
								video.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								video.c
									
									
									
									
									
								
							| @@ -152,11 +152,12 @@ typedef enum | ||||
| #include <libavcodec/vaapi.h> | ||||
| #include <libavutil/pixdesc.h> | ||||
|  | ||||
| #if LIBAVCODEC_VERSION_INT == AV_VERSION_INT(54,86,100) | ||||
| #if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(54,86,100) | ||||
|     /// | ||||
|     /// ffmpeg version 1.1.1 calls get_format with zero width and height | ||||
|     /// for H264 codecs. | ||||
|     /// since version 1.1.3 get_format is called twice. | ||||
|     /// ffmpeg 1.2 still buggy | ||||
|     /// | ||||
| #define FFMPEG_BUG1_WORKAROUND		///< get_format bug workaround | ||||
| #endif | ||||
|   | ||||
		Reference in New Issue
	
	Block a user