build: add gstreamer-pbutils dependency
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Fri, 29 Jan 2016 11:11:17 +0000 (12:11 +0100)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Mon, 1 Feb 2016 11:21:57 +0000 (12:21 +0100)
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>
configure.ac
gst/vaapi/Makefile.am

index 9dcc4d2..8863d1a 100644 (file)
@@ -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],
index 5732a2f..21eef47 100644 (file)
@@ -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) \