Commit 777d0a40 authored by Rafaël Carré's avatar Rafaël Carré

vaapi: fix build

link with libavcodec
parent 30cfbde3
...@@ -125,9 +125,9 @@ EXTRA_LTLIBRARIES += \ ...@@ -125,9 +125,9 @@ EXTRA_LTLIBRARIES += \
libvaapi_plugin_la_SOURCES = \ libvaapi_plugin_la_SOURCES = \
avcodec/copy.c avcodec/copy.h \ avcodec/copy.c avcodec/copy.h \
avcodec/vaapi.c avcodec/vaapi.c
libvaapi_plugin_la_CFLAGS = $(AM_CFLAGS) $(LIBVA_CFLAGS) $(X_CFLAGS) libvaapi_plugin_la_CFLAGS = $(AM_CFLAGS) $(LIBVA_CFLAGS) $(X_CFLAGS) $(CFLAGS_avcodec)
libvaapi_plugin_la_LIBADD = $(AM_LIBADD) $(LIBVA_LIBS) \ libvaapi_plugin_la_LIBADD = $(AM_LIBADD) $(LIBVA_LIBS) \
$(X_LIBS) $(X_PRE_LIBS) -lX11 $(X_LIBS) $(X_PRE_LIBS) -lX11 $(LIBS_avcodec)
if HAVE_AVCODEC_VAAPI if HAVE_AVCODEC_VAAPI
libvlc_LTLIBRARIES += libvaapi_plugin.la libvlc_LTLIBRARIES += libvaapi_plugin.la
endif endif
......
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