[totem] build: Check for scaletempo in gst-plugins-good not gst-plugins-bad



commit 835e9ccf5e02f294ebf05e459e4ddcc95c497f26
Author: Philip Withnall <philip tecnocode co uk>
Date:   Tue Dec 25 10:08:36 2012 +0000

    build: Check for scaletempo in gst-plugins-good not gst-plugins-bad
    
    Itâs recently been moved from -bad to -good. This only affects the error
    message if the plugin isnât found.
    
    See: https://bugzilla.gnome.org/show_bug.cgi?id=687262

 configure.ac |   20 ++------------------
 1 files changed, 2 insertions(+), 18 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 776f679..d198037 100644
--- a/configure.ac
+++ b/configure.ac
@@ -171,8 +171,8 @@ done
 
 dnl Check for elements from gst-plugins-good
 dnl Set plugins which contain below elements
-set -- autodetect goom
-for good_element in autoaudiosink goom
+set -- autodetect goom scaletempo
+for good_element in autoaudiosink goom scaletempo
 do
 	AC_MSG_CHECKING([GStreamer 1.0 $good_element element])
 	if $gst10_inspect $good_element >/dev/null 2>/dev/null; then
@@ -191,22 +191,6 @@ dnl Check for elements from gst-plugins-bad
 dnl Set plugins which contain below elements
 PKG_CHECK_MODULES(GST_PLUGINS_BAD, gstreamer-plugins-bad-1.0 >= 1.0.2)
 
-set -- scaletempo
-for bad_element in scaletempo
-do
-	AC_MSG_CHECKING([GStreamer 1.0 $bad_element element])
-	if $gst10_inspect $bad_element >/dev/null 2>/dev/null; then
-		AC_MSG_RESULT([yes])
-	else
-		AC_MSG_RESULT([no])
-		AC_MSG_ERROR([
-			Cannot find required GStreamer-1.0 plugin '$1'.
-			It should be part of gst-plugins-bad. Please install it.
-		])
-	fi
-	shift;
-done
-
 dnl Check the smclient backend
 AC_MSG_CHECKING([which smclient backend to use])
 AC_ARG_WITH([smclient],



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]