Link Windows Media Foundation libs with ffmpeg.
Link some Media Foundation libs required by newer versions of FFmpeg on Windows. Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
parent
a078dd2487
commit
e1fd75629f
|
@ -943,9 +943,11 @@ target_link_libraries(
|
||||||
${VBAM_LIBS}
|
${VBAM_LIBS}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(WIN32_MEDIA_FOUNDATION_LIBS dxva2 evr mf mfplat mfplay mfreadwrite mfuuid amstrmid)
|
||||||
|
|
||||||
if(ENABLE_FFMPEG)
|
if(ENABLE_FFMPEG)
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
list(APPEND FFMPEG_LIBRARIES secur32 bcrypt)
|
list(APPEND FFMPEG_LIBRARIES secur32 bcrypt ${WIN32_MEDIA_FOUNDATION_LIBS})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
|
|
Loading…
Reference in New Issue