maybe fix a thing
This commit is contained in:
		| @ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|     "name": "peertube-plugin-nctv-nvenc-transcode", |     "name": "peertube-plugin-nctv-nvenc-transcode", | ||||||
|     "version": "1.0.0", |     "version": "1.0.1", | ||||||
|     "license": "MIT", |     "license": "MIT", | ||||||
|     "description": "Plugin that adds transcode profiles which use NVIDIA NVENC for hardware acceleration", |     "description": "Plugin that adds transcode profiles which use NVIDIA NVENC for hardware acceleration", | ||||||
|     "engine": { |     "engine": { | ||||||
|  | |||||||
							
								
								
									
										12
									
								
								src/main.ts
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								src/main.ts
									
									
									
									
									
								
							| @ -175,12 +175,14 @@ function printResolution(resolution : VideoResolution) : string { | |||||||
| function buildInitOptions() { | function buildInitOptions() { | ||||||
|     if (pluginSettings.hardwareDecode) { |     if (pluginSettings.hardwareDecode) { | ||||||
|         return [ |         return [ | ||||||
|             '-vcodec h264_nvenc' |             '-hwaccel cuda', | ||||||
|         ] |             '-hwaccel_output_format cuda' | ||||||
|     } else { |         ]; | ||||||
|  |     } | ||||||
|  |     else { | ||||||
|         return [ |         return [ | ||||||
|             '-vcodec h264_nvenc' |             '-hwaccel cuda' | ||||||
|         ] |         ]; | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user