summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
-rw-r--r--gst/vaapi/Makefile.am4
2 files changed, 7 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9dcc4d2a..8863d1af 100644
--- a/configure.ac
+++ b/configure.ac
@@ -255,6 +255,10 @@ dnl ... GstVideoOverlayComposition (gstreamer-video)
PKG_CHECK_MODULES([GST_VIDEO],
[gstreamer-video-$GST_PKG_VERSION >= $GST_PLUGINS_BASE_VERSION_REQUIRED])
+dnl ... GStreamer base utils (gstreamer-pbutils)
+PKG_CHECK_MODULES([GST_PBUTILS],
+ [gstreamer-pbutils-$GST_PKG_VERSION >= $GST_PLUGINS_BASE_VERSION_REQUIRED])
+
dnl GStreamer -bad plugins (deprecated in GStreamer v1.2)
if test "$USE_GST_API_1_2p" != "yes" && test "$USE_GST_API_1_4p" != "yes"; then
PKG_CHECK_MODULES([GST_BASEVIDEO],
diff --git a/gst/vaapi/Makefile.am b/gst/vaapi/Makefile.am
index 5732a2f1..21eef47a 100644
--- a/gst/vaapi/Makefile.am
+++ b/gst/vaapi/Makefile.am
@@ -119,6 +119,7 @@ libgstvaapi_la_CFLAGS = \
$(GST_CFLAGS) \
$(GST_BASE_CFLAGS) \
$(GST_VIDEO_CFLAGS) \
+ $(GST_PBUTILS_CFLAGS) \
$(GST_INTERFACES_CFLAGS) \
$(GST_BASEVIDEO_CFLAGS) \
$(GST_PLUGINS_BASE_CFLAGS) \
@@ -128,7 +129,8 @@ libgstvaapi_la_LIBADD = \
$(libgstvaapi_LIBS) \
$(GST_LIBS) \
$(GST_BASE_LIBS) \
- $(GST_VIDEO_LIBS) -lgstpbutils-$(GST_PKG_VERSION) \
+ $(GST_VIDEO_LIBS) \
+ $(GST_PBUTILS_LIBS) \
$(GST_INTERFACES_LIBS) \
$(GST_BASEVIDEO_LIBS) \
$(GST_PLUGINS_BASE_LIBS) \