Commit 895ff51a authored by Pavlov Konstantin's avatar Pavlov Konstantin

We can build ffmpeg and stream_out_switcher as plugins when found by pkg-config.

Can we?
parent 9ab29013
...@@ -2739,9 +2739,9 @@ dnl Trying with pkg-config ...@@ -2739,9 +2739,9 @@ dnl Trying with pkg-config
AC_CHECK_HEADERS(ffmpeg/avformat.h) AC_CHECK_HEADERS(ffmpeg/avformat.h)
AC_CHECK_HEADERS(ffmpeg/avutil.h) AC_CHECK_HEADERS(ffmpeg/avutil.h)
AC_CHECK_HEADERS(postproc/postprocess.h) AC_CHECK_HEADERS(postproc/postprocess.h)
VLC_ADD_BUILTINS([ffmpeg]) VLC_ADD_PLUGINS([ffmpeg])
if test "${enable_sout}" != "no"; then if test "${enable_sout}" != "no"; then
VLC_ADD_BUILTINS([stream_out_switcher]) VLC_ADD_PLUGINS([stream_out_switcher])
fi fi
VLC_ADD_CFLAGS([ffmpeg stream_out_switcher],[${FFMPEG_CFLAGS}]) VLC_ADD_CFLAGS([ffmpeg stream_out_switcher],[${FFMPEG_CFLAGS}])
VLC_ADD_LDFLAGS([ffmpeg],[${FFMPEG_LIBS}]) VLC_ADD_LDFLAGS([ffmpeg],[${FFMPEG_LIBS}])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment