Commit 1e58b9d2 authored by Sebastian Pölsterl's avatar Sebastian Pölsterl

Check for rtpmp2tpay element which is part of gst-plugins-good

parent 535ee957
......@@ -65,6 +65,7 @@ AG_GST_CHECK_GST_INSPECT
AG_GST_CHECK_MODULE_BAD([mpegtsparse])
AG_GST_CHECK_MODULE_BAD([dvbbasebin])
AG_GST_CHECK_MODULE_BAD([dvbsrc])
AG_GST_CHECK_MODULE_GOOD([rtpmp2tpay])
dnl ****************
dnl * Totem plugin
......
......@@ -39,3 +39,19 @@ It should be part of gst-plugins-bad. Please install it.
])
fi
])
AC_DEFUN([AG_GST_CHECK_MODULE_GOOD],
[
base_element="[$1]"
AC_MSG_CHECKING([GStreamer 0.10 $base_element plugin])
if $GST_INSPECT $base_element >/dev/null 2>/dev/null; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
AC_MSG_ERROR([
Cannot find required GStreamer-0.10 plugin '$base_element'.
It should be part of gst-plugins-good. Please install it.
])
fi
])
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