mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-28 23:09:59 +02:00
Fix detection of libswscale. It depends on libavutil.
This commit is contained in:
parent
c13d263796
commit
37f1466567
@ -3086,8 +3086,9 @@ dnl Trying with pkg-config
|
||||
fi
|
||||
VLC_ADD_CFLAGS([ffmpeg stream_out_switcher],[${FFMPEG_CFLAGS}])
|
||||
VLC_ADD_LIBS([ffmpeg stream_out_switcher],[${FFMPEG_LIBS}])
|
||||
|
||||
dnl even newer ffmpeg has a libswscale
|
||||
PKG_CHECK_MODULES(SWSCALE, libswscale,[
|
||||
PKG_CHECK_MODULES(SWSCALE, libavutil, libswscale,[
|
||||
VLC_ADD_CFLAGS([ffmpeg],[${SWSCALE_CFLAGS}])
|
||||
VLC_ADD_LIBS([ffmpeg],[${SWSCALE_LIBS}])
|
||||
AC_CHECK_LIB(swscale, sws_getContext,
|
||||
|
Loading…
Reference in New Issue
Block a user