cmake: Add VDPAU and NVDEC support to FFmpeg

Adds {h264_,vp9_}{nvdec,vdpau} hwaccels.
This commit is contained in:
lat9nq 2021-08-07 01:02:51 -04:00 committed by ameerj
parent 356e10898f
commit 92bc51b66a
2 changed files with 74 additions and 7 deletions

View file

@ -231,6 +231,7 @@ endif()
target_include_directories(video_core PRIVATE ${FFmpeg_INCLUDE_DIR})
target_link_libraries(video_core PRIVATE ${FFmpeg_LIBRARIES})
target_link_options(video_core PRIVATE ${FFmpeg_LDFLAGS})
add_dependencies(video_core host_shaders)
target_include_directories(video_core PRIVATE ${HOST_SHADERS_INCLUDE})