summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2016-01-29 12:11:17 +0100
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2016-02-01 12:21:57 +0100
commit3c6eb032fa682aa7d4f2579e0765b9f196e64c6e (patch)
treedeb70738667996c83b2c77de64ef55dc2f6dd692
parent1ca14030c45f475e0a637d3c39c5676834f2d506 (diff)
downloadgst-vaapi-3c6eb032fa682aa7d4f2579e0765b9f196e64c6e.tar.gz
build: add gstreamer-pbutils dependency
This dependency was added in gstvaapidecodebin with the call gst_missing_element_message_new(). Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
-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) \