diff options
| author | 2021-08-07 01:02:51 -0400 | |
|---|---|---|
| committer | 2021-08-16 14:40:52 -0400 | |
| commit | 92bc51b66ab687072488b3ff33a2a090290da49e (patch) | |
| tree | 805e7fc4a62f72572c02d8943118f688b529365b /src | |
| parent | codec: Replace deprecated av_init_packet usage (diff) | |
| download | yuzu-92bc51b66ab687072488b3ff33a2a090290da49e.tar.gz yuzu-92bc51b66ab687072488b3ff33a2a090290da49e.tar.xz yuzu-92bc51b66ab687072488b3ff33a2a090290da49e.zip | |
cmake: Add VDPAU and NVDEC support to FFmpeg
Adds {h264_,vp9_}{nvdec,vdpau} hwaccels.
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt index 2f6cdd216..269db21a5 100644 --- a/src/video_core/CMakeLists.txt +++ b/src/video_core/CMakeLists.txt | |||
| @@ -231,6 +231,7 @@ endif() | |||
| 231 | 231 | ||
| 232 | target_include_directories(video_core PRIVATE ${FFmpeg_INCLUDE_DIR}) | 232 | target_include_directories(video_core PRIVATE ${FFmpeg_INCLUDE_DIR}) |
| 233 | target_link_libraries(video_core PRIVATE ${FFmpeg_LIBRARIES}) | 233 | target_link_libraries(video_core PRIVATE ${FFmpeg_LIBRARIES}) |
| 234 | target_link_options(video_core PRIVATE ${FFmpeg_LDFLAGS}) | ||
| 234 | 235 | ||
| 235 | add_dependencies(video_core host_shaders) | 236 | add_dependencies(video_core host_shaders) |
| 236 | target_include_directories(video_core PRIVATE ${HOST_SHADERS_INCLUDE}) | 237 | target_include_directories(video_core PRIVATE ${HOST_SHADERS_INCLUDE}) |