mirror of
				https://github.com/jojo61/vdr-plugin-softhdcuvid.git
				synced 2025-03-01 10:39:28 +00:00 
			
		
		
		
	Fix for ffmpeg 4.4 by inj
This commit is contained in:
		
							
								
								
									
										6
									
								
								video.c
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								video.c
									
									
									
									
									
								
							| @@ -139,7 +139,7 @@ typedef enum { | ||||
| #include <GL/freeglut_ext.h> | ||||
| // clang-format on | ||||
| #endif | ||||
|  | ||||
| #include <libavcodec/avcodec.h> | ||||
| #include <libavutil/hwcontext.h> | ||||
| #include <libavutil/mastering_display_metadata.h> | ||||
| #include <libavutil/pixdesc.h> | ||||
| @@ -155,8 +155,9 @@ typedef enum { | ||||
| #endif | ||||
|  | ||||
| #ifdef VAAPI | ||||
|  | ||||
| #if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(57,74,100) | ||||
| #include <libavcodec/vaapi.h> | ||||
| #endif | ||||
| #include <libdrm/drm_fourcc.h> | ||||
| #include <va/va_drmcommon.h> | ||||
| #ifdef RASPI | ||||
| @@ -196,7 +197,6 @@ typedef void *EGLImageKHR; | ||||
| #include <libplacebo/renderer.h> | ||||
| #endif | ||||
|  | ||||
| #include <libavcodec/avcodec.h> | ||||
| #include <libswscale/swscale.h> | ||||
|  | ||||
| #if defined(YADIF) || defined(VAAPI) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user