mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 22:00:05 +00:00 
			
		
		
		
	CMake: separate options for FFmpeg decoder/dumper
Separate options are now provided for FFmpeg AAC audio decoder and FFmpeg video dumper. This allows users to configure Citra with greater freedom. Also, previously for Linux builds, AAC decoder is accidentally enabled along with the dumper, which could potentially cause patent issues (?). This commit fixes it by only enabling video dumper.
This commit is contained in:
		
							parent
							
								
									1cf75e55c2
								
							
						
					
					
						commit
						f8b3950829
					
				
					 10 changed files with 18 additions and 15 deletions
				
			
		|  | @ -446,7 +446,7 @@ add_library(core STATIC | |||
|     tracer/recorder.h | ||||
| ) | ||||
| 
 | ||||
| if (ENABLE_FFMPEG) | ||||
| if (ENABLE_FFMPEG_VIDEO_DUMPER) | ||||
|     target_sources(core PRIVATE | ||||
|         dumping/ffmpeg_backend.cpp | ||||
|         dumping/ffmpeg_backend.h | ||||
|  |  | |||
|  | @ -17,7 +17,7 @@ | |||
| #include "core/core.h" | ||||
| #include "core/core_timing.h" | ||||
| #include "core/dumping/backend.h" | ||||
| #ifdef ENABLE_FFMPEG | ||||
| #ifdef ENABLE_FFMPEG_VIDEO_DUMPER | ||||
| #include "core/dumping/ffmpeg_backend.h" | ||||
| #endif | ||||
| #include "core/gdbstub/gdbstub.h" | ||||
|  | @ -231,7 +231,7 @@ System::ResultStatus System::Init(Frontend::EmuWindow& emu_window, u32 system_mo | |||
|         return result; | ||||
|     } | ||||
| 
 | ||||
| #ifdef ENABLE_FFMPEG | ||||
| #ifdef ENABLE_FFMPEG_VIDEO_DUMPER | ||||
|     video_dumper = std::make_unique<VideoDumper::FFmpegBackend>(); | ||||
| #else | ||||
|     video_dumper = std::make_unique<VideoDumper::NullBackend>(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue